Bug #10102
Updated by Alfredo Deza over 9 years ago
on a copy operation, rgw sent back 400 and the sync agent got stuck in the following loop:
<pre>
2014-11-12T18:12:46.315 18110:DEBUG:urllib3.connectionpool:"PUT /Backups/%3CKey%3A%20Backups%2CCBB_DC1/some_path/some_file%3E?rgwx-op-id=LA3CGW01-22373A13A37606&rgwx-source-zone=la-primary&rgwx-client-id=radosgw-agent HTTP/1.1" 500 527
2014-11-12T18:12:46.317 18110:DEBUG:radosgw_agent.worker:exception during sync: Http error code 500 content <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
root@localhost to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
</pre>
<pre>
2014-11-12T18:12:48.616 18110:DEBUG:radosgw_agent.worker:op state is []
2014-11-12T18:12:48.617 18110:DEBUG:radosgw_agent.worker:error geting op state: list index out of range
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/radosgw_agent/worker.py", line 220, in wait_for_object
state = state[0]['state']
IndexError: list index out of range
</pre>
The sync agent needs to back out and retry in such cases.