Ask Your Question

boto.exception.S3ResponseError: S3ResponseError: 404 Not Found [closed]

asked 2013-08-09 06:00:54 -0500

RohitGupta gravatar image

Dear Forum,

I have followed the below document to configure S3 emulation with Swift using Keystone as Auth middleware:

I have deployed multi node setup of swift whereby my keystone server, proxy server and storage nodes are separate servers. For assumption: Keystone Server: Proxy Server: Storage node:

In order to verify S3 is properly configured or not I am using Boto code on the Swift Proxy server with the following commands:

import boto 
import boto.s3.connection
connection = boto.connect_s3(aws_access_key_id='service:swift',
                             port=5000, host='', is_secure=False,


I have given the Host, port aws_access_key_id, aws_secret_access_key considering I need to connect with Keystone server and not proxy server. Besides the following swift command is working fine and showing the containers\objects properly: swift -V 2.0 -A -U service:swift -K swift stat

I am getting the following error message:

Traceback (most recent call last):
  File "", line 11, in <module>
  File "/usr/local/lib/python2.7/dist-packages/boto-2.9.9-py2.7.egg/boto/s3/", line 504, in create_bucket
    response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 404 Not Found

Please suggest!!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by RohitGupta
close date 2013-08-09 09:17:29.210271

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-09 09:17:21 -0500

RohitGupta gravatar image

Chmouel's help solved the issue - thanks Chmouel.

edit flag offensive delete link more



Can I know the answer of this question?

jayesh gravatar imagejayesh ( 2013-11-16 19:27:49 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-08-09 06:00:54 -0500

Seen: 1,405 times

Last updated: Aug 09 '13