[Openstack-operators] Swift configuration
Andrew Glen-Young
andrew.glen-young at canonical.com
Tue Jul 24 17:49:34 UTC 2012
Hello,
On Tue 24-07-2012 18:28 ›, Alexandra Kisin wrote:
>
> Hello, Guys.
> I've multiple node Openstack env with Essex release.
> I'm trying to make it work with Swift ObjectStore.
> I've created 4 nodes which are swift-proxy and 3 storage nodes. They are
> configured to work with keystone which is installed on different node (that
> is also a cloud controller).
> My swift-proxy ip is 9.148.27.72 and controller+keystone ip is 9.148.27.76.
> All relevant services are up and running (including storage servers).
> Trying to test weather the setup works as expected by running the following
> command on swift-proxy node:
> swift -v -V 2.0 -A http://9.148.27.76:5000/v2.0/ -U admin:admin -K
> <my_password> list
> I've got an error:
> Account GET failed:
> http://9.148.27.72:8080/v1/AUTH_0e811b2a0f3e4440a862099e96920bca?format=json
> 503 Internal Server Error
>
> Looking at the syslog file on swift-proxy node, I saw the messages as
> below :
> swift-proxy-server 9.148.27.72 9.148.27.72 24/Jul/2012/14/59/28
> GET /v1/AUTH_0e811b2a0f3e4440a862099e96920bca%3Fformat%3Djson HTTP/1.0 503
> - - 60ad63902be94b7191b44f0efa6e48fc - - -
> tx10dc1e59eeb648d4a5dcc5692112bd92
> X-Tenant-Name%3A%20admin%0AX-Role%3A%20KeystoneAdmin%2Cadmin%2CKeystoneServiceAdmin%0AX-User-Id%3A%2074888d1bea7346929084be974411ceb1%0AX-Auth-Token%3A%2060ad63902be94b7191b44f0efa6e48fc%0AX-Trans-Id%3A%20tx10dc1e59eeb648d4a5dcc5692112bd92%0AX-Identity-Status%3A%20Confirmed%0AX-Roles%3A%20KeystoneAdmin%2Cadmin%2CKeystoneServiceAdmin%0AX-User%3A%20admin%0AHost%3A%209.148.27.72%3A8080%0AX-Tenant-Id%3A%200e811b2a0f3e4440a862099e96920bca%0AX-Tenant%3A%20admin%0AX-User-Name%3A%20admin%0AContent-Type%3A%20None%0AAccept-Encoding%3A%20identity
> 0.0023 -
> Jul 24 17:59:36 ensure-sw-proxy swift-proxy-server Node error limited
> 9.148.27.74:6002 (r0) (txn: tx96afa78117b549ec9be3386f8a266217) (client_ip:
> 9.148.27.72)
> Jul 24 17:59:36 ensure-sw-proxy swift-proxy-server Node error limited
> 9.148.27.75:6002 (r0) (txn: tx96afa78117b549ec9be3386f8a266217) (client_ip:
> 9.148.27.72)
> Jul 24 17:59:36 ensure-sw-proxy swift-proxy-server Node error limited
> 9.148.27.73:6002 (r0) (txn: tx96afa78117b549ec9be3386f8a266217) (client_ip:
> 9.148.27.72)
> Jul 24 17:59:36 ensure-sw-proxy swift-proxy-server Account GET returning
> 503 for [] (txn: tx96afa78117b549ec9be3386f8a266217) (client_ip:
> 9.148.27.72)
>
> Any idea what can be wrong in my configuration scheme ?
>
It looks to me like your proxy-server cannot connect to the
swift-account-server on your storage nodes (9.148.27.74:6002,
9.148.27.75:6002, 9.148.27.73:6002). Is this service running on these
nodes?
You can easily test by using `nc` or `telnet` to connect to the
swift-account-server port from the proxy-server.
Example:
user at proxy-server:~$ nc -vz 9.148.27.74 6002
Connection to 9.148.27.74 6002 port [tcp/x11-2] succeeded!
Hope this helps.
--
Regards.
Andrew Glen-Young
More information about the OpenStack-operators
mailing list