<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I think we should discuss adding/changing this functionality. I have had many new users assume that booting from an iso image would give them a root drive which they could snapshot. I was hoping that the new block device mapping code would allow something like this, but unfortunately there isn’t a way to do it there either. You can boot a flavor with an ephemeral drive, but there is no command to snapshot secondary drives.<div><br></div><div>Vish</div><div><br><div><div>On Jul 25, 2014, at 4:22 PM, Maksym Lobur <<a href="mailto:mlobur@mirantis.com">mlobur@mirantis.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Vish!<div><br></div><div>Appreciate your feedback! Are there some significant pitfalls that forced Nova team to decide that? </div><div><br></div><div>Currently I'm testing my local nova modifications to get real boot from ISO functionality like described in the spec. I'm fetching ISO image from glance into the separate file under the instances/uuid/ dir, attaching it as a CDROM and boot from it. I also do a blank root drive 'disk' which I use to install OS to.</div>
<div><br></div><div>Are there any things require extra attention? Any pitfalls in such an approach?</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><font color="#444444">Best regards,<br>Max Lobur,<br>
OpenStack Developer, Mirantis, Inc.<br></font><div><b><font color="#444444"><br></font></b></div><font color="#444444">Mobile: +38 (093) 665 14 28<br>Skype: max_lobur<br></font><div><font color="#444444"><br></font></div>
<font color="#444444">38, Lenina ave. Kharkov, Ukraine</font><br><a href="http://www.mirantis.com/" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a></div></div>
<br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 8:57 AM, Vishvananda Ishaya <span dir="ltr"><<a href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">This is somewhat confusing, but long ago the decision was made that booting from an ISO image should use the ISO as a root drive. This means that it is only really useful for things like live cds. I believe you could use the new block device mapping code to create an instance that boots from an iso and has an ephemeral drive as well but I haven’t tested this.<div>
<br></div><div>Vish</div><div><br><div><div><div class="h5"><div>On Jul 22, 2014, at 7:57 AM, Maksym Lobur <<a href="mailto:mlobur@mirantis.com" target="_blank">mlobur@mirantis.com</a>> wrote:</div><br></div></div><blockquote type="cite">
<div><div class="h5"><div dir="ltr"><div>Hi Folks,</div><div><br></div><div>Could someone please share his experience with Nova "Boot from ISO" feature [1]. </div><div><br></div><div>We test it on Havana + KVM, uploaded the image with <span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:13.63636302947998px;line-height:20px">DISK_FORMAT set to 'iso'. Windows deployment does not happen. </span><span style="line-height:20px;color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif">The VM has two volumes: one is config-2 (CDFS, ~400Kb, don't know what that is); and the second one is our flavor</span><span style="line-height:20px;color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif"> volume (80Gb). The windows ISO contents (about 500Mb) for some reason are inside a flavor volume instead of separate CD drive.</span></div>

<div><span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:13.63636302947998px;line-height:20px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:13.63636302947998px;line-height:20px">So far I found only two patches for nova: vmware [2] and Xen [3]. </span></div>

<div><span style="color:rgb(51,51,51);font-family:'Arial Unicode MS',Arial,sans-serif;font-size:13.63636302947998px;line-height:20px">Does it work with KVM? Maybe some specific nova configuration required for KVM.</span></div>

<div><br></div><div>[1] <a href="https://wiki.openstack.org/wiki/BootFromISO" target="_blank">https://wiki.openstack.org/wiki/BootFromISO</a></div><div>[2] <a href="https://review.openstack.org/#/c/63084/" target="_blank">https://review.openstack.org/#/c/63084/</a></div>

<div>[3] <a href="https://review.openstack.org/#/c/38650/" target="_blank">https://review.openstack.org/#/c/38650/</a></div><div><br></div><div><br></div><div><div dir="ltr"><font color="#444444">Thanks beforehand!</font></div>
<div dir="ltr">
<font color="#444444"><br>Max Lobur,<br>OpenStack Developer, Mirantis, Inc.<br></font><div><b><font color="#444444"><br></font></b></div><font color="#444444">Mobile: <a href="tel:%2B38%20%28093%29%20665%2014%2028" value="+380936651428" target="_blank">+38 (093) 665 14 28</a><br>
Skype: max_lobur<br></font><div>
<font color="#444444"><br></font></div><font color="#444444">38, Lenina ave. Kharkov, Ukraine</font><br><a href="http://www.mirantis.com/" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a></div>

</div>
</div></div></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></div></body></html>