Project

General

Profile

Bug #38214

unable to cancel reshard operations for buckets with tenants

Added by Ed Fisher 9 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
02/06/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

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.


Related issues

Copied to rgw - Backport #39016: luminous: unable to cancel reshard operations for buckets with tenants Resolved
Copied to rgw - Backport #39017: mimic: unable to cancel reshard operations for buckets with tenants Resolved
Copied to rgw - Backport #39018: nautilus: unable to cancel reshard operations for buckets with tenants Resolved

History

#1 Updated by Abhishek Lekshmanan 8 months ago

  • Assignee set to Abhishek Lekshmanan

#2 Updated by Abhishek Lekshmanan 8 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 26887

#3 Updated by Abhishek Lekshmanan 7 months ago

  • Status changed from Need Review to Need Test

#4 Updated by Abhishek Lekshmanan 7 months ago

  • Backport set to nautilus, mimic, luminous

#5 Updated by Abhishek Lekshmanan 7 months ago

  • Status changed from Need Test to Testing

#6 Updated by Abhishek Lekshmanan 7 months ago

  • Status changed from Testing to Pending Backport

#7 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #39016: luminous: unable to cancel reshard operations for buckets with tenants added

#8 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #39017: mimic: unable to cancel reshard operations for buckets with tenants added

#9 Updated by Nathan Cutler 7 months ago

  • Copied to Backport #39018: nautilus: unable to cancel reshard operations for buckets with tenants added

#10 Updated by Nathan Cutler 12 days ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF