Merge "libvirt: make coherent logs when reboot success"

This commit is contained in:
Jenkins
2017-01-31 20:42:44 +00:00
committed by Gerrit Code Review

View File

@@ -869,9 +869,9 @@ class LibvirtDriver(driver.ComputeDriver):
state = dom_info.state
new_domid = dom_info.id
except exception.InstanceNotFound:
LOG.info(_LI("During wait destroy, instance disappeared."),
instance=instance)
raise loopingcall.LoopingCallDone()
LOG.debug("During wait destroy, instance disappeared.",
instance=instance)
state = power_state.SHUTDOWN
if state == power_state.SHUTDOWN:
LOG.info(_LI("Instance destroyed successfully."),