Discussion:
Boot from volume with fog for use in knife-openstack
Ian D. Rossi
2013-09-18 20:33:12 UTC
Permalink
I have been trying to extend knife-openstack to provision Openstack VMs
that boot from volume. I managed to get a "knife openstack snapshot list"
command working to show the list of volume snapshots like I'd like to
create a bootable volume from, but it appears that fog may not support boot
from volume. Can anyone confirm this?

I need this because my private Openstack cloud uses Ceph to storge all
volumes and we've decided not to use any ephemeral storage, only bootable
volumes backed by Ceph and therefore HA.

Thanks.

Kind regards,

Ian D. Rossi
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Rupak Ganguly
2013-09-18 22:38:02 UTC
Permalink
Ian,
It is supported from what I can see:
https://github.com/fog/fog/blob/master/lib/fog/openstack/requests/compute/create_server.rb
You need to pass in the block-device-mapping parameter to the Compute ->
create_server call get the desired effect of booting from a volume. Hope
this helps.

Thanks,
Rupak Ganguly
Ph: 678-648-7434
Post by Ian D. Rossi
I have been trying to extend knife-openstack to provision Openstack VMs
that boot from volume. I managed to get a "knife openstack snapshot list"
command working to show the list of volume snapshots like I'd like to
create a bootable volume from, but it appears that fog may not support boot
from volume. Can anyone confirm this?
I need this because my private Openstack cloud uses Ceph to storge all
volumes and we've decided not to use any ephemeral storage, only bootable
volumes backed by Ceph and therefore HA.
Thanks.
Kind regards,
Ian D. Rossi
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...