tripleoclient should use a generic queue name in the workflows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Wishlist
|
Toure Dunnon |
Bug Description
In the workflows calls behind a number of commands (openstack baremetal import, openstack baremetal introspection bulk start, and the coming soon; [1], [2], [3], [4]) a unique queue name is passed to the Mistral workflows. This queue is then used for the duration of that workflow and is destroyed afterwards.
This generally works fine, but it has one disadvantage. If the CLI uses the same queue name as the TripleO UI then all the commands on the CLI would be reflected in realtime on the UI, without need for reloading or refreshing the page. This would then make it clearer when multiple users are active and generally create a slick experience - in theory the deploy could be fully automated but with the UI open you could track progress and watch the events happen.
For this to work we need to verify that the queue is multi-consumer so that all the attached clients get the messages, and not just a random one.
[1]: https:/
[2]: https:/
[3]: https:/
[4]: https:/
Changed in tripleo: | |
assignee: | nobody → Dougal Matthews (d0ugal) |
importance: | Undecided → Low |
status: | New → In Progress |
tags: | added: spec-lite |
Changed in tripleo: | |
importance: | Low → Wishlist |
status: | In Progress → New |
tags: | added: tripleoclient |
tags: | added: workflows |
Changed in tripleo: | |
milestone: | none → ocata-1 |
assignee: | Dougal Matthews (d0ugal) → nobody |
Changed in tripleo: | |
milestone: | ocata-1 → ocata-2 |
Changed in tripleo: | |
milestone: | ocata-2 → ocata-3 |
Changed in tripleo: | |
status: | Confirmed → Triaged |
Changed in tripleo: | |
milestone: | ocata-3 → 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 → queens-1 |
Changed in tripleo: | |
milestone: | queens-1 → queens-2 |
Changed in tripleo: | |
assignee: | nobody → Toure Dunnon (toure) |
Changed in tripleo: | |
status: | Triaged → In Progress |
Changed in tripleo: | |
status: | In Progress → Fix Released |
Use the workflow stack and plan name for the default queue.
i.e. "{}-{}- {}".format( workflow_ name, stack_name, plan)