<div dir="ltr">Hi Beshoy , <div><br></div><div style>Could you please provide the following information ?</div><div style><br></div><div style><br></div><div style>1) First issue is that the Keystone running on "<span style="font-family:arial,sans-serif;font-size:14px">192.168.5.29" , And the AUTH_URL in swift-client should point to authentication server(keystone in your case) . The command should be :</span></div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style><pre style="white-space:pre-wrap">swift -V 2.0 -A <a href="http://192.168.5.37:5000/v2.0" target="_blank"><font color="#ff0000">http://192.168.5.29:5000/v2.0</font></a> -U openstackDemo:admin -K $ADMINPASS stat</pre>
</div></blockquote><div style><br></div><div style>2) Which Keystone version r u running now ?</div><div style><br></div><div style>3) Try a curl call to keystone v2.0 with the USERNAME/PASSWORD. Let me know if you can retrieve the JSON response which contains TOKEN and Swift service URL . </div>
<div style><br></div><div style>4) Check the bind port:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div style><font color="#0000ff">$> netstat -antulp | grep 8888</font></div><div style><font color="#0000ff"><br>
</font></div></blockquote><font color="#0000ff"><br></font><div><font color="#0000ff"><br></font></div><div style><font color="#000000">Hope it help</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/3/31 beshoy abdelmaseh <span dir="ltr"><<a href="mailto:beshoy.mekhail@gmail.com" target="_blank">beshoy.mekhail@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">i installed keystone on centos-> 192.168.5.29 and i stopped iptables in centos then i installed swift on ubuntu-> 192.168.5.37 where ufw stop/waiting (swift working well all servers-proxy,account,containeer,object- are working  but when i run this command on ubuntu swift<br>

<pre>swift -V 2.0 -A <a href="http://192.168.5.37:5000/v2.0" target="_blank">http://192.168.5.37:5000/v2.0</a> -U openstackDemo:admin -K $ADMINPASS stat<br><br>error: [Errno 111] ECONNREFUSED<br><br><br>proxy-server.conf <br>

</pre><p>[DEFAULT]<br>
bind_port = 8888<br>
user = swift</p>
<p>[pipeline:main]<br>
pipeline = healthcheck cache authtoken keystone proxy-server</p>
<p>[app:proxy-server]<br>
use = egg:swift#proxy<br>
allow_account_management = true<br>
account_autocreate = true</p>
<p>[filter:keystone]<br>
paste.filter_factory = keystone.middleware.swift_auth:filter_factory<br>
operator_roles = Member,admin, swiftoperator</p>
<p>[filter:authtoken]<br>
paste.filter_factory = keystone.middleware.auth_token:filter_factory<br>
# Delaying the auth decision is required to support token-less<br>
# usage for anonymous referrers ('.r:*').<br>
delay_auth_decision = 10<br>
service_port = 5000<br>
service_host = 192.168.5.37<br>
auth_port = 35357<br>
auth_host = 192.168.5.37<br>
auth_protocol = http<br>
auth_uri = <a rel="nofollow" href="http://10.84.21.10:5000/" target="_blank">http://192.168.5.37:5000/</a><br>
auth_token = 012345SECRET99TOKEN012345<br>
admin_token = 012345SECRET99TOKEN012345<br>
admin_tenant_name = service<br>
admin_user = swift<br>
admin_password = swift<br>
signing_dir=/tmp/keystone-signing-swift</p>
<p>[filter:cache]<br>
use = egg:swift#memcache<br>
set log_name = cache</p>
<p>[filter:catch_errors]<br>
use = egg:swift#catch_errors</p>
<p>[filter:healthcheck]<br>
use = egg:swift#healthcheck</p><pre><br></pre></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><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>