Hi, On 11/06/2015 19:34, Sage Weil wrote: > Bug #11442 introduced a change that made rgw objects that start with > underscore incompatible with previous versions. The fix to that bug > reverts to the previous behavior. In order to be able to access objects > that start with an underscore and were created in prior Hammer releases, > following the upgrade it is required to run (for each affected bucket):: > > $ radosgw-admin bucket check --check-head-obj-locator \ > --bucket=<bucket> [--fix] > > You can get a list of buckets with > > $ radosgw-admin bucket list After the upgrade of my radosgw, I can't fix the problem of rgw objects that start with underscore. The command with the --fix option displays some errors which I don't understand. Here is a (troncated) paste of my shell below. Have I done something wrong? Thx in advance for the help. François Lafont -------------------------------------------------- ~# radosgw-admin --id=radosgw.gw2 bucket check --check-head-obj-locator --bucket=$bucket { "bucket": "moodles-poc-registry", "check_objects": [ { "key": { "name": "_multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "instance": "" }, "oid": "default.763616.1___multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "locator": "default.763616.1__multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "needs_fixing": true, "status": "needs_fixing" }, [snip] { "key": { "name": "_multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "instance": "" }, "oid": "default.763616.1___multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "locator": "default.763616.1__multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "needs_fixing": true, "status": "needs_fixing" } ] } ~# radosgw-admin --id=radosgw.gw2 bucket check --check-head-obj-locator --bucket=$bucket --fix 2015-06-12 03:01:33.197984 7f3c9130d840 -1 ERROR: ioctx.operate(oid=default.763616.1___multipart_registry/images/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta) returned ret=-2 ERROR: fix_head_object_locator() returned ret=-2 2015-06-12 03:01:33.200428 7f3c9130d840 -1 ERROR: ioctx.operate(oid=default.763616.1___multipart_registry/images/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909/layer.2~poMH-PQKCLstUWpMQpji7JuGaBT53Th.meta) returned ret=-2 ERROR: fix_head_object_locator() returned ret=-2 ERROR: fix_head_object_locator() returned ret=-2 2015-06-12 03:01:33.206875 7f3c9130d840 -1 ERROR: ioctx.operate(oid=default.763616.1___multipart_registry/images/c5a7fc74211188aabf3429539674275645b07717d003c390a943acc44f35c6d0/layer.2~Bg6bkbSOE8GCtV4Mxr0t56vSfTQTCx9.1) returned ret=-2 2015-06-12 03:01:33.209293 7f3c9130d840 -1 ERROR: ioctx.operate(oid=default.763616.1___multipart_registry/images/c5a7fc74211188aabf3429539674275645b07717d003c390a943acc44f35c6d0/layer.2~Bg6bkbSOE8GCtV4Mxr0t56vSfTQTCx9.2) returned ret=-2 ERROR: fix_head_object_locator() returned ret=-2 ERROR: fix_head_object_locator() returned ret=-2 [snip] 2015-06-12 03:01:33.301101 7f3c9130d840 -1 ERROR: ioctx.operate(oid=default.763616.1___multipart_registry/images/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta) returned ret=-2 { "bucket": "moodles-poc-registry", "check_objects": [ { "key": { "name": "_multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "instance": "" }, "oid": "default.763616.1___multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "locator": "default.763616.1__multipart_registry\/images\/1483a2ea4c3f5865d4d583fb484bbe11afe709a6f3d1baef102904d4d9127909\/layer.2~QorD8QaGiDc4HPUP7VVpx4LS-e_7f0u.meta", "needs_fixing": true, "status": "needs_fixing" }, [snip] { "key": { "name": "_multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "instance": "" }, "oid": "default.763616.1___multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "locator": "default.763616.1__multipart_registry\/images\/fa4fd76b09ce9b87bfdc96515f9a5dd5121c01cc996cf5379050d8e13d4a864b\/layer.2~TSdIpafsfGXJ7kKMOVqJ-hn8Aog4ETF.meta", "needs_fixing": true, "status": "needs_fixing" } ] } -------------------------------------------------- _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com