[Openstack] problem in setting up TempAuth authentication and authrization with swift
prag_2648 at yahoo.co.in
Thu Aug 22 08:17:42 UTC 2013
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 at arun-Aspire-5742:~# vi /etc/swift/swift.conf
Then, start proxy server process
root at arun-Aspire-5742:~# sudo swift-init proxy start
now, I have to set up TempAuth authentication and authrization with swift
For this, I run following commands:
root at arun-Aspire-5742:~# sudo swift-init account start
root at arun-Aspire-5742:~# sudo swift-init proxy restart
Signal proxy-server pid: 2485 signal: 15
proxy-server (2485) appears to have stopped
root at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack