Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Account HEAD failed 503 Internal Server Error

Hello all,

I am configuring Swift per the instructions in https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html-single/Installation_and_Configuration_Guide/index.html#chap-Installing_the_OpenStack_Object_Storage_Service

After completing configuration, I am getting a 503 internal server error while validating installation using "swift stat"

Message from syslogd@localhost at Dec 4 09:29:34 ... ?<131>proxy-server Account HEAD returning 503 for [507] (txn: tx62353887227d445fad636dbdda582119) (client_ip: 127.0.0.1)

Message from syslogd@localhost at Dec 4 09:29:35 ... ?<135>proxy-server Node error limited 127.0.0.1:6002 (sdb1) (txn: tx88716d69ada741d1aecdec79cd7dc28e)

Message from syslogd@localhost at Dec 4 09:29:35 ... ?<131>proxy-server Account HEAD returning 503 for [] (txn: tx88716d69ada741d1aecdec79cd7dc28e) (client_ip: 127.0.0.1)

Message from syslogd@localhost at Dec 4 09:29:37 ... ?<135>proxy-server Node error limited 127.0.0.1:6002 (sdb1) (txn: txbe9692dc2d6042b2b07de156c65db6ff)

Message from syslogd@localhost at Dec 4 09:29:37 ... ?<131>proxy-server Account HEAD returning 503 for [] (txn: txbe9692dc2d6042b2b07de156c65db6ff) (client_ip: 127.0.0.1)

Message from syslogd@localhost at Dec 4 09:29:41 ... ?<135>proxy-server Node error limited 127.0.0.1:6002 (sdb1) (txn: tx652a3f07adb54517a6070ff35434dedc)

Message from syslogd@localhost at Dec 4 09:29:41 ... ?<131>proxy-server Account HEAD returning 503 for [] (txn: tx652a3f07adb54517a6070ff35434dedc) (client_ip: 127.0.0.1)

Message from syslogd@localhost at Dec 4 09:29:49 ... ?<135>proxy-server Node error limited 127.0.0.1:6002 (sdb1) (txn: tx16b1fcbc6a18472bae28840b15bfacac)

Message from syslogd@localhost at Dec 4 09:29:49 ... ?<131>proxy-server Account HEAD returning 503 for [] (txn: tx16b1fcbc6a18472bae28840b15bfacac) (client_ip: 127.0.0.1)

Message from syslogd@localhost at Dec 4 09:30:05 ... ?<135>proxy-server Node error limited 127.0.0.1:6002 (sdb1) (txn: tx39d798d702334ebb80bd4a1d1683af07)

Message from syslogd@localhost at Dec 4 09:30:05 ... ?<131>proxy-server Account HEAD returning 503 for [] (txn: tx39d798d702334ebb80bd4a1d1683af07) (client_ip: 127.0.0.1) Account HEAD failed: http://localhost:8080/v1/AUTH_2dd248ff7c05446b801eba44c082c133 503 Internal Server Error

I checked all the similar questions in this forum, but nothing works.

I checked the port in both account-server.conf and also the rings. Everything looks good. I tried tempauth and got the same error.

Following are my ports in conf and ring: [DEFAULT] devices = /srv/node/1 bind_ip = 127.0.0.1 bind_port = 6002 workers = 2

swift-ring-builder /etc/swift/account.builder search /sdb1

Devices: id region zone ip address port name weight partitions balance meta 0 1 1 127.0.0.1 6002 sdb1 1.00 786432 0.00

I am not able to turn on DEBUG log for the account-server as well. This is the only log I got from the account-server log (is it a 507 error?):

Dec 4 09:29:34 localhost account-server 127.0.0.1 - - [04/Dec/2013:14:29:34 +0000] "HEAD /sdb1/23746/AUTH_2dd248ff7c05446b801eba44c082c133" 507 - "tx62353887227d445fad636dbdda582119" "-" "-" 0.0003 ""

Following is my log setting for account-server.conf

[app:account-server] use = egg:swift#account set log_level = DEBUG set log_name = account-server set log_facility = LOG_LOCAL0

Probably debug logs will help me troubleshoot the root cause better.

Any help is appreciated.

Vignesh