Ask Your Question

BigStack's profile - activity

2017-03-01 15:55:54 -0600 received badge  Famous Question (source)
2017-01-14 11:43:07 -0600 received badge  Notable Question (source)
2016-12-29 02:39:57 -0600 received badge  Popular Question (source)
2016-12-17 11:13:28 -0600 asked a question How to configure swift s3 api

We are trying to configure Swift S3 API on OpenStack mitaka RDO using the documentation from swift3 github(https://github.com/openstack/swift3)

The following are the steps we done so far.

Installed swift3:

git clone https://git.openstack.org/openstack/swift3
python setup.py 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.

[filter:swift3]
use = egg:swift3#swift3

[filter:s3token] 
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.

./s3curl.pl --id=personal http://myswiftproxyendpoint.com:8080/v1/AUTH_2f80c33256c26f4a325235325238f6d808/test/test.txt
<?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?

2016-12-15 05:38:48 -0600 received badge  Notable Question (source)
2016-10-12 07:48:27 -0600 received badge  Popular Question (source)
2016-09-13 02:53:48 -0600 received badge  Enthusiast
2016-09-05 21:07:17 -0600 asked a question How to update swift storage url

I have got a new DNS for my swift cluster and I want to update the storage url with new DNS. Can anyone tell me how I can update the storage url?