Ask Your Question

raghavendra-lad's profile - activity

2013-06-12 13:02:34 -0500 answered a question update failed: 503 service unavailable

The command that I am trying to run on the swift proxy and the error that I get

root@SwiftProxyServer:~# swift -v -V 2.0 -A http://10.1.168.103:5000/v2.0/ -U admin:admin -K hastexo list Account GET failed: http://10.1.168.105:8080/v1/AUTH_76d66f46c50b42fc8f88574f2cddf08f?format=json (http://10.1.168.105:8080/v1/AUTH_76d6...) 500 Internal Server Error [first 60 chars of response] 500 Internal Server Error

The server has either erred or is root@SwiftProxyServer:~#

I have a separate swift proxy server and 3 nodes storage also Openstack installed on separate machine which has Precise Pangolin Ubuntu 12.04

2013-06-12 12:59:17 -0500 answered a question update failed: 503 service unavailable

My Swift node log

Jun 12 07:50:43 Swiftnode1 container-replicator Removed 0 dbs Jun 12 07:50:43 Swiftnode1 container-replicator 0 successes, 0 failures Jun 12 07:50:43 Swiftnode1 container-replicator no_change:0 ts_repl:0 diff:0 rsy nc:0 diff_capped:0 hashmatch:0 empty:0 Jun 12 07:50:45 Swiftnode1 account-replicator Beginning replication run Jun 12 07:50:45 Swiftnode1 account-replicator Replication run OVER Jun 12 07:50:45 Swiftnode1 account-replicator Attempted to replicate 0 dbs in 0. 00045 seconds (0.00000/s) Jun 12 07:50:45 Swiftnode1 account-replicator Removed 0 dbs Jun 12 07:50:45 Swiftnode1 account-replicator 0 successes, 0 failures Jun 12 07:50:45 Swiftnode1 account-replicator no_change:0 ts_repl:0 diff:0 rsync :0 diff_capped:0 hashmatch:0 empty:0 Jun 12 07:50:47 Swiftnode1 account-server 10.1.168.105 - - [12/Jun/2013:12:50:47 +0000] "GET /r0/246823/AUTH_76d66f46c50b42fc8f88574f2cddf08f" 404 - "txf414722b 42aa44bc9933ba8aa9726b5a" "-" "-" 0.0004 "" Jun 12 07:50:47 Swiftnode1 account-server ERROR __call__ error with PUT /r0/2468 23/AUTH_76d66f46c50b42fc8f88574f2cddf08f : #012Traceback (most recent call last) :#012 File "/usr/lib/python2.7/dist-packages/swift/account/server.py", line 317 , in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/py thon2.7/dist-packages/swift/account/server.py", line 114, in PUT#012 broker.i nitialize(timestamp)#012 File "/usr/lib/python2.7/dist-packages/swift/common/db .py", line 180, in initialize#012 mkdirs(self.db_dir)#012 File "/usr/lib/pyt hon2.7/dist-packages/swift/common/utils.py", line 178, in mkdirs#012 os.maked irs(path)#012 File "/usr/lib/python2.7/os.py", line 150, in makedirs#012 mak edirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 150, in makedirs#01 2 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 150, in mak edirs#012 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 150 , in makedirs#012 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 157, in makedirs#012 mkdir(name, mode)#012OSError: [Errno 13] Permission denied: '/srv/node/r0' (txn: txf414722b42aa44bc9933ba8aa9726b5a) Jun 12 07:50:47 Swiftnode1 account-server 10.1.168.105 - - [12/Jun/2013:12:50:47 +0000] "PUT /r0/246823/AUTH_76d66f46c50b42fc8f88574f2cddf08f" 500 960 "txf41472 2b42aa44bc9933ba8aa9726b5a" "-" "-" 0.0007 "" Jun 12 07:50:54 Swiftnode1 account-server 10.1.168.107 - - [12/Jun/2013:12:50:54 +0000] "HEAD /r0/147755/.expiring_objects" 404 - "tx07071b96b40f440295a46413ab6 1fac0" "-" "Swift Object Expirer" 0.0005 "" Jun 12 07:50:54 Swiftnode1 account-server 10.1.168.107 - - [12/Jun/2013:12:50:54 +0000] "GET /r0/147755/.expiring_objects" 404 - "txbe793e14471843e3b949b375cbfe 9024" "-" "Swift Object Expirer" 0.0001 ""

2013-06-12 12:58:38 -0500 answered a question update failed: 503 service unavailable

My Swift Proxy log

Jun 12 07:50:33 SwiftProxyServer proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(a, *kw)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_76d66f46c50b42fc8f88574f2cddf08f' (txn: txd44f7bc3cb5d4fc098f80857cd46239b) (client_ip: 10.1.168.105) Jun 12 07:50:33 SwiftProxyServer proxy-server 10.1.168.105 10.1.168.105 12/Jun/2013/12/50/33 GET /v1/AUTH_76d66f46c50b42fc8f88574f2cddf08f%3Fformat%3Djson HTTP/1.0 500 - - 55cff2a24a9b4eaf8cd33381a3c0ff16 - - - txd44f7bc3cb5d4fc098f80857cd46239b - 0.0149 - Jun 12 07:50:49 SwiftProxyServer proxy-server Account GET returning 503 for (503, 503, 503) (txn: txf414722b42aa44bc9933ba8aa9726b5a) (client_ip: 10.1.168.105) Jun 12 07:50:49 SwiftProxyServer proxy-server ERROR Unhandled exception in request: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1888, in handle_request#012 return handler(req)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 93, in wrapped#012 return func(a, *kw)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 645, in GET#012 return self.GETorHEAD(req)#012 File "/usr/lib/python2.7/dist-packages/swift/proxy/server.py", line 1629, in GETorHEAD#012 self.account_name)#012Exception: Could not autocreate account 'AUTH_76d66f46c50b42fc8f88574f2cddf08f' (txn: txf414722b42aa44bc9933ba8aa9726b5a) (client_ip: 10.1.168.105) Jun 12 07:50:49 SwiftProxyServer proxy-server 10.1.168.105 10.1.168.105 12/Jun/2013/12/50/49 GET /v1/AUTH_76d66f46c50b42fc8f88574f2cddf08f%3Fformat%3Djson HTTP/1.0 500 - - 55cff2a24a9b4eaf8cd33381a3c0ff16 - - - txf414722b42aa44bc9933ba8aa9726b5a - 0.0122 -

2013-05-23 07:51:26 -0500 answered a question update failed: 503 service unavailable

I have the Swift Proxy server and 3 nodes as per the hastexo documentation site. I still get the error when I try to test The error is

Account GET failed: http://10.1.168.105:8080/v1/AUTH_76d66f46c50b42fc8f88574f2cddf08f?format=json (http://10.1.168.105:8080/v1/AUTH_76d6...) 503 Internal Server Error

Any help..!!