[Openstack] problem in setting up TempAuth authentication and authrization with swift
pragya jain
prag_2648 at yahoo.co.in
Thu Aug 22 08:17:42 UTC 2013
hello all
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
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 at arun-Aspire-5742:~# sudo swift-init account start
Starting account-server...(/etc/swift/account-server.conf)
root at 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 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.
---
Thanks
Pragya Jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130822/4ada2327/attachment.html>
More information about the Openstack
mailing list