[Openstack] Generating glance/xcp (xen) images

Egoitz Aurrekoetxea Aurre egoitz at ramattack.net
Sat Oct 27 16:07:02 UTC 2012


Good afternoon,

I'm trying to build custom images for Openstack and for being used at Citrix XCP distros (Xen). Building an hvm image has been pretty trivial (unless in my case with FreeBSD) because the only thing I have needed to do is :

- Install a new hvm vm with FreeBSD

- Later with Citrix XenConvert obtain the vhd converting to ovf format….

- Later with qemu-img convert it to raw and upload to Glance…

This is working…. but know when I have tried to do a similar thing with Centos… 


I have found several complications….


First of all, after installing a new Centos PV machine… and doing the same process….. when you try to boot the glance image…. you get a : 

"Error 13: Invalid or unsupported executable format"

When it tries to boot the Xen kernel…. 



So… after doing some investigation… and after having some experience with Xen on other envs without XCP (Debian basically)… I assume I should do something like : 

http://futureblog.grawet.be/?p=82

When have run Xen without XCP I have done it on Debian… and the own Debian packages help you creating Debian DomU's…… so not too much experience on here….

I wanted to share all this here… for those people trying to look for how to do this… and for knowing If you knew better things of doing this job….

Best regards,



More information about the Openstack mailing list