deployment fails when using a stack name which isn't "overcloud"

Bug #1867370 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

Deployment fails because mistral is trying to get a file in a swift container whose name is "overcloud" even though I deployed with --stack control-plane

Initializing control-plane plan deployment
Creating control-plane Heat stack
The action raised an exception [action_ex_id=6359b091-ebc1-4e96-8c1c-94e044f34fdb, msg='Object
 PUT failed: https://192.168.24.2:13808/v1/AUTH_799f270206e64866bd0414b6e65a8ae4/overcloud/rol
es_data.yaml 404 Not Found [first 60 chars of response] b'<html><h1>Not Found</h1><p>The reso
urce could not be found.<'', action_cls='<class 'mistral.actions.action_factory.DeployStackAct
ion'>', attributes='{}', params='{'timeout': 240, 'container': 'control-plane', 'skip_deploy_i
dentifier': False}']

Mistral executor log shows:

2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor Traceback (most recent call last):
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor File "/usr/lib/python3.6/site-packages/mistral/executors/default_executor.py", line 132, in _do_run_action
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor result = action.run(action_ctx)
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor File "/usr/lib/python3.6/site-packages/tripleo_common/actions/deployment.py", line 199, in run
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor prune_services=True
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor File "/usr/lib/python3.6/site-packages/tripleo_common/utils/template.py", line 405, in process_templates
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor raise RuntimeError(six.text_type(err))
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor RuntimeError: Object PUT failed: https://192.168.24.2:13808/v1/AUTH_799f270206e64866bd0414b6e65a8ae4/overcloud/roles_data.yaml 404 Not Found [first 60 chars of response] b'<html><h1>Not Found</h1><p>The resource could not be found.<'
2020-03-13 15:07:49.270 6 ERROR mistral.executors.default_executor

Revision history for this message
John Fulton (jfulton-org) wrote :

I confirm this patch fixes it

https://review.opendev.org/#/c/712968/

Changed in tripleo:
status: Triaged → In Progress
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
Changed in tripleo:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → ussuri-3
Revision history for this message
John Fulton (jfulton-org) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.