<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Michaël, <div>that would be great if you can provide us an how-to for that that we will integrate into the documentation !</div><div>Regards, </div><div>Razique</div><div><br></div><div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co - Razique Mahroua</b></span><span class="Apple-style-span" style="color: rgb(19, 112, 138); font-family: Helvetica; "><b> </b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span><img height="125" width="125" id="2da25a61-4cb2-4297-aa23-4f36a45575c0" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></div>
<br><div><div>Le 1 déc. 2011 à 16:14, Michaël Van de Borne a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    It finally works. The problem was the flag checks while looking for
    the ISO SR.<br>
    <br>
    inside the find_iso_sr method (in nova/virt/xenapi/vm_utils.py), I
    found that the ISO SR must have these settings:<br>
    content type: iso<br>
    other-config:i18n-key=local-storage-iso<br>
    <br>
    As far as I know, this wasn't documented anywhere. Hope this can be
    useful for people from the future.<br>
    <br>
    cheers,<br>
    <br>
    michaël<br>
    <br>
    <br>
    <pre class="moz-signature" cols="72">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
<a class="moz-txt-link-abbreviated" href="http://www.cetic.be/">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi
</pre>
    <br>
    Le 29/11/11 23:10, Donal Lafferty a écrit :
    <blockquote cite="mid:81A73678E76EA642801C8F2E4823AD21C4F8E89F82@LONPMAILBOX01.citrite.net" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Angsana New";
        panose-1:2 2 6 3 5 4 5 2 3 4;}
@font-face
        {font-family:"Cordia New";
        panose-1:2 11 3 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cordia New";
        panose-1:2 11 3 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Off
            the top of my head, I’d look to see if the compute node can
            see that ISO SR.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">DL<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
        <div style="border:none;border-left:solid blue 1.5pt;padding:0cm
          0cm 0cm 4.0pt">
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                  Michaël Van de Borne
                  [<a class="moz-txt-link-freetext" href="mailto:michael.vandeborne@cetic.be">mailto:michael.vandeborne@cetic.be</a>] <br>
                  <b>Sent:</b> 29 November 2011 18:15<br>
                  <b>To:</b> Donal Lafferty;
                  <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                  <b>Subject:</b> Re: [Openstack] boot from ISO<o:p></o:p></span></p>
            </div>
          </div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Hi Donal, hi all,<br>
            <br>
            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.<br>
            <br>
            Then I used the following commands but, as you can see in
            the attached nova-compute log excerpt, there was a problem.<br>
            <br>
            glance add name=fedora_iso disk_format=iso <
            ../Fedora-16-x86_64-Live-LXDE.iso<br>
            ID: 4<br>
            nova boot test_iso --flavor 2 --image 4<br>
            <br>
            I can see the ISO images using "nova list" but not using
            "glance index".<br>
            <br>
            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?<br>
            <br>
            Any clue? I feel I'm rather close to make it work.<br>
            <br>
            <br>
            thanks,<br>
            <br>
            michaël<br>
            <br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>Michaël Van de Borne<o:p></o:p></pre>
          <pre>R&D Engineer, SOA team, CETIC<o:p></o:p></pre>
          <pre>Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.cetic.be/">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi<o:p></o:p></pre><p class="MsoNormal"><br>
            Le 22/11/11 00:18, Donal Lafferty a écrit : <o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi
            </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">Michaël,</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">“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.  </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">You
              should have no problem with a Linux distribution.  </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">However,
              I wrote it for XenAPI, so we need someone to duplicate the
              work for KVM and VMWare.</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">DL</span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
          <div style="border:none;border-left:solid blue
            1.5pt;padding:0cm 0cm 0cm 4.0pt">
            <div>
              <div style="border:none;border-top:solid #B5C4DF
                1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                    <a moz-do-not-send="true" href="mailto:openstack-bounces+donal.lafferty=citrix.com@lists.launchpad.net">openstack-bounces+donal.lafferty=citrix.com@lists.launchpad.net</a>
                    [<a moz-do-not-send="true" href="mailto:openstack-bounces+donal.lafferty=citrix.com@lists.launchpad.net">mailto:openstack-bounces+donal.lafferty=citrix.com@lists.launchpad.net</a>]
                    <b>On Behalf Of </b>Michaël Van de Borne<br>
                    <b>Sent:</b> 21 November 2011 17:28<br>
                    <b>To:</b> <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                    <b>Subject:</b> Re: [Openstack] boot from ISO</span><o:p></o:p></p>
              </div>
            </div><p class="MsoNormal"> <o:p></o:p></p><p class="MsoNormal">up? anybody?<br>
              <br>
              <br>
              Le 14/11/11 14:44, Michaël Van de Borne a écrit : <o:p></o:p></p><p class="MsoNormal">Hi all,<br>
              <br>
              I'm very interested in the "Boot From ISO" feature
              described here: <a moz-do-not-send="true" href="http://wiki.openstack.org/bootFromISO">http://wiki.openstack.org/bootFromISO</a><br>
              <br>
              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.<br>
              <br>
              I've got some questions about this:<br>
              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?<br>
              2. the spec tells about a Windows use case. Why just
              Windows? What should I do to test with a Linux
              distribution?<br>
              3. I can see <a moz-do-not-send="true" href="http://bazaar.launchpad.net/%7Ehudson-openstack/nova/trunk/revision/1433?start_revid=1433">here</a>
              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?<br>
              <br>
              Any help appreaciated<br>
              <br>
              thank you,<br>
              <br>
              <br>
              michaël<br>
              <br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <pre>-- <o:p></o:p></pre>
            <pre>Michaël Van de Borne<o:p></o:p></pre>
            <pre>R&D Engineer, SOA team, CETIC<o:p></o:p></pre>
            <pre>Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://www.cetic.be/">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi<o:p></o:p></pre><p class="MsoNormal"><br>
              <br>
              <br>
              <br>
              <o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
            <pre>Post to     : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><o:p></o:p></pre>
            <pre>Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
            <pre>More help   : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></pre>
          </div>
        </div>
      </div>
    </blockquote>
  </div>

_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>