Closed john-kheir closed 6 years ago
This is not the way to update the values.
The update
or update_data
action with args should be called when you want to make sure those values will be set on ovc.
When you run install, it will check of the service is already running, if so, it will use the existing service and does not do any request to update the values on ovc. When the service is not running, it will create it using the provided parameters to set everything up properly.
Please check this documentation to understand how the update of value works from a blueprint: https://github.com/Jumpscale/0-robot/tree/master/docs/services#update-data-from-blueprint
Updating the data for a service should be done using the update
action.
Scenario
1- Run a blueprint to create an account, should succeed
2- Run the same blueprint again with changing maxMemoryCapacity to 9 and adding maxNumPublicIP param.
Actual Result
data.yaml file has been updated but this change hasn't been reflected on OVC