unable to cancel reshard operations for buckets with tenants
http://tracker.ceph.com/issues/22046 made it so you could successfully submit a reshard operation for a tenant's bucket, but they can't be cancelled. Per https://github.com/ceph/ceph/pull/18811#issuecomment-378517787 --
root@osdnode03:~# radosgw-admin reshard cancel --uid='DB0220$elasticsearch' --tenant=DB0220 --bucket=backups Error in getting bucket backups: (2) No such file or directory 2018-04-04 10:07:03.905049 7f105ee0fcc0 -1 ERROR: failed to get entry from reshard log, oid=reshard.0000000010 tenant= bucket=backups
I can verify that removing the comment on this line: https://github.com/ceph/ceph/blob/de98f2e0d9783791436755246a3a12ce94ef088d/src/rgw/rgw_admin.cc#L6349 and rebuilding radosgw-admin allows the reshard operation to be successfully cancelled, but I haven't tested the change to see if it causes issues on buckets without tenants.