-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes in inputs produce an error if redeployed #248
Comments
Thanks @alexmaslenn, we will fix that ASAP. |
Lets not hurry. It is connected to #240 I think. Maybe some other connected issues will arise. |
Huh okay I'll hold my horses. We need to be careful and explore any additional issues, so please supply here or in separate issues (if not connected) when you find anything unusual with TOSCA inputs. |
Maybe this is irrelevant and my next point can be wrong, but... I guess that appropriate approach should be to use Somehow I think that it is OK, that it is failing - explaining you that you actually changed something after deploy, so you might be very careful with executing this command. |
@cankarm good point, But here (as @alexmaslenn described before) we are talking about redeploying with |
@cankarm I've tested
|
@alexmaslenn strange, this definitely needs to be fixed. |
Description
After a service template with inputs is deployed, a removing an input can cause an error.
Steps
Consider having the following simple service template
service.yaml
file with inputs section:with
inputs.yaml
file beingAfter we successfully execute the deployment with
opera deploy -i input.yaml service.yaml
we make the following changes in the files, removinginput2
:Current behaviour
Execution of the command
opera deploy -i input.yaml service.yaml -c
returns the following error:This happens because if
instances
directory is present in.opera
file storage, inputs are read from the storage, not from the file provided in-i
arg.Expected behaviour
No error is returned and deployment is successful.
The text was updated successfully, but these errors were encountered: