Possible to create multiple stacks with the same name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Ethan Lynn |
Bug Description
Multiple simultaneous requests can result in creation of multiple stacks with the same name:
Reproduce with:
$ heat stack-create -f test.template wps1 & heat stack-create -f test.template wps1 & heat stack-create -f test.template wps1
Result:
+------
| id | stack_name | stack_status | creation_time |
+------
| 9de917bd-
| dffd201a-
| b3023867-
+------
This should not be possible. If you follow-up with another request, the service responds with the correct error:
$ heat stack-create -f test.template wps1
ERROR: The Stack (wps1) already exists.
Changed in heat: | |
assignee: | nobody → Ishant Tyagi (ishant-tyagi) |
Changed in heat: | |
status: | In Progress → Triaged |
importance: | Undecided → High |
milestone: | none → juno-rc1 |
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
milestone: | juno-rc1 → next |
Changed in heat: | |
milestone: | next → kilo-rc1 |
tags: | added: kilo-rc-potential |
Changed in heat: | |
milestone: | kilo-rc1 → next |
tags: | removed: kilo-rc-potential |
Changed in heat: | |
importance: | High → Medium |
Fix proposed to branch: master /review. openstack. org/123397
Review: https:/