Ask Your Question
0

what is the difference between nova-objectstore and swift as object storage

asked 2011-05-05 14:07:13 -0500

diego-lalo gravatar image

Hi everyone, I have a doubt about the object storage system of OpenStack, between the nova services is nova-objectstore and there is also a project called Swift for object storage. My question is, what is the difference between this two modes of object storage? There is also another question I have, how can I configure OpenStack to use swift as objectstorage? What flags should I set in the compute nodes and what flags should I set in the cloud controller to use swift correctly. Thanx in advance for your help.

Cheers Diego

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-05-06 14:45:57 -0500

diego-lalo gravatar image

ty jay

edit flag offensive delete link more
0

answered 2011-05-05 14:22:28 -0500

jaypipes gravatar image

On Thu, May 5, 2011 at 10:07 AM, Diego Lalo question156113@answers.launchpad.net wrote:

Hi everyone, I have a doubt about the object storage system of OpenStack, between the nova services is nova-objectstore and there is also a project called Swift for object storage. My question is, what is the difference between this two modes of object storage? There is also another question I have, how can I configure OpenStack to use swift as objectstorage? What flags should I set in the compute nodes and what flags should I set in the cloud controller to use swift correctly. Thanx in advance for your help.

Hi!

So, nova-objectstore and Swift are very different things. Swift is a full-fledged distributed object-storage system. nova-objectstore is a filesystem-backed, non-production object-storage server that speaks the S3 protocol/interface.

Currently, nova-objectstore is only used by Nova to facilitate the interaction between euca2ools that do image bundling and uploading (euca-bundle-image, euca-upload-bundle, uec-publish-tarball, etc). Those euca2ools must use the EC2 "way" of bundling image parts (kernel, ramdisk, etc) into an encrypted machine image and manifest.xml file that describes the image. Unfortunately, these tools require an objectstore that speaks the S3 protocol to store the intermediate image parts as well as the manifest.xml file. nova-objectstore is that objectstore.

Within Nova, there is a shim called nova.image.s3.S3ImageService. This shim does the work of reading the various image parts and manifest.xml file from nova-objectstore, decrypting the encrypted image, untarring the image tarball, and storing the decrypted machine image in an image service. There are currently 2 image services that Nova can use: the local image service and Glance. Setting --image_service=nova.image.glance.GlanceImageService will allow you to store the usable, bootable images that the S3ImageService has decrypted in a variety of storage systems, notably Swift.

The recommended setup that goes in nova.conf is:

--image_service=nova.image.glance.GlanceImageService --glance_host=<glance_ip> --glance_port=<glance_port>

You can find more information on installing and configuring Glance here:

http://glance.openstack.org/installin... http://glance.openstack.org/configuri...

Hope this explains things a bit more.

Cheers, jay

edit flag offensive delete link more

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

Stats

Asked: 2011-05-05 14:07:13 -0500

Seen: 86 times

Last updated: May 06 '11