Ask Your Question

Upload file using OpenStack Cinder

asked 2014-04-12 05:32:18 -0600

mani619cash gravatar image

Can we upload file using OpenStack Cinder?

I have installed OpenStack via DevStack and has no Swift enabled.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-12 06:57:18 -0600

Ignacio Mulas gravatar image

The short question is no.

Cinder is meant to be used for block storage (e.g volumes). This means that is a storage area that will be used by your VMs and at the moment one volume can belong to one VM simultaneoulsy (although this might change in the future,

Cinder Api reference:

Swift is used for object storage, the main difference between volume and object is that the object is retrievable from the API (and hence, not attached to a specific VM) and the volume can only be accessed through the VM.

Swift Api reference:

For a file, I would suggest you enable and use Swift.

edit flag offensive delete link more


How do I install Swift using DevStack while I am getting many errors while doing so! Can I upload files to SwifT/

mani619cash gravatar imagemani619cash ( 2014-04-12 07:21:01 -0600 )edit

Swift should be installed providing the rigt options in the local.conf: Check this other thread where it is explained how to make a swift enabled installation:

Swift can handle objects so you should be able to upload files to it. See this example where they are uploading a photo to swift thorugh the REST API:

Ignacio Mulas gravatar imageIgnacio Mulas ( 2014-04-13 05:09:53 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-12 05:32:18 -0600

Seen: 443 times

Last updated: Apr 12 '14