[Fedora-xen] Re: [fedora-virt] virt-install (and virt-manager) unsupported virtualization type 'xen' with pv_ops dom0 on Fedora 10

Pasi Kärkkäinen pasik at iki.fi
Wed Mar 11 20:05:03 UTC 2009


On Wed, Mar 11, 2009 at 05:59:01PM +0000, Daniel P. Berrange wrote:
> On Wed, Mar 11, 2009 at 07:56:10PM +0200, Pasi K?rkk?inen wrote:
> > But Fedora 10 domU installation still fails:
> > 
> > [root at dom0test ~]# virt-install -n vm01 -r 512 --vcpus=1 -f /dev/vg00/vm01 --vnc -p -l
> > "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os"
> > 
> > 
> > Starting install...
> > Retrieving file .treeinfo...                                             | 1.1 kB     00:00     
> > Retrieving file vmlinuz-PAE...                                           | 2.5 MB     00:01     
> > Retrieving file initrd-PAE.img...                                        |  16 MB     00:10     
> > XML description for failed to build sexpr is not well formed or invalid
> > Domain installation may not have been
> >  successful.  If it was, you can restart your domain
> >  by running 'virsh start vm01'; otherwise, please
> >  restart your installation.
> > ERROR    XML description for failed to build sexpr is not well formed or invalid
> 
> 
> Now this one sounds like a genuine libvirt or virt-install bug !
> 
> Can you re-run with --debug, and file a BZ with the information  so we can
> track it formally.
> 

Ok. Will do. 

Here's the --debug info aswell:

[root at dom0test ~]# virt-install --debug -n vm01 -r 512 --vcpus=1 -f /dev/vg00/vm01 --vnc -p -l "ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os"
Wed, 11 Mar 2009 21:58:52 DEBUG    Using libvirt URI connect 'xen'
Wed, 11 Mar 2009 21:58:52 WARNING  Non-error from libvirt: 'Failed to find the network: Is the daemon running ?'
Wed, 11 Mar 2009 21:58:52 DEBUG    Requesting virt method 'xen'
Wed, 11 Mar 2009 21:58:52 DEBUG    Received virt method 'xen'
Wed, 11 Mar 2009 21:58:52 DEBUG    Hypervisor type is 'xen'
Wed, 11 Mar 2009 21:58:52 DEBUG    Using self.path for VirtualDisk.
Wed, 11 Mar 2009 21:58:52 DEBUG    VirtualDisk storage exists.
Wed, 11 Mar 2009 21:58:52 DEBUG    Detected storage as type 'block'
Wed, 11 Mar 2009 21:58:52 DEBUG    DistroInstaller location is a network source.

Starting install...
Wed, 11 Mar 2009 21:58:53 DEBUG    Attempting to detect distro:
Wed, 11 Mar 2009 21:58:53 DEBUG    Detected .treeinfo file
Wed, 11 Mar 2009 21:58:53 DEBUG    Fetching URI ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/.treeinfo
Wed, 11 Mar 2009 21:58:53 DEBUG    Saved file to /var/lib/xen/virtinst-.treeinfo.rXElMi
Retrieving file .treeinfo...                                             | /1.1 kB     00:00     
Wed, 11 Mar 2009 21:58:53 DEBUG    Fetching URI ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/images/pxeboot/vmlinuz-PAE
Retrieving file vmlinuz-PAE...                                  1.2 MB/s | /2.0 MB     00:00    
Wed, 11 Mar 2009 21:58:54 DEBUG    Saved file to /var/lib/xen/virtinst-vmlinuz-PAE.OgMr10
Retrieving file vmlinuz-PAE...                                           |  2.5 MB     00:01     
Wed, 11 Mar 2009 21:58:54 DEBUG    Fetching URI ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/images/pxeboot/initrd-PAE.img
Retrieving file initrd-PAE.img...                               1.9 MB/s | 16 MB     00:07     
Wed, 11 Mar 2009 21:59:02 DEBUG    Saved file to /var/lib/xen/virtinst-initrd-PAE.img.aF3UYJ
Retrieving file initrd-PAE.img...                                        | 16 MB     00:07     
Wed, 11 Mar 2009 21:59:02 DEBUG    Using self.path for VirtualDisk.
Wed, 11 Mar 2009 21:59:02 DEBUG    VirtualDisk storage exists.
Wed, 11 Mar 2009 21:59:02 DEBUG    Detected storage as type 'block'
Wed, 11 Mar 2009 21:59:02 DEBUG    Creating guest from '<domain type='xen'>

  <name>vm01</name>
  <currentMemory>524288</currentMemory>
  <memory>524288</memory>
  <uuid>c2d3c368-245d-05bd-7772-e799f0e05194</uuid>
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/virtinst-vmlinuz-PAE.OgMr10</kernel>
    <initrd>/var/lib/xen/virtinst-initrd-PAE.img.aF3UYJ</initrd>
    <cmdline>method=ftp://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os</cmdline>
  </os>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>1</vcpu>
  <devices>
    <disk type='block' device='disk'>
      <source dev='/dev/vg00/vm01'/>
      <target dev='xvda' bus='xen'/>
    </disk>
    <interface type='network'>
      <source network='default'/>
      <mac address='00:16:36:55:e7:dd'/>
    </interface>
    <input type='mouse' bus='xen'/>
    <graphics type='vnc' port='-1' keymap='fi'/>
  </devices>
</domain>
'
Wed, 11 Mar 2009 21:59:02 DEBUG    Removing /var/lib/xen/virtinst-vmlinuz-PAE.OgMr10
Wed, 11 Mar 2009 21:59:02 DEBUG    Removing /var/lib/xen/virtinst-initrd-PAE.img.aF3UYJ
XML description for failed to build sexpr is not well formed or invalid
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start vm01'; otherwise, please
 restart your installation.
Wed, 11 Mar 2009 21:59:02 ERROR    XML description for failed to build sexpr is not well formed or invalid
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 692, in <module>
    main()
  File "/usr/sbin/virt-install", line 632, in main
    dom = guest.start_install(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 732, in start_install
    return self._do_install(consolecb, meter, removeOld, wait)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 767, in _do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 915, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: XML description for failed to build sexpr is not well formed or invalid


-- Pasi




More information about the Fedora-xen mailing list