update cancel result in no network interface of nova server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
In Progress
|
High
|
huangtianhua |
Bug Description
1. create a stack with a nova server which in network1
2. update the stack to change the server to network2, after several seconds to cancel the update when it is in progress
3. finally the stack is in ROLLBACK_COMPLETE
4. but the server has no any network interface
Because we update the rsrc_defn after update:
*****************
...
yield self.action_
self.t = after
self.reparse()
...
****************
If the cancel came before the rsrc_defn updated, the network info will be incorrect:
caseA: cancel right after old interface detach ----then the server will has no any interfaces
caseB: cancel right after new interface attach and before 'self.t = after' ---- then the server has interface in network2, but its template is network1
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
description: | updated |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
Fix proposed to branch: master /review. openstack. org/474838
Review: https:/