Displaying 2 results from an estimated 2 matches for "_cleanupvm".
Did you mean:
_cleanup
2008 Jul 25
1
[PATCH]xend: fix dual destroy
...b entry
since iommu is 0 by defaut now; maybe because the device doesn''t exist;
maybe because the device has been assigned, or something) we raise
VmError;
Then start() will invoke self.destroy() and re-raise the exception;
Next, the global create() will invoke vm.destroy() again; finally,
_cleanupVm() and "self.metrics.destroy()" will be invoked again. Here
when we execute metrics.destroy() for the second time, the deregister()
in XendAPIStore.py will complain: there is no such an element in the
dict __classes and a KeyError exception is raised!
We can avoid the dual destroy by add...
2009 Mar 12
0
Successfully running VM, subsequently startup gives this error -- VmError: Boot loader didn''t return any data!
...dDomain.py", line 920, in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 91, in create
vm.destroy()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1808, in destroy
self._cleanupVm()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2007, in _cleanupVm
self.metrics.destroy()
File "/usr/lib/python2.4/site-packages/xen/xend/XendBase.py", line 94, in destroy
XendAPIStore.deregister(self.get_uuid(), self.getClass())
File "/usr/lib/p...