]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: deprecate radosgw-admin orphans sub-commands
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 20 Mar 2020 15:20:10 +0000 (11:20 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Tue, 5 May 2020 18:33:32 +0000 (14:33 -0400)
commit75483d408633a93653dc3401e45573d2d8847cf3
tree6ee2f710acc01b757df334c6f09ab8099a592064
parentf64de8f475777ea1765b7d5e7265a0cfd70835ab
rgw: deprecate radosgw-admin orphans sub-commands

The orphans sub-commands have not been maintained for years and it's
unclear whether they're reliable. Additionally, they store logs on the
cluster, so if a user wants to run it to address a nearly full
cluster, it could push the user over the edge. As a result the
(currently experimental) `rgw-orphan-list` tool (separate executable
rather than a sub-command) has been created, which stores intermediate
results on the local filesystem.

Now all three orphans sub-commands produce a warning (on cerr) that
the command is being deprecated. Additionally all three now require
the --yes-i-really-mean-it command-line option to run.

This also documents the "bucket radoslist" sub-command to
`radosgw-admin` in its corresponding man page, a change that was
omitted from the prior commit that added "bucket radoslist"
documentation.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
doc/man/8/radosgw-admin.rst
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t