Description of problem: Need to document the RGW orphans tool usage. https://bugzilla.redhat.com/show_bug.cgi?id=1254398. The commands are: #radosgw-admin orphans find --pool=<data pool> --job-id=<name> [--num-shards=<num shards>] [--orphan-stale-secs=<seconds>] #radosgw-admin orphans finish --job-id=<job_name> Version-Release number of selected component (if applicable): 1.3.2 Upstream discussion: https://www.mail-archive.com/ceph-users@lists.ceph.com/msg19654.html
Feel free to borrow from https://github.com/ceph/ceph/pull/7524
Hi Aron, It would be nice to add Yehuda's C#10 to the doc. We should be more specific in what cases do objects leave behind orphans. Also, there is a prerequisite to running " radosgw-admin orphans find" command. The tool tries to open a radosgw log pool and fails. A log pool needs to exist prior to running the above command. The following command on the admin node should do it: $ rados mkpool .log
Also, would be nice to add description for each option. For example: option: --pool Data pool to scan for leaked rados objects option: --num-shards Number of shards to use for keeping the temporary scan info
Thanks Aron. Doc looks fine. Moving the BZ to verified.