In my suggestion, using curl for verifying keystone first. And then using curl to access swift proxy with the returned token and service-endpoint from previous keystone operation.
It must give u more clear clues. 從我的 iPhone 傳送 Shashank Sahni <[email protected]> 於 2012/11/20 下午6:40 寫道: > Hi, > > I'm trying to install Swift 1.7.4 on Ubuntu 12.04. The installation is > multi-node with keystone and swift(proxy+storage) running on separate > systems. Keystone is up and running perfectly fine. Swift user and service > endpoints are created correctly to point to the swift_node. Swift is > configured and all its services are up. But during swift installation > verification, the following commands hangs with no output. > > swift -V 2 -A http://keystone_server:5000/v2.0 -U admin:admin -K admin_pass > stat > > I'm sure its able to contact the keystone server. This is because if I change > admin_pass, it throws authentication failure error. It probably fails in the > next step which I'm unaware of. > > Here is my proxy-server.conf file. > > [DEFAULT] > # Enter these next two values if using SSL certifications > cert_file = /etc/swift/cert.crt > key_file = /etc/swift/cert.key > bind_port = 8888 > user = swift > > [pipeline:main] > #pipeline = healthcheck cache swift3 authtoken keystone proxy-server > pipeline = healthcheck cache swift3 authtoken keystone proxy-server > > [app:proxy-server] > use = egg:swift#proxy > allow_account_management = true > account_autocreate = true > > [filter:swift3] > use=egg:swift3#swift3 > > [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 = keystone_server > auth_port = 35357 > auth_host = keystone_server > auth_protocol = http > auth_uri = http://keystone_server:5000/ > auth_token = XXXX > admin_token = XXXX > admin_tenant_name = service > admin_user = swift > admin_password = XXXX > signing_dir = /etc/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 > > Any suggestion? > > -- > Shashank Sahni > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

