heat stacks should have a unique name

Bug #1412497 reported by Steven Dake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
High
Guangya Liu (Jay Lau)

Bug Description

Reproducer:
Create a bay
delete the bay
Create a bay with the same name before deletion completes

Bad things happen ;)

One simple workaround is just to give each new bay's stack name a unique ID

Steven Dake (sdake)
Changed in magnum:
status: New → Triaged
importance: Undecided → High
Changed in magnum:
assignee: nobody → Jay Lau (jay-lau-513)
Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

Just check heat, there is no length limit on stack name, so we can just add a uuid to the stack name to make sure it is unique.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/148407

Changed in magnum:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/148407
Committed: https://git.openstack.org/cgit/stackforge/magnum/commit/?id=d2dede5723442fa09bad3949a6af72c00b4005cc
Submitter: Jenkins
Branch: master

commit d2dede5723442fa09bad3949a6af72c00b4005cc
Author: Jay Lau (Guangya Liu) <email address hidden>
Date: Mon Jan 19 21:21:01 2015 -0500

    Make sure no duplicate stack name when creating k8s bay

    Change-Id: I2ef6ef9f8cdd317d574312ac591f5e65bf227d2e
    Closes-Bug: #1412497

Changed in magnum:
status: In Progress → Fix Committed
Changed in magnum:
status: Fix Committed → Fix Released
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.