Actions
Bug #58442
openrgw-orphan-list tool can list all rados objects as orphans
% Done:
0%
Source:
Community (dev)
Tags:
backport_processed
Backport:
pacific quincy
Regression:
No
Severity:
2 - major
Reviewed:
01/13/2023
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.
Actions