Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have resolved this issue- need to perform the following 2 steps:

Step 1: as s3_token is a part of keystone and not keystoneclient, hence i have to install python-keystone on the proxy server. step 2: i have to replace the line "paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory" to "paste.filter_factory = keystone.middleware.s3_token:filter_factory"

after the above 2 steps my proxy-service is running.

Now i got into another issue - how to verify the s3 emulation is working or not? so far I have installed the boto using the following command "git clone https://github.com/boto/boto.g... cd boto; sudo python setup.py install".

Now when i am entering the following command : "connection = boto.connect_s3(aws_access_key_id='service:swift', aws_secret_access_key='swift', port=8080, host='10.0.0.154',is_secure=False, calling_format=boto.s3.connection.OrdinaryCallingFormat())" - i am receiving the following error message:

bash: syntax error near unexpected token '(

Please suggest as how i can use boto or any other client tool to test if s3 emulation is a success and i can create bucket!!

I have resolved this issue- need to perform the following 2 steps:

  • Step 1: as s3_token is a part of keystone and not keystoneclient, hence i have to install python-keystone on the proxy server. server.
  • step 2: i have to replace the line "paste.filter_factory paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory" keystoneclient.middleware.s3_token:filter_factory to "paste.filter_factory paste.filter_factory = keystone.middleware.s3_token:filter_factory"

    keystone.middleware.s3_token:filter_factory

after the above 2 steps my proxy-service is running.

Now i got into another issue - how to verify the s3 emulation is working or not? so far I have installed the boto using the following command "git clone https://github.com/boto/boto.g... cd boto; sudo python setup.py install".

Now when i am entering the following command : "connection = boto.connect_s3(aws_access_key_id='service:swift', aws_secret_access_key='swift', port=8080, host='10.0.0.154',is_secure=False, calling_format=boto.s3.connection.OrdinaryCallingFormat())" - i am receiving the following error message:

bash: syntax error near unexpected token '(

Please suggest as how i can use boto or any other client tool to test if s3 emulation is a success and i can create bucket!!