[Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift

pragya jain prag_2648 at yahoo.co.in
Wed Aug 28 16:01:04 UTC 2013


hello sir,

Please help me in knowing how to use 8080 port 





>________________________________
> From: Amanda Plimpton <amanda at swiftstack.com>
>To: pragya jain <prag_2648 at yahoo.co.in> 
>Cc: "joe at swiftstack.com" <joe at swiftstack.com>; "contact at swiftstack.com" <contact at swiftstack.com>; anita goel <goel.anita at gmail.com> 
>Sent: Tuesday, 27 August 2013 9:40 AM
>Subject: Re: Fw: problem in setting up Tempauth authentication & authorization with Swift
> 
>
>
>Hello,
>
>Did Edward's suggestion of using port 8080 help at all? The error seems to indicate a network setting issue. You may wish to double check the settings and configuration.
>
>
>Given your interest in Swift I would also recommend locating a nearby OpenStack group or attending an event such as http://openstackindia.wordpress.com/2013/08/14/openstack-india-day-2013-announced/ 
>
>
>
>Thank you,
>Amanda
>
>SwiftStack Inc.
>swiftstack.com
>
>
>
>
>On Mon, Aug 26, 2013 at 8:55 PM, pragya jain <prag_2648 at yahoo.co.in> wrote:
>
>hello sir!
>>
>>
>>Please help me in setting up Tempauth authentication & authorization with Swift.
>>same error is continued.
>>
>>
>>----- Forwarded Message -----
>>>From: pragya jain <prag_2648 at yahoo.co.in>
>>>To: "joe at swiftstack.com" <joe at swiftstack.com>; "clay.gerrard at gmail.com" <clay.gerrard at gmail.com>; "contact at swiftstack.com" <contact at swiftstack.com>; "openstack at ask.openstack.org" <openstack at ask.openstack.org>; "openstack at lists.openstack.org" <openstack at lists.openstack.org> 
>>>Cc: anita goel <goel.anita at gmail.com> 
>>>
>>>Sent: Monday, 26 August 2013 12:06 PM
>>>Subject: problem in setting up Tempauth authentication & authorization with Swift
>>> 
>>>
>>>
>>>hello,
>>>
>>>I have to configure proxy server.
>>>For this, 
>>>
>>>I have to edit /etc/swift/swift.conf and change the 
swift_hash_path_suffix to something secret and then, start the proxy 
server process
>>>
>>>
>>>for this, I use the following commands:root at arun-Aspire-5742:~# vi /etc/swift/swift.conf
>>>
>>>make following changes (highlighted) in the file:
>>>swift_hash_path_suffix =pragya 
>>>swift_hash_path_prefix =jain 
>>>
>>>save and exit.
>>>then, I run the command:
>>>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 & authorization with Swift
>>>for this, I run the following command:
>>>root at arun-Aspire-5742:~# vi /etc/swift/proxy-server.conf
>>>
>>>make following changes (highlighted) in the file:
>>>allow_account_management =true 
>>>...
>>>[filter:tempauth]
>>>use = egg:swift#tempauth
>>>...
>>>user_admin_admin = admin .admin .reseller_admin
>>>user_test_tester = testing .admin
>>>user_test2_tester2 = testing2 .admin
>>>user_test_tester3 = testing3
>>>user_prag2648_pragya = pj2648.admin.reseller_admin
>>>...
>>>
>>>save and exit
>>>Then, 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: 2476  signal: 15
>>>proxy-server (2476) appears to have stopped
>>>Starting proxy-server...(/etc/swift/proxy-server.conf)
>>>root at arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -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, there is an error in establising a connection.
>>>
>>>if, I run the command to start proxy server, then it shows that proxy server is already started.
>>>root at arun-Aspire-5742:~# sudo swift-init proxy start
>>>proxy-server running (2935 - /etc/swift/proxy-server.conf)
>>>proxy-server already started...
>>>
>>>Please help me in this regard.
>>>---
>>>
>>>Thanks 
>>>
>>>Pragya Jain
>>>
>>>
>>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130829/5a7372c6/attachment.html>


More information about the Openstack mailing list