<div>On Fri, Feb 10, 2012 at 8:51 PM, Tomoe Sugihara <span dir="ltr"><<a href="mailto:tomoe@midokura.com">tomoe@midokura.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
Could someone tell me what is the right way to do boot-from-volume?<br>
Especially, how to create boot-from-volume capable image and volume?<br>
My understanding is that, since openstack API requires imageRef, we<br>
need to pass in both image and volume ids.<br></blockquote><div><br></div><div>I was actually playing with this today, and just put up a review that adds a devstack exercise to create and launch a bootable volume.  It is true that --image is still required when booting from a volume - I have not investigated yet if that is a bug or a consequence of how boot-from-volume is implemented as an extension (which still may fall into the bug category).<div>
<br></div><div><a href="https://review.openstack.org/4044">https://review.openstack.org/4044</a> </div></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
I thought that create_image in EC2 API would be the one and tried, but<br>
it's totally broken now:<br>
<a href="https://bugs.launchpad.net/nova/+bug/923546" target="_blank">https://bugs.launchpad.net/nova/+bug/923546</a><br>
And, I didn't find equivalent code in OpenStack API. </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'd appreciate any help on this and I'd be happy to help debug the issue.<br></blockquote><div><br></div><div>Hopefully the code above will give you some direction to get started.  My experience thus far is that the end-to-end experience of using this feature needs some work, so I'll probably file some bugs and patches while I muck with it.  So it would be great if you took a look and did the same:) </div>
<div><br></div><div>Anthony</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Tomoe<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">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" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div>