S3 integration with swift and keystone havana

Asked by GP

I'm trying to enable s3 api compatibility for the havana release of Swift. I have a proxy setup with a self signed cert. The instructions out on the web seem to reference and older version of openstack and several of the steps don't seem to be valid anymore. It looks like I have to download fujita/swift3 separately now, and the s3token instructions don't seem valid as I get errors trying to enable keystone.swift_auth and there's some references on the web about how that was removed in havana.

Is there an updated set of instructions on how to enable and use s3 with swift? I'm a complete tyro to object storage and have never used s3 before so a very basic set of step by step instructions would be useful for me. It also looks like I need to create a set of s3 credentials in keystone using ec2-credentials-create as well, but I'm not finding any information about what to do with them once I've created them. I'm trying to connect to my swift cluster via cyberduck using the s3 connection type and using the access key id and secret values I got back from ec2-create-credentials but I keep getting an error "listing directory failed".

I should also mention that after installing fujita/swift3 and enabling swift3 in the pipeline using tempauth I can successfully connect with cyberduck to the proxy using the s3 connection type. So my problem seems to be with the keystone integration.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mehmet Hacısalihoğlu (esedmehmet) said :
#1

You can use in proxy-server.conf the following

[pipeline:main]
pipeline = catch_errors healthcheck cache swift3 s3token authtoken keystone proxy-server

[filter:s3token]
paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
auth_port = 35357
auth_host = KEYSTONE_IP
auth_protocol = http

example document http://docs.openstack.org/grizzly/openstack-compute/admin/content//configuring-swift-with-s3-emulation-to-use-keystone.html

Revision history for this message
WangChao (chaowsh) said :
#2

Hi GP, I am also tyro to s3. Now I have been enable swift3 in the pipeline using tempauth, however I did not connect by cyberduck, which confuse me long time., would you please give me some suggestions. Thanks very much!!!

Can you help with this problem?

Provide an answer of your own, or ask GP for more information if necessary.

To post a message you must log in.