[Openstack] Generating glance/xcp (xen) images

Egoitz Aurrekoetxea Aurre egoitz at ramattack.net
Sat Oct 27 22:59:55 UTC 2012


I will close this thread, summarize all and ask the question.


El 28/10/2012, a las 00:41, Egoitz Aurrekoetxea Aurre <egoitz at ramattack.net> escribió:

> Hi all again :)
> 
> I assume I'm pretty lost at this step…. it's reasonable the pv disk image not to work as the hvm one did because Xen should aware of where the kernel is for example… so… Could anyone point me a little on how to manage to convert an xva template of Xenserver/Xencloud for obtaining a glance upload able image allowable too to be run in the Xen cloud platform through nova-compute deploying the uploaded glance image???
> 
> Any help will be very appreciated….
> 
> 
> El 27/10/2012, a las 18:32, Egoitz Aurrekoetxea Aurre <egoitz at ramattack.net> escribió:
> 
>> I will try first http://docs.openstack.org/essex/openstack-compute/admin/content/creating-images-from-running-instances.html :) :)
>> 
>> 
>> El 27/10/2012, a las 18:23, Egoitz Aurrekoetxea Aurre <egoitz at ramattack.net> escribió:
>> 
>>> Because… I assume…. using Linux pv images  should be… uploading kernel, ramdisk and disk image to glance like the tty example in the doc… isn't it??… or else….
>>> 
>>> how could this be done??
>>> 
>>> 
>>> El 27/10/2012, a las 18:07, Egoitz Aurrekoetxea Aurre <egoitz at ramattack.net> escribió:
>>> 
>>>> 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,
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~openstack
>>>> Post to     : openstack at lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~openstack
>>>> More help   : https://help.launchpad.net/ListHelp
>>> 
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack at lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list