[Openstack] Cinder volume as root in Grizzly?

Logan McNaughton logan at bacoosta.com
Tue Mar 12 01:09:44 UTC 2013


Oh great! I didn't realize you can create a cinder volume from an image. So
can I pass cinder a QCOW2 image, then boot from that volume?
On Mar 11, 2013 7:16 PM, "Vishvananda Ishaya" <vishvananda at gmail.com> wrote:

> Not exactly, although you can do something similar in both folsom and
> grizzly. If you have a volume snapshot you can pass it in the
> block_device_mapping when you boot an instance and nova will automatically
> create a volume from the snapshot and boot from it. If you also set
> delete_on_terminate true you have roughly the same experience as an EBS
> backed instance.
>
> nova boot --block-device-mapping vda=<snap-id>:snap:<size>:True
>
>
> You cannot currently pass an image id and get a volume backed instance. It
> requires two steps
>
> cinder create --image-id=<image-id>
> nova boot --block-device-mapping vda=<vol-id>
>
> Vish
>
>
>
> On Mar 11, 2013, at 6:24 AM, Logan McNaughton <logan at bacoosta.com> wrote:
>
> Will Grizzly support specifying an empty Cinder volume as an instance's
> root device?
>
> Right now you need to setup the volume before hand and you can "boot from
> volume". But will there be support similar to AWS EBS-backed instances in
> Grizzly?
> _______________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130311/ebba493a/attachment.html>


More information about the Openstack mailing list