Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

After a great struggle I got my XEN installed now I am using virt-manager and trying to create a VM. Since my H/W doesnt support full Virtualization using the Para Virtualization installation over network. After I specify all the details like URL , N/w etc., I get the following error:

Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: 'NoneType' object has no attribute 'rfind'")

The complete error:

Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: 'NoneType' object has no attribute 'rfind'")'

DETAILS->
Unable to complete install '<class 'libvirt.libvirtError'> POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: 'NoneType' object has no attribute 'rfind'")
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 1555, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 973, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1038, in _do_install
    "install")
  File "/usr/lib/pymodules/python2.6/virtinst/Guest.py", line 1009, in _create_guest
    dom = self.conn.createLinux(start_xml, 0)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1277, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: 'NoneType' object has no attribute 'rfind'")
'
share|improve this question
    
I've got the same problem. Have you managed to solve it, at the last? thanks –  user134190 Aug 31 '12 at 6:03

1 Answer 1

Some older versions of libvirtd get confused after some internal bug and start throwing errors of this type. I never bothered tracking down the exact bug as it eventually got fixed after a number of updates.

Two things to do:

  • To get things going again, restart libvirtd. (This will not affect running VMs.)
  • Ensure that libvirtd is up to date.
share|improve this answer
    
restarting libvirtd while VM is running will terminate the VMs that are running. –  codeBarer Jun 16 at 6:02
    
@codeBarer Really? I've never seen that happen. I would suggest you make a bug report, as that is not supposed to occur. –  Michael Hampton Jun 16 at 12:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.