[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] qcow2 and Xen



Hello,

I went the way of least effort and created a pvh-guest as raw-image with xen-tools and then converted it with qemu, which took about 30 seconds. I am going to automatize this step in ansible, which already runs xen-create-images
based on the given hostvars. Unfortunately the domain does not start. I get the following error message:

xl create dzb327.netfed.de.cfg
Parsing config from dzb327.netfed.de.cfg
libxl: error: libxl_device.c:1418:libxl__wait_for_backend: Backend /local/domain/0/backend/qdisk/0/51712 not ready
libxl: error: libxl_bootloader.c:417:bootloader_disk_attached_cb: Domain 114:failed to attach local disk for bootloader execution
libxl: error: libxl_bootloader.c:283:bootloader_local_detached_cb: Domain 114:unable to detach locally attached disk
libxl: error: libxl_create.c:1267:domcreate_rebuild_done: Domain 114:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 114:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 114:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 114:Destruction of domain failed


These are the relevant parts of my dzb327.netfed.de.cfg:

bootloader = 'pygrub'

type = 'pvh'
vcpus       = '2'
memory      = '4096'
maxmem      = '4096'


#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'tap2:qcow2:/home/xen/domains/dzb327.netfed.de/disk.img,xvda2,w',
                  'tap2:qcow2:/home/xen/domains/dzb327.netfed.de/swap.img,xvda1,w',
              ]
#

How do I do this right? I have found dozen of hits for booting xen with raw-images converted to qcow2, so it seems I am not trying anthing out of the ordinary here.

Yours sincerely
Stefan 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.