[Openstack-operators] Using OpenStack in my office

Ken Pepple ken.pepple at gmail.com
Wed Jun 15 14:02:56 UTC 2011

On Jun 15, 2011, at 7:24 PM, Shai Ben-Naphtali wrote:
> The problem is, that from what I understand, Object Store API doesn't work with boto. And since my script today uses boto, I need to be able to do minimal changes to it, in order to make it work for me if I decide to work with OpenStack. So the question, is there any other way 
> (workaround) to make the Object Store API with boto since it isn't yet 
> supported?
> I'm sure someone else had this same concern and I look forward to your response.

Annyeong-haseyo Shai:

Didn't realize that you were talking about S3 compatibility as well as EC2 compatibility :)

AFAIK, The object store (OpenStack Swift) supports the OpenStack API natively (which boto does not support) but also supports the much of the S3 protocol (which boto does support) via WSGI middleware options. From the trunk/swift/common/middleware/swift3.py file:

> The swift3 middleware will emulate the S3 REST api on top of swift.
> The following opperations are currently supported:
>     * GET Service
>     * DELETE Bucket
>     * GET Bucket (List Objects)
>     * PUT Bucket
>     * DELETE Object
>     * GET Object
>     * HEAD Object
>     * PUT Object
>     * PUT Object (Copy)
> To add this middleware to your configuration, add the swift3 middleware
> in front of the auth middleware, and before any other middleware that
> look at swift requests (like rate limiting).

You'll need to include the Swift3 middleware into your WSGI pipeline (it's a configuration option in the /etc/proxy-server.conf file). 


Ken Pepple
ken.pepple at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110615/60635579/attachment-0002.html>

More information about the Openstack-operators mailing list