Project

General

Profile

Actions

Bug #58442

open

rgw-orphan-list tool can list all rados objects as orphans

Added by Michael Kidd over 1 year ago. Updated about 1 year ago.

Status:
Pending Backport
Priority:
High
Assignee:
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
backport_processed
Backport:
pacific quincy
Regression:
No
Severity:
2 - major
Reviewed:
01/13/2023
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When ran on a node with limited /tmp space, the 'sort' commands used in the 'rgw-orphan-list' tool will error out when /tmp space is exhausted and provide an empty output file.

Since the 'radosgw-admin radoslist' command is ran after the 'rados ls', the 'radosgw-admin radoslist' output is more likely to be impacted by low /tmp space, and thus have it's output be empty.

The current version of the 'rgw-orphan-list' tool does not error check the sort commands, thus an output from the tool can show 100% of the RADOS objects as 'orphans'.

A Ceph cluster admin could easily miss this and delete RADOS objects which are in active use.


Related issues 2 (1 open1 closed)

Copied to rgw - Backport #58507: quincy: rgw-orphan-list tool can list all rados objects as orphansNewMichael KiddActions
Copied to rgw - Backport #58508: pacific: rgw-orphan-list tool can list all rados objects as orphansRejectedMichael KiddActions
Actions #1

Updated by Michael Kidd over 1 year ago

  • Target version changed from v17.2.6 to v18.0.0
  • Backport set to quincy
  • Pull request ID set to 49734
Actions #2

Updated by Casey Bodley about 1 year ago

  • Backport changed from quincy to pacific quincy
Actions #3

Updated by J. Eric Ivancich about 1 year ago

  • Status changed from New to Pending Backport
Actions #4

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58507: quincy: rgw-orphan-list tool can list all rados objects as orphans added
Actions #5

Updated by Backport Bot about 1 year ago

  • Copied to Backport #58508: pacific: rgw-orphan-list tool can list all rados objects as orphans added
Actions #6

Updated by Backport Bot about 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF