<div dir="ltr"><div><div><div><div><div><div>Hey Jean, <br><br></div>Sorry I'm a bit late,  I'll try to guide/help you in the right direction. <br><br></div>First of all, let your peers know which which version of Openstack you're using,  Juno(6) Kilo(7) Liberty(8) Mitaka(9)? <br><br><span lang="EN-US">"I just add NFS as backend." -> cool nice job, but by this what do you mean  NFS backend for what? For Cinder Glance or Nova or for all of them? <br><br></span></div><span lang="EN-US">You want the instance to live migrate to another compute node right? <br></span></div><span lang="EN-US">For this all you need shared Nova storage (if I recall you can do without but it's easier with), no need to use Cinder volume for the instance, unless you want to do so. <br></span></div>Check this link for migration stuff, check your version and which hypervisor you use, each has it's own settings and special needs.  <br><a href="http://docs.openstack.org/admin-guide/compute-configuring-migrations.html">http://docs.openstack.org/admin-guide/compute-configuring-migrations.html</a><br><br></div><div>I didn't get this part  <span lang="EN-US">( i.e. I boot from an .iso image )<br></span></div><div><span lang="EN-US">You know that the image must be either a liveCD iso which is a bootable OS, or a qcow2 image of a preinstalled OS. <br></span></div><div><span lang="EN-US"></span></div><div><br><br></div><div>From your command I take if you want to boot an instance from an image which will create a Cinder volume. <br><br><p class="MsoNormal"><span lang="EN-US">nova boot --image CentOS-7-ISO --block-device source=blank,dest=volume,size=10,shutdown=preserve --nic net-id=73d765a3-edca-4ac4-822d-1d0f30cc959b --flavor 2 CentOS-7-Bootable-Image</span></p> 
<br><br></div><div>If your Cinder (or Nova in case you don't want/have to use a Cinder volume) is configured to use NFS your done. <br></div><div>You don't have to tell Nova boot command to use NFS  it will automatically use Cinder (or Nova) backend storage. <br></div><div>Say you have Nova running over NFS, if you nova boot an instance, it's disk will be created on Nova's backend which is NFS. <br></div><div>Same for Cinder if the backend is configured for NFS, boot an instance create a volume, the volume will be created on the NFS backend. <br></div><div><br></div><div>Hope I helped a bit. <br>If you have more questions fire away. <br><br></div><div>Tzach<br></div><div><br><br></div><div><br></div><div><br><br><div><span lang="EN-US"><br></span></div><span lang="EN-US"></span><span lang="EN-US"></span></div><br><div><span lang="EN-US"><br><br></span><div><div><div><div><br><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 10, 2016 at 10:38 AM, Jean-Pierre Ribeauville <span dir="ltr"><<a href="mailto:jpribeauville@axway.com" target="_blank">jpribeauville@axway.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="#0563C1" vlink="#954F72" lang="FR">
<div>
<p class="MsoNormal">Hi, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">I just add NFS as backend .<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Now, I want to launch an instance so it will be bootable from a nfs shared device .( and then ( it’s my hope) may migrate to another compute node)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">( i.e. I boot from an .iso image )<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I don’t find how , in the following nova boot command, to specify that I want that a “nfs” volume will be created to hold this instance  :<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">nova boot --image CentOS-7-ISO --block-device source=blank,dest=volume,size=10,shutdown=preserve --nic net-id=73d765a3-edca-4ac4-822d-1d0f30cc959b --flavor 2 CentOS-7-Bootable-Image<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Thx for help<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Jean-Pierre RIBEAUVILLE<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="tel:%2B33%201%204717%202049" value="+33147172049" target="_blank">+33 1 4717 2049</a><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span><img src="cid:image001.png@01D1C2FB.64BC0AC0" alt="axway_logo_tagline_87px" height="87" width="140"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="4"><b><span>Tzach Shefi</span></b></font><br>Quality Engineer, Redhat OSP<br><span><a href="callto:+972-52-4534729" target="_blank">+972-54-4701080</a></span></div></div>
</div>