<div dir="ltr">Pragya<div><br></div><div>The v1.0 auth uses tempauth for swift, like what you config in proxy-server.conf. All account data is read from that file, so you couldn't add/delete account in tempauth without modifying config file and restart swift.</div>
<div><br></div><div>BTW, your curl link here "<span style="font-family:'bookman old style','new york',times,serif;font-size:16px">curl -v -H 'X-Storage-Token:AUTH_</span><span style="font-family:'bookman old style','new york',times,serif;font-size:16px">tk3867b7599d5346559ee0baaa09e0</span><span style="font-family:'bookman old style','new york',times,serif;font-size:16px">f40d' </span><a href="http://localhost:8080/v1/AUTH_prag2648/" target="_blank" style="font-family:'bookman old style','new york',times,serif;font-size:16px">http://localhost:8080/v1/AUTH_prag2648/</a>" actually is a GET request, which means getting account data. If you config everything correctly, it must have valid response. And you logs are a better way to find what happened in this request (set log level to DEBUG, and you will get more details).</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 7:47 AM, Kuo Hugo <span dir="ltr"><<a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Pragya, <div><br></div><div>I need more information. </div><div><br></div><div>1) Please draw a network topology of your environment</div>
<div>2) How many nodes do you have?  </div><div>3) What's the ring looks like ?</div><span class="HOEnZb"><font color="#888888">
<div><br></div><div><br></div></font></span><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><div><div dir="ltr"><div>Hugo Kuo</div><div><a href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br>
</div><div><a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com<br>
</a></div><div>+886 935004793<br></div></div></div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">2013/8/29 pragya jain <span dir="ltr"><<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:bookman old style,new york,times,serif"><div style="font-family:'bookman old style','new york',times,serif;font-size:12pt"><span>hello sir,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'bookman old style','new york',times,serif">

<span><br></span></div><div>connection is established successfully. But, when I try to create an account, I face the problem.</div><div><div><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:'bookman old style','new york',times,serif">

root@arun-Aspire-5742:~# sudo swift-init account start</div><div>Starting account-server...(/etc/swift/account-server.conf)</div><div>root@arun-Aspire-5742:~# sudo swift-init proxy start</div><div>Starting
 proxy-server...(/etc/swift/proxy-server.conf)</div></div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-Key:pj2648' <a href="http://localhost:8080/auth/v1.0/" target="_blank">http://localhost:8080/auth/v1.0/</a></div>

<div>* About to connect() to localhost port 8080 (#0)</div><div>*   Trying 127.0.0.1... connected</div><div>> GET /auth/v1.0/ HTTP/1.1</div><div>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/<a href="http://1.2.3.4" target="_blank">1.2.3.4</a> libidn/1.23 librtmp/2.3</div>

<div>> Host: localhost:8080</div><div>> Accept: */*</div><div>> X-Auth-User:prag2648:pragya</div><div>> X-Auth-Key:pj2648</div><div>> </div><div>< HTTP/1.1 200 OK</div><div>< X-Storage-Url: <a href="http://localhost:8080/v1/AUTH_prag2648" target="_blank">http://localhost:8080/v1/AUTH_prag2648</a></div>

<div>< X-Auth-Token: AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>< Content-Type: text/html; charset=UTF-8</div><div>< X-Storage-Token: AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>< Content-Length: 0</div>

<div>< X-Trans-Id:
 txe2ab76a7617e40399f456-00521f3d16</div><div>< Date: Thu, 29 Aug 2013 12:22:46 GMT</div><div>< </div><div>* Connection #0 to host localhost left intact</div><div>* Closing connection #0</div><div>root@arun-Aspire-5742:~# python</div>

<div>Python 2.7.3 (default, Apr 10 2013, 05:46:21) </div><div>[GCC 4.6.3] on linux2</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div><div>
>>> import swift.common.memcached as memcached</div>
<div>>>> memcache = memcached.MemcacheRing(['127.0.0.1:11211'])</div><div>>>> print memcache.get('AUTH_/user/prag2648:pragya')</div><div>AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>

>>> print memcache.get('AUTH_/token/AUTH_tk3867b7599d5346559ee0baaa09e0f40d')</div><div>[1377865366.826027, 'prag2648,prag2648:pragya,.reseller_admin,AUTH_prag2648']</div><div>>>> </div>
<div>
<div>root@arun-Aspire-5742:~# curl -v -H
 'X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d' <a href="http://127.0.0.1/v1/Auth_prag2648/" target="_blank">http://127.0.0.1/v1/Auth_prag2648/</a></div><div>* About to connect() to 127.0.0.1 port 80 (#0)</div>

<div><div>*   Trying 127.0.0.1... Connection refused</div><div>* couldn't connect to host</div><div>* Closing connection #0</div><div>curl: (7) couldn't connect to host</div></div><div><div>root@arun-Aspire-5742:~# curl -v -H 'X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d' <a href="http://localhost:8080/v1/AUTH_prag2648/" target="_blank">http://localhost:8080/v1/AUTH_prag2648/</a></div>

<div>* About to connect() to localhost port 8080 (#0)</div><div>*   Trying 127.0.0.1... connected</div><div>> GET /v1/AUTH_prag2648/ HTTP/1.1</div><div>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/</div>

</div></div></div><div><div>1.2.3.4 libidn/1.23 librtmp/2.3</div><div>> Host: localhost:8080</div><div>> Accept: */*</div><div>> X-Storage-Token:AUTH_tk3867b7599d5346559ee0baaa09e0f40d</div><div>> </div><div>
< HTTP/1.1
 503 Internal Server Error</div><div>< Content-Length: 118</div><div>< Content-Type: text/html; charset=UTF-8</div><div>< X-Trans-Id: txd6fd9eead36e4b74b0869-00521f3efe</div><div>< Date: Thu, 29 Aug 2013 12:30:55 GMT</div>

<div>< </div><div>* Connection #0 to host localhost left intact</div><div>* Closing connection #0</div><div><html><h1>Service Unavailable</h1><p>The server is currently unavailable. Please try again at a later time.</p></html>root@arun-Aspire-5742:~# </div>

<div><div><br></div><div>Please help me in this regard.</div><div><br></div><div>---</div><div><br></div></div><div>Pragya Jain</div></div><div style="font-family:'bookman old style','new york',times,serif;font-size:12pt">

<blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:'bookman old style','new york',times,serif;font-size:12pt">
 <div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> pragya jain <<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>

 <b><span style="font-weight:bold">To:</span></b> Kuo Hugo <<a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>> <br><b><span style="font-weight:bold">Cc:</span></b> "<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>> <br>

<div><div> <b><span style="font-weight:bold">Sent:</span></b> Thursday, 29 August 2013 4:47 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br>

 </div></div></font> </div><div><div> <div><br><div><div><div style="font-size:12pt;font-family:'bookman old style','new york',times,serif">Thanks Kuo very much for this
 help.<br>connection is successfully established.<br><div><span><br></span></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:'bookman old style','new york',times,serif;font-size:12pt">

 <div style="font-family:'times new roman','new york',times,serif;font-size:12pt"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Kuo Hugo <<a href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>

 <b><span style="font-weight:bold">To:</span></b> pragya jain <<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>> <br><b><span style="font-weight:bold">Cc:</span></b> "<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>> <br>

 <b><span style="font-weight:bold">Sent:</span></b>
 Thursday, 29 August 2013 3:46 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br> </font> </div> <div><br><div>

<div dir="ltr"><font color="#ff9900">curl -v -H 'X-Auth-User:admin:admin' -H 'X-Auth-Key:admin' <a rel="nofollow" href="http://localhost:8080/auth/v1.0/" target="_blank">http://localhost:8080/auth/v1.0/</a></font><br>

<br><br>+Hugo Kuo+<br>
<a rel="nofollow" href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br><a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a><br><a href="tel:%2B886%20935004793" value="+886935004793" target="_blank">+886 935004793</a><br>

<br><br>2013/8/29 pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>
><br>> root@arun-Aspire-5742:~# netstat -antulp | grep 8080<br>> tcp        0      0 <a rel="nofollow" href="http://0.0.0.0:8080/" target="_blank">0.0.0.0:8080</a>            0.0.0.0:*               LISTEN      2421/python   <br>

><br>> user = swift<br>
><br>> ________________________________<br>> From: Kuo Hugo <<a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>> To: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


> Cc: "<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>

> Sent: Thursday, 29 August 2013 2:47 PM<br>
><br>> Subject: Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br>><br>> <span></span>gt; netstat -antulp | grep 8080 <br>><br>> 1) is 8080 port been used ?<br>


> 2) What's the value of *user* parameter in proxy-server.conf  <a rel="nofollow" href="https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L7" target="_blank">https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample#L7</a><br>


><br>><br>><br>> +Hugo Kuo+<br>> <a rel="nofollow" href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br>> <a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a><br>

> <a href="tel:%2B886%20935004793" value="+886935004793" target="_blank">+886 935004793</a><br>><br>><br>> 2013/8/29 pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


><br>> hello sir,<br>><br>> I run the command:<br>><br>> root@arun-Aspire-5742:~# find / -name swift-proxy-server<br>> /opt/swift/build/scripts-2.7/swift-proxy-server<br>> /opt/swift/bin/swift-proxy-server<br>


> /usr/local/bin/swift-proxy-server<br>> /usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/EGG-INFO/scripts/swift-proxy-server<br>><br>> root@arun-Aspire-5742:~# /usr/bin/python /usr/local/bin/swift-proxy-server /etc/swift/proxy-server.conf<br>


> Traceback (most recent call last):<br>>   File "/usr/local/bin/swift-proxy-server", line 5, in <module><br>>     pkg_resources.run_script('swift==1.9.2', 'swift-proxy-server')<br>


>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script<br>>     self.require(requires)[0].run_script(script_name, ns)<br>>   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script<br>


>     execfile(script_filename, namespace, namespace)<br>>   File "/usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/EGG-INFO/scripts/swift-proxy-server", line 22, in <module><br>>     run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)<br>


>   File "/usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/swift/common/wsgi.py", line 251, in run_wsgi<br>>     sock = get_socket(conf, default_port=kwargs.get('default_port', 8080))<br>


>   File "/usr/local/lib/python2.7/dist-packages/swift-1.9.2-py2.7.egg/swift/common/wsgi.py", line 168, in get_socket<br>>     bind_addr[0], bind_addr[1], bind_timeout))<br>> Exception: Could not bind to <a rel="nofollow" href="http://0.0.0.0:8080/" target="_blank">0.0.0.0:8080</a> after trying for 30 seconds<br>


><br>><br>> ________________________________<br>> From: Kuo Hugo <<a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>> To: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


> Cc: "<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>

> Sent: Thursday, 29 August 2013 2:19 PM<br>
><br>> Subject: Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br>><br>> find out the swift-proxy-server binary in your OS.  (The path in example just an assumption) <br>


><br>> <span></span>gt; find / -name swift-proxy-server<br>><br>><br>><br>> +Hugo Kuo+<br>> <a rel="nofollow" href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br>> <a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a><br>


> <a href="tel:%2B886%20935004793" value="+886935004793" target="_blank">+886 935004793</a><br>><br>><br>> 2013/8/29 pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>

><br>> hello sir<br>><br>> Thanks for the help<br>><br>> root@arun-Aspire-5742:~# /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf<br>
> /usr/bin/python: can't open file '/usr/bin/swift-proxy-server': [Errno 2] No such file or directory<br>><br>> this is the result of the command.<br>><br>> please help in this regard.<br>><br>


> -----<br>> Pragya Jain<br>><br>> ________________________________<br>> From: Kuo Hugo <<a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>> To: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


> Cc: "<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>

> Sent: Thursday, 29 August 2013 1:20 PM<br>
><br>> Subject: Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br>><br>> Obviously, There's no proxy server running on your node. <br>><br>> Please execute it on the node where proxy-server located: <br>


> (I assume the binary is in /usr/bin and conf file is in /etc/swift) <br>><br>> <span></span>gt; /usr/bin/python /usr/bin/swift-proxy-server /etc/swift/proxy-server.conf<br>><br>> What's the result ?<br>


><br>> +Hugo Kuo+<br>> <a rel="nofollow" href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br>> <a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a><br>

> <a href="tel:%2B886%20935004793" value="+886935004793" target="_blank">+886 935004793</a><br>><br>><br>> 2013/8/29 pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


><br>> hello sir<br>><br>> Thanks for the suggestion.<br>><br>> (1) I give the space between pj2648 and .admin and also between .admin and .reseller_admin and tried the connection again, but face the same problem<br>


><br>> root@arun-Aspire-5742:~# vi /etc/swift/proxy-server.conf<br>><br>> and make following changes:<br>><br>><br>> user_admin_admin = admin .admin .reseller_admin<br>> user_test_tester = testing .admin<br>


> user_test2_tester2 = testing2 .admin<br>> user_test_tester3 = testing3<br>><br>> user_prag2648_pragya = pj2648 .admin .reseller_admin<br>><br>> and then<br>><br>> root@arun-Aspire-5742:~# sudo swift-init account start<br>


> Starting account-server...(/etc/swift/account-server.conf)<br>> root@arun-Aspire-5742:~# sudo swift-init proxy start<br>><br>> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-Key:pj2648' <a rel="nofollow" href="http://localhost/auth/v1.0/" target="_blank">http://localhost/auth/v1.0/</a><br>


> * About to connect() to localhost port 80 (#0)<br>> *   Trying 127.0.0.1... Connection refused<br>> * couldn't connect to host<br>> * Closing connection #0<br>> curl: (7) couldn't connect to host<br>


><br>> (2) I also tired the connection with user admin:admin<br>> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:admin:admin' -H 'X-Auth-Key:admin' <a rel="nofollow" href="http://localhost/auth/v1.0/" target="_blank">http://localhost/auth/v1.0/</a><br>


><br>> * About to connect() to localhost port 80 (#0)<br>> *   Trying 127.0.0.1... Connection refused<br>> * couldn't connect to host<br>> * Closing connection #0<br>> curl: (7) couldn't connect to host<br>


><br>> (3) I also run the command to verify the port number of proxy<br>> root@arun-Aspire-5742:~# ps aux | grep proxy<br>> nobody    2124  0.0  0.0   5384  1164 ?        S    10:39   0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid --listen-address=127.0.0.1 --conf-file=/var/run/nm-dns-dnsmasq.conf --cache-size=0 --proxy-dnssec<br>


> root      2724  0.0  0.0   4368   828 pts/0    R+   10:52   0:00 grep --color=auto proxy<br>> root@arun-Aspire-5742:~# netstat -antulp<br>> Active Internet connections (servers and established)<br>> Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name<br>


> tcp        0      0 <a rel="nofollow" href="http://127.0.0.1:11211/" target="_blank">127.0.0.1:11211</a>         0.0.0.0:*               LISTEN      931/memcached  <br>> tcp        0      0 <a rel="nofollow" href="http://127.0.0.1:53/" target="_blank">127.0.0.1:53</a>            0.0.0.0:*               LISTEN      2124/dnsmasq   <br>


> tcp        0      0 <a rel="nofollow" href="http://127.0.0.1:631/" target="_blank">127.0.0.1:631</a>           0.0.0.0:*               LISTEN      623/cupsd      <br>> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:51521/" target="_blank">115.184.7.223:51521</a>     <a rel="nofollow" href="http://74.125.236.132/" target="_blank">74.125.236.132:80</a>       TIME_WAIT   -              <br>


> tcp        1      0 <a rel="nofollow" href="http://115.184.7.223:46280/" target="_blank">115.184.7.223:46280</a>     <a rel="nofollow" href="http://91.189.89.144/" target="_blank">91.189.89.144:80</a>        CLOSE_WAIT  1663/ubuntu-geoip-p<br>

> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:60563/" target="_blank">115.184.7.223:60563</a>     <a rel="nofollow" href="http://173.194.38.147/" target="_blank">173.194.38.147:80</a>       TIME_WAIT   -              <br>


> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:43256/" target="_blank">115.184.7.223:43256</a>     <a rel="nofollow" href="http://124.124.201.179/" target="_blank">124.124.201.179:80</a>      TIME_WAIT   -              <br>

> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:41791/" target="_blank">115.184.7.223:41791</a>     <a rel="nofollow" href="http://124.124.201.169/" target="_blank">124.124.201.169:80</a>      TIME_WAIT   -              <br>


> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:36669/" target="_blank">115.184.7.223:36669</a>     <a rel="nofollow" href="http://124.124.252.9/" target="_blank">124.124.252.9:80</a>        TIME_WAIT   -              <br>

> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:51747/" target="_blank">115.184.7.223:51747</a>     <a rel="nofollow" href="http://173.194.38.184/" target="_blank">173.194.38.184:80</a>       TIME_WAIT   -              <br>


> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:54229/" target="_blank">115.184.7.223:54229</a>     <a rel="nofollow" href="http://74.125.236.44:443/" target="_blank">74.125.236.44:443</a>       TIME_WAIT   -              <br>

> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:36185/" target="_blank">115.184.7.223:36185</a>     <a rel="nofollow" href="http://173.194.36.26/" target="_blank">173.194.36.26:80</a>        TIME_WAIT   -              <br>


> tcp        0      0 <a rel="nofollow" href="http://115.184.7.223:38854/" target="_blank">115.184.7.223:38854</a>     <a rel="nofollow" href="http://74.125.236.109/" target="_blank">74.125.236.109:80</a>       TIME_WAIT   -              <br>

> tcp6       0      0 ::1:631                 :::*                    LISTEN      623/cupsd      <br>
> udp        0      0 <a rel="nofollow" href="http://0.0.0.0:5353/" target="_blank">0.0.0.0:5353</a>            0.0.0.0:*                           619/avahi-daemon: r<br>> udp        0      0 <a rel="nofollow" href="http://0.0.0.0:53489/" target="_blank">0.0.0.0:53489</a>           0.0.0.0:*                           619/avahi-daemon: r<br>


> udp        0      0 <a rel="nofollow" href="http://127.0.0.1:11211/" target="_blank">127.0.0.1:11211</a>         0.0.0.0:*                           931/memcached  <br>> udp        0      0 <a rel="nofollow" href="http://127.0.0.1:53/" target="_blank">127.0.0.1:53</a>            0.0.0.0:*                           2124/dnsmasq   <br>


> udp6       0      0 :::5353                 :::*                                619/avahi-daemon: r<br>> udp6       0      0 :::36705                :::*                                619/avahi-daemon: r<br>><br>


> Please help to proceed further.<br>><br>> ---<br>><br>> Thanks<br>><br>> Pragya jain<br>><br>><br>> ________________________________<br>> From: Kuo Hugo <<a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a>><br>


> To: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>> Cc: Amanda Plimpton <<a rel="nofollow" href="mailto:amanda@swiftstack.com" target="_blank">amanda@swiftstack.com</a>>; "<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>


> Sent: Wednesday, 28 August 2013 9:59 PM<br>> Subject: Re: [Openstack] Fw: problem in setting up Tempauth authentication & authorization with Swift<br>><br>> Hi <br>><br>> 1) user_prag2648_pragya = pj2648.admin.reseller_admin try to have a space between pj2648 and .admin . How about to test with user admin:admin ? <br>


> 2) Verify the port number of proxy by <br>><br>> <span></span>gt; ps aux | grep proxy <br>> <span></span>gt; netstat -antulp <br>><br>><br>> 3) Check the Proxy for how to setup bind_port <a rel="nofollow" href="https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample" target="_blank">https://github.com/openstack/swift/blob/master/etc/proxy-server.conf-sample</a><br>


><br>><br>><br>><br>><br>> +Hugo Kuo+<br>> <a rel="nofollow" href="mailto:hugo@swiftstack.com" target="_blank">hugo@swiftstack.com</a><br>> <a rel="nofollow" href="mailto:tonytkdk@gmail.com" target="_blank">tonytkdk@gmail.com</a><br>

> <a href="tel:%2B886%20935004793" value="+886935004793" target="_blank">+886 935004793</a><br>><br>
><br>> 2013/8/29 pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>><br>> hello sir,<br>><br>> Please help me in knowing how to use 8080 port<br>

><br>><br>> ________________________________<br>
> From: Amanda Plimpton <<a rel="nofollow" href="mailto:amanda@swiftstack.com" target="_blank">amanda@swiftstack.com</a>><br>> To: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>

> Cc: "<a rel="nofollow" href="mailto:joe@swiftstack.com" target="_blank">joe@swiftstack.com</a>" <<a rel="nofollow" href="mailto:joe@swiftstack.com" target="_blank">joe@swiftstack.com</a>>; "<a rel="nofollow" href="mailto:contact@swiftstack.com" target="_blank">contact@swiftstack.com</a>" <<a rel="nofollow" href="mailto:contact@swiftstack.com" target="_blank">contact@swiftstack.com</a>>; anita goel <<a rel="nofollow" href="mailto:goel.anita@gmail.com" target="_blank">goel.anita@gmail.com</a>><br>


> Sent: Tuesday, 27 August 2013 9:40 AM<br>> Subject: Re: Fw: problem in setting up Tempauth authentication & authorization with Swift<br>><br>> Hello,<br>><br>> 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.<br>


><br>> Given your interest in Swift I would also recommend locating a nearby OpenStack group or attending an event such as <a rel="nofollow" href="http://openstackindia.wordpress.com/2013/08/14/openstack-india-day-2013-announced/" target="_blank">http://openstackindia.wordpress.com/2013/08/14/openstack-india-day-2013-announced/</a><br>


><br>><br>> Thank you,<br>> Amanda<br>><br>> SwiftStack Inc.<br>> <a rel="nofollow" href="http://swiftstack.com/" target="_blank">swiftstack.com</a><br>><br>><br>> On Mon, Aug 26, 2013 at 8:55 PM, pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>> wrote:<br>


><br>> hello sir!<br>><br>> Please help me in setting up Tempauth authentication & authorization with Swift.<br>> same error is continued.<br>><br>> ----- Forwarded Message -----<br>> From: pragya jain <<a rel="nofollow" href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>><br>


> To: "<a rel="nofollow" href="mailto:joe@swiftstack.com" target="_blank">joe@swiftstack.com</a>" <<a rel="nofollow" href="mailto:joe@swiftstack.com" target="_blank">joe@swiftstack.com</a>>; "<a rel="nofollow" href="mailto:clay.gerrard@gmail.com" target="_blank">clay.gerrard@gmail.com</a>" <<a rel="nofollow" href="mailto:clay.gerrard@gmail.com" target="_blank">clay.gerrard@gmail.com</a>>; "<a rel="nofollow" href="mailto:contact@swiftstack.com" target="_blank">contact@swiftstack.com</a>" <<a rel="nofollow" href="mailto:contact@swiftstack.com" target="_blank">contact@swiftstack.com</a>>; "<a rel="nofollow" href="mailto:openstack@ask.openstack.org" target="_blank">openstack@ask.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@ask.openstack.org" target="_blank">openstack@ask.openstack.org</a>>; "<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>


> Cc: anita goel <<a rel="nofollow" href="mailto:goel.anita@gmail.com" target="_blank">goel.anita@gmail.com</a>><br>> Sent: Monday, 26 August 2013 12:06 PM<br>> Subject: problem in setting up Tempauth authentication & authorization with Swift<br>


><br>> hello,<br>><br>> I have to configure proxy server.<br>> For this,<br>> 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<br>


><br>> for this, I use the following commands:<br>> root@arun-Aspire-5742:~# vi /etc/swift/swift.conf<br>><br>> make following changes (highlighted) in the file:<br>> swift_hash_path_suffix =pragya<br>> swift_hash_path_prefix =jain<br>


><br>> save and exit.<br>> then, I run the command:<br>> root@arun-Aspire-5742:~# sudo swift-init proxy start<br>> Starting proxy-server...(/etc/swift/proxy-server.conf)<br>><br>> Now, I have to set up Tempauth authentication & authorization with Swift<br>


> for this, I run the following command:<br>> root@arun-Aspire-5742:~# vi /etc/swift/proxy-server.conf<br>><br>> make following changes (highlighted) in the file:<br>> allow_account_management =true<br>> ...<br>


> [filter:tempauth]<br>> use = egg:swift#tempauth<br>> ...<br>> user_admin_admin = admin .admin .reseller_admin<br>> user_test_tester = testing .admin<br>> user_test2_tester2 = testing2 .admin<br>> user_test_tester3 = testing3<br>


> user_prag2648_pragya = pj2648.admin.reseller_admin<br>> ...<br>><br>> save and exit<br>> Then, run following commands:<br>> root@arun-Aspire-5742:~# sudo swift-init account start<br>> Starting account-server...(/etc/swift/account-server.conf)<br>


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


> root@arun-Aspire-5742:~# curl -v -H 'X-Auth-User:prag2648:pragya' -H 'X-Auth-Key:pj2648' <a rel="nofollow" href="http://localhost/auth/v1.0/" target="_blank">http://localhost/auth/v1.0/</a><br>> * About to connect() to localhost port 80 (#0)<br>


> *   Trying 127.0.0.1... Connection refused<br>> * couldn't connect to host<br>> * Closing connection #0<br>> curl: (7) couldn't connect to host<br>><br>> But, there is an error in establising a connection.<br>


><br>> if, I run the command to start proxy server, then it shows that proxy server is already started.<br>> root@arun-Aspire-5742:~# sudo swift-init proxy start<br>> proxy-server running (2935 - /etc/swift/proxy-server.conf)<br>


> proxy-server already started...<br>><br>> Please help me in this regard.<br>> ---<br>><br>> Thanks<br>><br>> Pragya Jain<br>><br>><br>><br>><br>><br>><br>> _______________________________________________<br>


> Mailing list: <a rel="nofollow" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>> Post to     : <a rel="nofollow" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>


> Unsubscribe : <a rel="nofollow" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>><br>><br>><br>><br>

><br>><br>><br>><br>
><br>><br>><br>><br>><br></div>
</div><br><br></div> </div> </div> </blockquote></div>   </div></div></div><br><br></div> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font color="#444444">Gareth</font><div><font color="#444444"><br></font><div><i><font color="#444444">Cloud Computing, OpenStack, Fitness, Basketball</font></i></div>
<div><i><font color="#666666">OpenStack contributor</font></i></div><div><i><font color="#666666">Company: <a href="http://www.ustack.com" target="_blank">UnitedStack</a></font></i></div><div><i><font color="#999999">My promise: if you find any spelling or grammar mistakes in my email from Mar 1 2013, notify me </font></i></div>
<div><i><font color="#999999">and I'll donate $1 or ¥1 to an open organization you specify.</font></i></div></div></div>
</div>