Ceph: "/usr/bin/rgw-orphan-list: No such file or directory" or "line xxx: ceph-diff-sorted: command not found"

Solution Verified - Updated -

Issue

The file(s) /usr/bin/rgw-orphan-list and/or /usr/bin/ceph-diff-sorted are missing.

Examples:

[root@mgmt-0 influx]# rgw-orphan-list default.rgw.buckets.data /influx
-bash: /usr/bin/rgw-orphan-list: No such file or directory
[root@mgmt-0 influx]# rgw-orphan-list default.rgw.buckets.data /influx
2023-05-24 09:58:37 mgmt-0 Pool is "default.rgw.buckets.data".
2023-05-24 09:58:37 mgmt-0 Note: output files produced will be tagged with the current timestamp -- 20230524135837.
2023-05-24 09:58:37 mgmt-0 Starting 'rados ls' function.
2023-05-24 09:58:37 mgmt-0 Running 'rados ls' on pool default.rgw.buckets.data.
2023-05-24 10:03:14 mgmt-0 Completed 'rados ls' on pool default.rgw.buckets.data.
2023-05-24 10:03:14 mgmt-0 Checking for namespaces
2023-05-24 10:03:14 mgmt-0 Checking for locators
2023-05-24 10:03:14 mgmt-0 Generating final 'rados ls' output (without namespaces or locators)
2023-05-24 10:03:14 mgmt-0 Sorting 'rados ls' output(s).
2023-05-24 10:03:14 mgmt-0 Sorting 'rados ls' output(s) complete.
2023-05-24 10:03:14 mgmt-0 Moving sorted output(s).
2023-05-24 10:03:14 mgmt-0 Running 'radosgw-admin bucket radoslist'.
2023-05-24 10:03:18 mgmt-0 Completed 'radosgw-admin bucket radoslist'.
2023-05-24 10:03:18 mgmt-0 Sorting 'radosgw-admin bucket radoslist' output.
2023-05-24 10:03:18 mgmt-0 Completed sorting 'radosgw-admin bucket radoslist'.
2023-05-24 10:03:18 mgmt-0 Moving 'radosgw-admin bucket radoslist' output.
2023-05-24 10:03:18 mgmt-0 Completed moving 'radosgw-admin bucket radoslist' output.
2023-05-24 10:03:18 mgmt-0 Computing delta...
/usr/bin/rgw-orphan-list: line 242: ceph-diff-sorted: command not found        <-- Here
2023-05-24 10:03:18 mgmt-0 ERROR: ceph-diff-sorted failed with status: 0
2023-05-24 10:03:18 mgmt-0 TERMINATING - Results are incomplete - DO NOT USE

Environment

Red Hat Ceph Storage (RHCS) 5.0.x
Red Hat Ceph Storage (RHCS) 5.1.x
Red Hat Ceph Storage (RHCS) 5.2.x
Red Hat Ceph Storage (RHCS) 5.3.0
Red Hat Ceph Storage (RHCS) 5.3.1
Red Hat Ceph Storage (RHCS) 5.3.2
Red Hat Ceph Storage (RHCS) 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content