nova-compute cannot be restarted with active Ironic instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
New
|
Undecided
|
Unassigned |
Bug Description
Attempting to restart the nova-compute service with ACTIVE nova instance provisioned on an Ironic node causes the following exception:
Traceback (most recent call last):
File "/usr/lib/
readers.
File "/usr/lib/
result = function(*args, **kwargs)
File "/opt/stack/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
rt = self._get_
File "/opt/stack/
"compute host.") % nodename)
NovaException: 5c68cb65-
It looks like the nova driver's get_available_
return not node.instance_uuid and not node.maintenance \
and node.power_state == ironic_
summary: |
- nova-compute cannot be restarted when Ironic nodes + nova-compute cannot be restarted with active Ironic instances |