Ask Your Question
0

problem in setting up TempAuth authentication and authrization with swift

asked 2013-08-22 03:09:28 -0500

pragya jain gravatar image

updated 2013-08-26 00:08:29 -0500

fifieldt gravatar image

I am configuring swift on my PC on Ubuntu 12.04.

after configuring logging to a single, local file, I have to configure proxy server I changed the swift_hash_path_suffix using the command root@arun-Aspire-5742:~# vi /etc/swift/swift.conf

Then, start proxy server process root@arun-Aspire-5742:~# sudo swift-init proxy start Starting proxy-server...(/etc/swift/proxy-server.conf)

now, I have to set up TempAuth authentication and authrization with swift For this, I run following commands:

root@arun-Aspire-5742:~# sudo swift-init account start Starting account-server...(/etc/swift/account-server.conf) root@arun-Aspire-5742:~# sudo swift-init proxy restart Signal proxy-server pid: 2485 signal: 15 proxy-server (2485) appears to have stopped Starting proxy-server...(/etc/swift/proxy-server.conf)

root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag_2648' -H 'X-Auth-Key:pj2648' http://localhost/auth/v1.0/ * About to connect() to localhost port 80 (#0) * Trying 127.0.0.1... Connection refused * couldn't connect to host * Closing connection #0 curl: (7) couldn't connect to host

But, it shows an error in connecting to host.

Please help me in this regard.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-08-22 03:52:08 -0500

blazesurfer gravatar image

I just deployed on sles.

I had to make sure account management and account auto create was in the proxy-server.conf

I can look up my exact proxy-server.conf if that will help other wise I'm sure I found a step by step for swift install buy it self for basic auth.

Would you like me to dig it out?

edit flag offensive delete link more

Comments

http://docs.openstack.org/developer/swift/development_saio.html

blazesurfer gravatar imageblazesurfer ( 2013-08-22 05:01:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-22 03:09:28 -0500

Seen: 200 times

Last updated: Aug 22 '13