Reschedule of a virtual machine fails with 'NetworkInfo' object has no 'wait'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Esha Seth | ||
Newton |
Fix Released
|
High
|
Lee Yarwood |
Bug Description
When a virtual machine is rescheduled and fails eith some storage exception, getting an error that
'NetworkInfo' object has no attribute 'wait' instead of actual storage issue
In nova/compute/
https:/
def _build_
# If we're here from a reschedule the network may already be allocated.
if strutils.
# NOTE(alex_xu): The network_allocated is True means the network
# resource already allocated at previous scheduling, and the
# network setup is cleanup at previous. After rescheduling, the
# network resource need setup on the new host.
return self.network_
if not self.is_
macs = self.driver.
return network_info
Changed in nova: | |
assignee: | nobody → Esha Seth (eshaseth) |
status: | New → In Progress |
Changed in nova: | |
assignee: | Esha Seth (eshaseth) → Eric Fried (efried) |
Changed in nova: | |
assignee: | Eric Fried (efried) → Esha Seth (eshaseth) |
Changed in nova: | |
assignee: | Esha Seth (eshaseth) → Matthew Edmonds (edmondsw) |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
assignee: | Matthew Edmonds (edmondsw) → Esha Seth (eshaseth) |
This appears to be a regression issue caused by https:/ /github. com/openstack/ nova/commit/ 61fc1b9ee11e416 aecbf3a29e1d150 a53fc890e8 , which reverted the previous fix made by https:/ /github. com/openstack/ nova/commit/ 24a04c405ab2c98 e52ea1edf877548 9907526c6d