Convergence: Immediate concurrent update fails
Bug #1566842 reported by
Anant Patil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
New
|
Medium
|
Unassigned |
Bug Description
I ran following command:
heat stack-create -f tr41.yaml tr1; sleep 1; heat stack-update -f tr31.yaml tr1; sleep 1; heat stack-update -f tr1.yaml tr1
where tr41 is a template with 5 TestResource resources, tr31 is template with 3 TestResource resources and tr1 has one resource.
The log messages are something like:
[3f0eaac1-
Found that the graph is not properly formed.
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
To post a comment you must log in.
The issue is with updating the stack when the graph is being formed. Immediate update will result in malformed graph as the previous create/update was not complete. The solution is to lock the stack till graph and sync-points are created in DB.