[Fedora-xen] virt-manager destroying the guest leaves a "ghost" in xend.

Konrad Rzeszutek Wilk konrad.wilk at oracle.com
Mon Oct 10 22:07:15 UTC 2011


I tried to install a guest and midway during it decided to install something
else so I stopped the process and killed the guest.

But got an error and xend.log has this:

[2011-10-10 17:42:06 961] DEBUG (XendDomainInfo:1276) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/51712
[2011-10-10 17:43:29 961] ERROR (SrvBase:88) Request destroy failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDomain.py", line 89, in op_destroy
    return self.xd.domain_destroy(self.dom.domid)
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line 1315, in domain_destroy
    dominfo = self.domain_lookup_nr(domid)
  File "/usr/lib64/python2.7/site-packages/xen/xend/XendDomain.py", line 588, in domain_lookup_nr
    if int(domid) in self.domains:
TypeError: int() argument must be a string or a number, not 'NoneType'

and "xm list" tells me

[root at tst006 /]# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  3343     2     r-----    162.2
F15_test                                        1024     1                 0.0


Quitting virt-manager and then 'Deleting' the F15_test makes xend finally remove the
ghost:

[2011-10-10 17:45:27 961] INFO (XendDomain:1126) Domain F15_test (18eaec13-8ed3-ad0c-6473-7947366fce02) deleted.


So.. has anybody else hit this?


More information about the xen mailing list