Should not be able to attach/detach interface during building state
Bug #1336883 reported by
Drew Thorstensen
This bug report is a duplicate of:
Bug #1299333: Unable attach/detach interface for shelve offloaded instance.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Thang Pham |
Bug Description
During the VM building state, the nova API allows for interface attach and detach. It generally does not succeed because the VM may not be created yet on the hypervisor (ex. the image may be transferring if using local disks and glance). Then the VM is brought up as defined by the original spawn request. However, the attach_interface request reported as successful and the VM is reported as having the interface (even though it does not).
Recommend that this operation be blocked unless the VM is in a specific state where it is allowed to run.
Changed in nova: | |
assignee: | nobody → Thang Pham (thang-pham) |
tags: | added: api |
To post a comment you must log in.
Hi, Thang, there already have a patch and ready for merged for this bug https:/ /review. openstack. org/#/c/ 87082/