Project

General

Profile

Bug #46404

rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc

Added by J. Eric Ivancich 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

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

Description

The interactive mode wasn't working due to prompts going to stdout
instead of stderr. If a space should appear in temporary file, it will
generate a shell error, so quoting was added. Furthermore if there are
no objects found in a pool, a divide by zero error will be
generated. This commit addresses these issues.


Related issues

Related to rgw - Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...` Resolved
Copied to rgw - Backport #46462: octopus: rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc Resolved
Copied to rgw - Backport #46556: nautilus: rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc Resolved

History

#1 Updated by Nathan Cutler 6 months ago

  • Project changed from Ceph to rgw

#2 Updated by J. Eric Ivancich 6 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler 6 months ago

  • Backport changed from octopus,nautilus to octopus

The nautilus backport of this follow-on fix for feature #44733 will be handled via that tracker ticket.

#4 Updated by Nathan Cutler 6 months ago

  • Related to Feature #44733: rgw: add `rgw-orphan-list` tool & `radosgw-admin bucket radoslist ...` added

#5 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #46462: octopus: rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc added

#6 Updated by Nathan Cutler 6 months ago

  • Backport changed from octopus to octopus nautilus

#7 Updated by Nathan Cutler 6 months ago

  • Copied to Backport #46556: nautilus: rgw: rgw-orphan-list -- fix interaction, quoting, and percentage calc added

#8 Updated by Nathan Cutler 6 months 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