[Pkg-libvirt-maintainers] Bug#840136: Bug#840136: virt-manager: Can't create new VM

jp.pozzi at izzop.net jp.pozzi at izzop.net
Tue Oct 11 22:09:43 UTC 2016


Hello,

I didn't have much time to test as I do not know virsh very well.
After modifying the Xml files "by hand" and with some working machines
as example I was able to create new machines with virsh and to run them
through virt-manager.
I will try to test creating another new machine and search in the xml
file some elements of the problem.
Through à diff program I noticed that the CDROM (stated as IDE) was on
the same controller as the "sda" disk (stated as XEN disk), the part of
the xml is here :
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/dev/DUO/GALERA_3'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <disk type='file' device='cdrom'>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0'
unit='1'/>
    </disk>
    <controller type='ide' index='0'/>

After modifying the xml file (I hate XML) I was able to create the
machine with virsh, here is the "modified" disk part :
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/dev/DUO/GALERA_3'/>
      <target dev='sda' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0'
unit='0'/>
    </disk>
    <controller type='sata' index='0'/>

Regards

JP P

On Sat, Oct 08, 2016 at 07:58:09PM +0200, jpp wrote:
Package: virt-manager
Version: 1:1.4.0-3
Severity: important

Hello,

Whe I try to create a new VM it crashes at end just before starting
the new
machine.
The machine is still listed in the panel but can't start.
I enclose two backtraces :
1 - at the end of VM creation
2 - when triybg to start the VM
And three logfiles :
log.2 and log. where created while creating the VM, the last when
trying to
launch the new machine.


A can't help much with xenlight due to lack of a system running it.
I'd
recommend to reproduce without virt-manager using virsh directly.

With a minimal domain XML we might be able to sort this out with the
xen
maintainers. Looks like there's something wrong with the parameters
used
for the CDROM.

Cheers,
 -- Guido
Hello,



More information about the Pkg-libvirt-maintainers mailing list