Plan isn't purged of roles_data on a new create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
High
|
Toure Dunnon |
Bug Description
When you create a stack which references a custom roles_data.yaml, you want that to be sticky when doing an update of the stack, but not when you've deleted the stack and are creating a new stack from scratch, e.g consider the following:
openstack overcloud deploy --templates -r my_roles_data.yaml
heat stack-delete overcloud
<wait for the stack to be deleted)
openstack overcloud deploy --templates
This second deploy will use the my_roles_data.yaml, which isn't very intuitive - we should detect that this is a clean deploy and completely delete/create the plan I think.
The workaround is to manually delete the plan, but I think we can optimize the workflow above by differentiating between a deploy (create) and deploy (update) command.
Changed in tripleo: | |
status: | New → Triaged |
milestone: | none → ocata-2 |
importance: | Undecided → Medium |
tags: | added: tripleoclient workflows |
Changed in tripleo: | |
milestone: | ocata-2 → ocata-3 |
Changed in tripleo: | |
milestone: | ocata-3 → pike-1 |
Changed in tripleo: | |
importance: | Medium → High |
tags: |
added: ocata-backport-potential tripleo-common removed: tripleoclient |
tags: | added: tripleoclient |
Changed in tripleo: | |
milestone: | pike-1 → ocata-rc1 |
Changed in tripleo: | |
assignee: | nobody → Dougal Matthews (d0ugal) |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → nobody |
Changed in tripleo: | |
assignee: | nobody → Dougal Matthews (d0ugal) |
Changed in tripleo: | |
assignee: | Dougal Matthews (d0ugal) → nobody |
Changed in tripleo: | |
milestone: | ocata-rc1 → ocata-rc2 |
Changed in tripleo: | |
milestone: | ocata-rc2 → pike-1 |
Changed in tripleo: | |
milestone: | pike-1 → pike-2 |
Changed in tripleo: | |
milestone: | pike-2 → pike-3 |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Changed in tripleo: | |
milestone: | pike-rc1 → pike-rc2 |
Changed in tripleo: | |
milestone: | pike-rc2 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
tags: | added: documentation |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
milestone: | rocky-1 → rocky-2 |
Changed in tripleo: | |
assignee: | nobody → Toure Dunnon (toure) |
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Actually the reverse is also true - unlike all the -e options which are "sticky", if you forget to pass -r roles_data.yaml to any update, we ignore it as we purge everything from the --templates location and upload the default roles_data.yaml again.
So I think we'll need to rethink how/where this data is saved (move it to the mistral environment?)