Hi Beshoy , Could you please provide the following information ?
1) First issue is that the Keystone running on "192.168.5.29" , And the AUTH_URL in swift-client should point to authentication server(keystone in your case) . The command should be : swift -V 2.0 -A http://192.168.5.29:5000/v2.0 <http://192.168.5.37:5000/v2.0> -U openstackDemo:admin -K $ADMINPASS stat 2) Which Keystone version r u running now ? 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 . 4) Check the bind port: $> netstat -antulp | grep 8888 Hope it help 2013/3/31 beshoy abdelmaseh <[email protected]> > 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 > > swift -V 2.0 -A http://192.168.5.37:5000/v2.0 -U openstackDemo:admin -K > $ADMINPASS stat > > error: [Errno 111] ECONNREFUSED > > > proxy-server.conf > > [DEFAULT] > bind_port = 8888 > user = swift > > [pipeline:main] > pipeline = healthcheck cache authtoken keystone proxy-server > > [app:proxy-server] > use = egg:swift#proxy > allow_account_management = true > account_autocreate = true > > [filter:keystone] > paste.filter_factory = keystone.middleware.swift_auth:filter_factory > operator_roles = Member,admin, swiftoperator > > [filter:authtoken] > paste.filter_factory = keystone.middleware.auth_token:filter_factory > # Delaying the auth decision is required to support token-less > # usage for anonymous referrers ('.r:*'). > delay_auth_decision = 10 > service_port = 5000 > service_host = 192.168.5.37 > auth_port = 35357 > auth_host = 192.168.5.37 > auth_protocol = http > auth_uri = http://192.168.5.37:5000/ <http://10.84.21.10:5000/> > auth_token = 012345SECRET99TOKEN012345 > admin_token = 012345SECRET99TOKEN012345 > admin_tenant_name = service > admin_user = swift > admin_password = swift > signing_dir=/tmp/keystone-signing-swift > > [filter:cache] > use = egg:swift#memcache > set log_name = cache > > [filter:catch_errors] > use = egg:swift#catch_errors > > [filter:healthcheck] > use = egg:swift#healthcheck > > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > -- +Hugo Kuo+ [email protected] [email protected] +886 935004793
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

