Bug 1301706 - Need "orphans find" command to be listed in the manpage of radosgw-admin command
Need "orphans find" command to be listed in the manpage of radosgw-admin command
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 1.3.3
Assigned To: Casey Bodley
Bara Ancincova
Depends On: 1335269
Blocks: 1299303
  Show dependency treegraph
Reported: 2016-01-25 13:15 EST by shilpa
Modified: 2017-07-30 11:56 EDT (History)
12 users (show)

See Also:
Fixed In Version: RHEL: ceph-0.94.9-3.el7cp Ubuntu: ceph_0.94.9-4redhat1trusty
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-09-29 08:56:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 14516 None None None 2016-01-26 14:01 EST
Ceph Project Bug Tracker 14637 None None None 2016-02-03 21:57 EST
Ceph Project Bug Tracker 17280 None None None 2016-09-15 13:39 EDT

  None (edit)
Description shilpa 2016-01-25 13:15:12 EST
Description of problem:
A cli tool for identifying orphaned rgw objects is backported to 1.3.2. Refer https://bugzilla.redhat.com/show_bug.cgi?id=1254398. 
Need to include this cli option in the man page for "radosgw-admin" command.

Version-Release number of selected component (if applicable):

Steps to Reproduce:

1. $ radosgw-admin orphans find --pool=<data pool> --job-id=<name> [--num-shards=<num shards>] [--orphan-stale-secs=<seconds>]

Actual results:
"radosgw-admin --help" currently does not list the above option.
Comment 2 Ken Dreyer (Red Hat) 2016-02-03 12:01:58 EST
fix merged upstream @ https://github.com/ceph/ceph/pull/7473
Comment 3 Ken Dreyer (Red Hat) 2016-02-03 21:57:26 EST
Orit or Yehuda, we'll need https://github.com/ceph/ceph/pull/7518 as well in order to fix this
Comment 4 Ken Dreyer (Red Hat) 2016-02-04 13:13:40 EST
Orit merged the above PR to master; thanks Orit. PR for hammer: https://github.com/ceph/ceph/pull/7524

(downstream we really only need to cherry-pick the second commit there, "doc: add orphans commands to radosgw-admin(8)
Comment 7 shilpa 2016-02-07 03:32:01 EST
I suppose we also have another option in "orphans find" command that needs to be documented.


 $ radosgw-admin orphans find --pool=<data pool> --job-id=<name> [--num-shards=<num shards>] [--orphan-stale-secs=<seconds>]
Comment 8 Ken Dreyer (Red Hat) 2016-02-08 17:22:52 EST
Yehuda/Orit, mind submitting a PR for this? Do we need any other options, also?
Comment 12 Yehuda Sadeh 2016-05-03 13:49:45 EDT
both upstream issues have been resolved.
Comment 18 Tejas 2016-09-14 09:15:15 EDT
I do not see the "--orphan-stale-secs=<seconds>" option in the "man radosgw-admin" page in ceph version: 0.94.9-2.el7cp 
Moving this back
Comment 19 Ken Dreyer (Red Hat) 2016-09-15 13:39:38 EDT
Filed http://tracker.ceph.com/issues/17280 to track missing "--orphan-stale-secs" in radosgw-admin man page.
Comment 20 Ken Dreyer (Red Hat) 2016-09-15 13:44:16 EDT
man page update for master in https://github.com/ceph/ceph/pull/11097
Comment 29 Tejas 2016-09-21 03:11:50 EDT
Verified on ceph version:
ceph version 0.94.9-3.el7cp
Comment 31 errata-xmlrpc 2016-09-29 08:56:04 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.