Bug 1378086 - "Property StackAction not assigned" when deploying from the UI
Summary: "Property StackAction not assigned" when deploying from the UI
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director-ui
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: 10.0 (Newton)
Assignee: Jason E. Rist
QA Contact: Ola Pavlenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-21 13:00 UTC by Udi Kalifon
Modified: 2016-10-05 15:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-05 15:59:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Udi Kalifon 2016-09-21 13:00:34 UTC
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

Comment 2 Jason E. Rist 2016-10-05 15:59:19 UTC
This is using the old API and is not relevant to 10.


Note You need to log in before you can comment on or make changes to this bug.