I was trying to upgrade my filesystem from revision 20 to 21. This was
using S3QL 2.10.1 .
However, I was getting the following error:
#####
Upgrading from revision 20 to 21...
Unexpected server reply to copy operation:
200 OK
Date: Thu, 14 Aug 2014 21:04:15 +0000
Server: RestServer/1.0
Content-Length: 189
Content-Type: application/xml
ETag: "d7ed6a310a47b69a91e13e655245fac9"
Cache-Control: no-cache
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<CopyObjectResult><LastModified>2014-08-14T21:04:15.000Z</LastModified>
<ETag>"d7ed6a310a47b69a91e13e655245fac9"</ETag>
</CopyObjectResult>
...
File
"/usr/local/lib/python3.4/site-packages/s3ql-2.10.1-py3.4-linux-i686.egg/s3ql/backends/s3c.py",
line 367, in copy
raise RuntimeError('Copy response has %s as root tag' % root.tag)
RuntimeError: Copy response has CopyObjectResult as root tag
#####
I have now been able to get the upgrade to succeed (including a subsequent
verify with --data) by patching line 359 of backends/s3c.py, to read:
if root.tag == 'CopyObjectResult':
The "S3-compatible" backend in this case is StorageQloud (
https://www.greenqloud.com/storageqloud/ ).
Does this look like a deviation from S3-compatibility, which I should
report to GreenQloud?
Regards,
Adam
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.