swift 1.13.0 delete account failed --504 Gateway timeout

asked 2014-05-21 01:32:10 -0500

SunYQ gravatar image

updated 2014-05-23 17:09:51 -0500

smaffulli gravatar image

I installed swift 1.13.0 (from source) in my test environment, in which there are 2 load-balancers, 2 proxy nodes and 5 storage nodes(running account-server, container-server and object-server).
I used swauth(1.8.0) as my auth service.

I can create accounts and users, and use those account&users to CRUD objects.
Everyting works well but, I just can't delete account!
I can delete a user, but when I execute swauth-delete-account -A URL -K swauthkey account_name,
it always reports Account deletion failed: 504 Gateway Time-out. I also tried swauth 1.4.0, but encountered the same problem.
I don't know why, could someone help me?

Here is the log file:

May 21 13:49:57 SHA02-PRX-01 proxy-server: Handoff requested (1) (txn: tx58654b7788b04db4b3a95-00537c3e85)  
May 21 13:49:57 SHA02-PRX-01 proxy-server: Handoff requested (2) (txn: tx58654b7788b04db4b3a95-00537c3e85)  
May 21 13:49:57 SHA02-PRX-01 proxy-server: Handoff requested (3) (txn: tx58654b7788b04db4b3a95-00537c3e85)  
May 21 13:49:57 SHA02-PRX-01 proxy-server: - - 21/May/2014/05/49/57 HEAD /v1/v2 HTTP/1.0 204 - Swift - - - - tx58654b7788b04db4b3a95-00537c3e85 - 0.0152 GET_INFO - 1400651397.900619030 1400651397.915851116  
May 21 13:49:57 SHA02-PRX-01 proxy-server: - - 21/May/2014/05/49/57 GET /v1/AUTH_.auth/mesh%3Fformat%3Djson%26marker%3D HTTP/1.0 200 - Swauth - - 172 - tx58654b7788b04db4b3a95-00537c3e85 - 0.0060 SWTH - 1400651397.916464090 1400651397.922458887  
May 21 13:49:57 SHA02-PRX-01 proxy-server: - - 21/May/2014/05/49/57 GET /v1/AUTH_.auth/mesh%3Fformat%3Djson%26marker%3D.services HTTP/1.0 200 - Swauth - - 2 - tx58654b7788b04db4b3a95-00537c3e85 - 0.0059 SWTH - 1400651397.922954082 1400651397.928890944  
May 21 13:49:57 SHA02-PRX-01 proxy-server: - - 21/May/2014/05/49/57 GET /v1/AUTH_.auth/mesh/.services HTTP/1.0 200 - Swauth - - 108 - tx58654b7788b04db4b3a95-00537c3e85 - 0.0041 SWTH - 1400651397.929337978 1400651397.933403969  
May 21 13:51:01 SHA02-PRX-01 proxy-server: STDOUT: EXCEPTION IN handle: Traceback (most recent call last):#012  File "/usr/local/lib/python2.7/dist-packages/swauth-1.0.8-py2.7.egg/swauth/middleware.py", line 454, in handle#012    return self.handle_request(req)(env, start_response)#012  File "/usr/local/lib/python2.7/dist-packages/swauth-1.0.8-py2.7.egg/swauth/middleware.py", line 521, in handle_request#012    req.response = handler(req)#012  File "/usr/local/lib/python2.7/dist-packages/swauth-1.0.8-py2.7.egg/swauth/middleware.py", line 870, in handle_delete_account#012    headers={'X-Auth-Token': self.get_itoken(req.environ)})#012  File "/usr/lib/python2.7/httplib.py", line 958, in request#012    self._send_request(method, url, body, headers)#012  File "/usr/lib/python2.7/httplib.py", line 992, in _send_request#012    self.endheaders(body)#012  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders#012    self._send_output(message_body)#012  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output#012    self.send(msg)#012  File "/usr/lib/python2.7/httplib.py", line 776, in send#012    self.connect()#012  File "/usr/lib/python2.7/httplib.py", line 757, in connect#012    self.timeout, self.source_address)#012  File "/usr/lib/python2.7/dist-packages/eventlet/green/socket.py", line 59, in create_connection#012    raise error, msg#012error: [Errno ...
(more)
edit retag flag offensive close merge delete