reboot instance catches exception: libvirtError: Domain not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I was running into a exception when trying to reboot(
this code piece maybe related:
nova/virt/
virt_dom = self._conn.
on the newly up host, there is no virt Domain, the above lookupByName would definitely failed and throw an exception;
to put this calling in a `try except' may be better.
detailed trace:
2012-07-18 15:55:09,422 CRITICAL nova [-] Domain not found: no domain with matching name 'instance-0000007a'
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: service.wait()
(nova): TRACE: File "/usr/lib/
(nova): TRACE: _launcher.wait()
(nova): TRACE: File "/usr/lib/
(nova): TRACE: service.wait()
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return self._exit_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return hubs.get_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return self.greenlet.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: result = function(*args, **kwargs)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: server.start()
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.manager.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.reboot_
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return f(*args, **kw)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: function(self, context, instance_id, *args, **kwargs)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: self.driver.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: return f(*args, **kw)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: virt_dom = self._conn.
(nova): TRACE: File "/usr/lib/
(nova): TRACE: if ret is None:raise libvirtError(
(nova): TRACE: libvirtError: Domain not found: no domain with matching name 'instance-0000007a'
description: | updated |
Changed in nova: | |
assignee: | nobody → Xiaolin Zhang (zhangxiaolins) |
status: | New → In Progress |
I don't excetly know whether this version is still be maintanced,but I strongly suggest you update to esssex version.there are still
many bugs in diablo .