Hide Forgot
Description of problem: The UI must set the StackAction property accordingly (CREATE, UPDATE...). Currently we have to add "StackAction: CREATE" to the default_properties section of the plans, but that will cause problems when scaling the cloud later. How reproducible: 100% Additional info: Traceback (most recent call last): File "/home/stack/rhci-tripleo-api/tripleo_api/api/utils.py", line 122, in wrapper return func(*args, **kwargs) File "/home/stack/rhci-tripleo-api/tripleo_api/api/v1.py", line 123, in api_plan_deploy deploy_manager.deploy(root_template, environment, files) File "/home/stack/rhci-tripleo-api/tripleo_api/deploy.py", line 116, in deploy return self.heatclient.stacks.create(**stack_args) File "/home/stack/rhci-tripleo-api/.tox/venv/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 172, in create data=kwargs, headers=headers) File "/home/stack/rhci-tripleo-api/.tox/venv/lib/python2.7/site-packages/heatclient/common/http.py", line 290, in post return self.client_request("POST", url, **kwargs) File "/home/stack/rhci-tripleo-api/.tox/venv/lib/python2.7/site-packages/heatclient/common/http.py", line 280, in client_request resp, body = self.json_request(method, url, **kwargs) File "/home/stack/rhci-tripleo-api/.tox/venv/lib/python2.7/site-packages/heatclient/common/http.py", line 269, in json_request resp = self._http_request(url, method, **kwargs) File "/home/stack/rhci-tripleo-api/.tox/venv/lib/python2.7/site-packages/heatclient/common/http.py", line 232, in _http_request raise exc.from_response(resp) HTTPBadRequest: ERROR: Property error: : resources.allNodesConfig.properties: : Property StackAction not assigned
This is using the old API and is not relevant to 10.