Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 4

Answer by SamYaple for I have used Cinder and have no issues attaching block storage to VMs but I have been looking into the swift object storage only I down know how to build a Vm instance and get it to use the object storage as storage for my VM and not Block Storage, Can anyone help me with this or is this possible? Thanks,

Previous: Comment by SamYaple for You can use swift as a backend for Glance. This would put the base of your VM in object storage, but it would not allow persitent storage for the VM, only ephemeral. If you want block storage based in object storage, look into ceph. Depending on who you ask, ceph is better than Swift since it has block AND object storage on the same backend (and a POSIX fs that is not production ready yet). Ceph has a full cinder driver and works extremly well. You can even use Ceph in place of Swift for an object storage endpoint for openstack, though it will not work as well as Swift in this regard. To enable swift as Glance backend, enable glance-api.conf config with the following: default_store = swift swift_store_create_container_on_put = True swift_store_auth_address = http://keystoneurl:keystoneport/v2.0/ swift_store_user = glance:glance swift_store_key = galnceswiftpassword Make sure to adjust those urls and credentials to match your enviroment.
$
0
0
You can use swift as a backend for Glance. This would put the base of your VM in object storage, but it would not allow persitent storage for the VM, only ephemeral. If you want block storage based in object storage, look into [ceph](http://ceph.com/). Depending on who you ask, ceph is better than Swift since it has block AND object storage on the same backend (and a POSIX fs that is not production ready yet). Ceph has a full cinder driver and works extremly well. You can even use Ceph in place of Swift for an object storage endpoint for openstack, though it will not work as well as Swift in this regard. ------- To enable swift as Glance backend, enable `glance-api.conf` config with the following: default_store = swift swift_store_create_container_on_put = True swift_store_auth_address = http://keystoneurl:keystoneport/v2.0/ swift_store_user = glance:glance swift_store_key = galnceswiftpassword Make sure to adjust those urls and credentials to match your enviroment.

Viewing all articles
Browse latest Browse all 4

Trending Articles