How to configure swift s3 api

asked 2016-12-15 04:40:22 -0600

BigStack gravatar image

updated 2016-12-19 14:23:30 -0600

rbowen gravatar image

We are trying to configure Swift S3 API on OpenStack mitaka RDO using the documentation from swift3 github(

The following are the steps we done so far.

Installed swift3:

git clone
python install

Updated the pipeline:main section as below

pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit swift3 s3token authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server

Added filter:swift and filter:s3token.

use = egg:swift3#swift3

paste.filter_factory = keystonemiddleware.s3_token:filter_factory
auth_uri = http://controller:35357

Restarted the swift proxy service

systemctl restart openstack-swift-proxy

and created a ec2 credential for demo account from controller.

openstack ec2 credentials create

The Proxy service has been successfully restarted without any error but still we are not able to see "EC2 Access Key" and "EC2 Secret Key" on the dashboard (Project -> Compute -> Access & Security-> API Access tab).

We can list the ec2 credentials from controller command line using Openstack command "openstack ec2 credentials list"

Also, we cannot connect with s3curl.

./ --id=personal
<?xml version='1.0' encoding='UTF-8'?>
<Error><Code>InvalidBucketName</Code><Message>The specified bucket is not valid.</Message><RequestId>txe169627a2e4e4af19da06-005852722b</RequestId><BucketName>v1</BucketName></Error>

Can someone shed some light here?

edit retag flag offensive close merge delete