Unable to create a full VM with Xen and Virt-manager/Virt-install

Bug #239802 reported by Laurent Léonard
6
Affects Status Importance Assigned to Milestone
virt-manager (Ubuntu)
Invalid
Undecided
Laurent Léonard

Bug Description

Binary package hint: virt-manager

After the disk image creation I get this :

Unable to complete install '<class 'libvirt.libvirtError'> virDomainCreateLinux() failed POST operation failed: (xend.err 'Device 768 (vbd) could not be connected. Failed to find an unused loop device')
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 617, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 820, in start_install
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 841, in _do_install
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 833, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err 'Device 768 (vbd) could not be connected. Failed to find an unused loop device')
'

Revision history for this message
Tessa (unit3) wrote :

When I'm attempting to setup a VM on hardy, using the backported virt packages from intrepid, I can't get past the disk creation stage. I click repeatedly on the forward arrow in virt-manager, and it never advances the configuration wizard, and doesn't print anything to stdout. It's entirely possible it's a similar error causing the disk creation to fail and then stopping the process, but I can't seem to get any feedback that this is the case. Is there a way to get debugging logging out of virt-manager to verify this?

Revision history for this message
Laurent Léonard (laurent-open-minds) wrote :

This error appears in a dialog box, your error is probably different from this one (probably you will get this one after correcting your error). There is nothing on stdout/stderr because virt-manager it becomes a detached process. You can use the --no-fork option to avoid that, or use strace -p PID to check it.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Thanks for reporting this.
Do you still have this issue?
Is it reproducible with recent versions of Ubuntu, such as Karmic or Lucid?

Changed in virt-manager (Ubuntu):
assignee: nobody → Laurent Léonard (laurent-open-minds)
status: New → Incomplete
Revision history for this message
Laurent Léonard (laurent-open-minds) wrote :

This issue is solved for a long time. You can close the bug report.

Changed in virt-manager (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.