This code looks to be the issue:
def init_host(self): """Initialization for a standalone compute service.""" self.driver.init_host(host=self.host)
context = nova.context.get_admin_context()
instances = self.conductor_api.instance_get_all_by_host(context, self.host)
if CONF.defer_iptables_apply: self.driver.filter_defer_apply_on()
self.init_virt_events()
try:
# checking that instance was not already evacuated to other host self._destroy_evacuated_instances(context)
for instance in instances: self._init_instance(context, instance)
finally:
if CONF.defer_iptables_apply: self.driver.filter_defer_apply_off()
It tries to bring up all non-evacuated instances, but _init_instance is throwing rather than catching.
This code looks to be the issue:
"""Initializat ion for a standalone compute service."""
self.driver. init_host( host=self. host) get_admin_ context( ) api.instance_ get_all_ by_host( context,
self.host)
def init_host(self):
context = nova.context.
instances = self.conductor_
if CONF.defer_ iptables_ apply:
self. driver. filter_ defer_apply_ on()
try:
self. _destroy_ evacuated_ instances( context)
self. _init_instance( context, instance) iptables_ apply:
self. driver. filter_ defer_apply_ off()
# checking that instance was not already evacuated to other host
for instance in instances:
finally:
if CONF.defer_
It tries to bring up all non-evacuated instances, but _init_instance is throwing rather than catching.