[Openstack] boot from ISO

Anne Gentle anne at openstack.org
Thu Dec 1 15:29:48 UTC 2011


Thanks for the info! I've logged bug 898682 [1] to ensure it gets
added to the documentation. Based on this note, is this a solution for
Xen only?

Is this the same as using a config drive? I had heard a config drive
works on KVM but not Xen.

 If someone who's familiar with this area could work on the docs that
would be great.

Thanks,
Anne

[1] https://bugs.launchpad.net/openstack-manuals/+bug/898682

On Thu, Dec 1, 2011 at 9:14 AM, Michaël Van de Borne
<michael.vandeborne at cetic.be> wrote:
> It finally works. The problem was the flag checks while looking for the ISO
> SR.
>
> inside the find_iso_sr method (in nova/virt/xenapi/vm_utils.py), I found
> that the ISO SR must have these settings:
> content type: iso
> other-config:i18n-key=local-storage-iso
>
> As far as I know, this wasn't documented anywhere. Hope this can be useful
> for people from the future.
>
> cheers,
>
>
> michaël
>
>
> Michaël Van de Borne
> R&D Engineer, SOA team, CETIC
> Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
> www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi
>
>
> Le 29/11/11 23:10, Donal Lafferty a écrit :
>
> Off the top of my head, I’d look to see if the compute node can see that ISO
> SR.
>
>
>
> DL
>
>
>
>
>
> From: Michaël Van de Borne [mailto:michael.vandeborne at cetic.be]
> Sent: 29 November 2011 18:15
> To: Donal Lafferty; openstack at lists.launchpad.net
> Subject: Re: [Openstack] boot from ISO
>
>
>
> Hi Donal, hi all,
>
> I'm trying to test the Boot From ISO feature. So I've set a XenServer host
> and installed a Ubuntu 11.10 PV DomU in it.
>
> Then I used the following commands but, as you can see in the attached
> nova-compute log excerpt, there was a problem.
>
> glance add name=fedora_iso disk_format=iso <
> ../Fedora-16-x86_64-Live-LXDE.iso
> ID: 4
> nova boot test_iso --flavor 2 --image 4
>
> I can see the ISO images using "nova list" but not using "glance index".
>
> The error seems to be: 'Cannot find SR of content-type ISO'. However, I've
> set a NFS ISO Library using XenCenter, so that there is an actual ISO
> content-typed SR. How to tell OpenStack to use this SR for the ISO images I
> post using glance?
>
> Any clue? I feel I'm rather close to make it work.
>
>
> thanks,
>
> michaël
>
>
>
> Michaël Van de Borne
>
> R&D Engineer, SOA team, CETIC
>
> Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
>
> www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi
>
>
> Le 22/11/11 00:18, Donal Lafferty a écrit :
>
> Hi Michaël,
>
>
>
> “Boot from ISO” should be ISO image agnostic.  The feature overcomes
> restrictions placed on the  distribution of modified Windows’ images.
> People can use their ISO instead, but they may still need to use dedicated
> hardware.
>
>
>
> You should have no problem with a Linux distribution.
>
>
>
> However, I wrote it for XenAPI, so we need someone to duplicate the work for
> KVM and VMWare.
>
>
>
> DL
>
>
>
>
>
> From: openstack-bounces+donal.lafferty=citrix.com at lists.launchpad.net
> [mailto:openstack-bounces+donal.lafferty=citrix.com at lists.launchpad.net] On
> Behalf Of Michaël Van de Borne
> Sent: 21 November 2011 17:28
> To: openstack at lists.launchpad.net
> Subject: Re: [Openstack] boot from ISO
>
>
>
> up? anybody?
>
>
> Le 14/11/11 14:44, Michaël Van de Borne a écrit :
>
> Hi all,
>
> I'm very interested in the "Boot From ISO" feature described here:
> http://wiki.openstack.org/bootFromISO
>
> In a few words, it's about the ability to boot a VM from the CDROM with an
> ISO image attached. A blank hard disk being attached to install the OS files
> in it.
>
> I've got some questions about this:
> 1. Is the feature available today using a standard Diablo install? I've seen
> the code about this feature is stored under nova/tests and glance/tests.
> Does this mean it isn't finished yet and could only be tested under specific
> conditions? Which ones?
> 2. the spec tells about a Windows use case. Why just Windows? What should I
> do to test with a Linux distribution?
> 3. I can see here that the Xen hypervisor only has been impacted by the
> source code changes. Are KVM and VMWare planned to be supported in the
> future? May I help/be helped to develop KVM and VMWare support for this
> 'Boot From Iso' feature?
>
> Any help appreaciated
>
> thank you,
>
>
> michaël
>
>
>
>
> --
>
> Michaël Van de Borne
>
> R&D Engineer, SOA team, CETIC
>
> Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
>
> www.cetic.be, rue des Frères Wright, 29/3, B-6041 Charleroi
>
>
>
>
>
> _______________________________________________
>
> 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