Description of problem: ceph-objectstore-tool should be in the "ceph-osd" package. Version-Release number of selected component (if applicable): ceph-osd-0.94-1 Steps to Reproduce: 1. Install ceph-osd on a system 2. Run "ceph-objectstore-tool" Actual results: The command is not found Expected results: The command should be present. Additional info: From an IRC conversation with Greg Farnum: The ceph-objectstore-tool utility is a tool for interacting with the OSD objectstore. It's good for repairing clusters that have broken in a variety of ways. We expect users to need to run it sometimes (as well as support). It is like an fsck and repair tool for the OSD's store. This is a new utility so there is no man page for ceph-objectstore-tool yet.
In order to do a better estimation of efforts involved in testing this, could you please provide following: 1. write-up on objectstore-tool explaining under what situations (list them) this tool need to be used, how to use it, what parameters it accepts, what preconditions must exist to issue this command etc.,. 2. Set of steps that lead to situations (listed above) where objectstore-tool has to be used. Using them, QE will test the tool.
*** Bug 1207333 has been marked as a duplicate of this bug. ***
Ken, can you please get us the info on above mentioned items?
Hi David, would you be able to answer Harish's questions re: objectstore-tool above? QE is looking for a specific test plan for this feature.
Command "ceph-objectstore-tool" is found in recent builds. Moving this defect to verified state for now. The objectstore tool will be verified as part of KB article verification later. [root@Admin ~]# ceph-objectstore-tool Must provide --data-path Allowed options: --help produce help message --type arg Arg is one of [filestore (default), memstore, keyvaluestore] --data-path arg path to object store, mandatory --journal-path arg path to journal, mandatory for filestore type --pgid arg PG id, mandatory except for import, list-lost, fix-lost, list-pgs, set-allow-sharded-objects --op arg Arg is one of [info, log, remove, export, import, list, list-lost, fix-lost, list-pgs, rm-past-intervals, set-allow-sharded-objects] --file arg path of file to export or import --format arg (=json-pretty) Output format which may be json, json-pretty, xml, xml-pretty --debug Enable diagnostic output to stderr --skip-journal-replay Disable journal replay --skip-mount-omap Disable mounting of omap Positional syntax: ceph-objectstore-tool ... <object> (get|set)-bytes [file] ceph-objectstore-tool ... <object> set-(attr|omap) <key> [file] ceph-objectstore-tool ... <object> (get|rm)-(attr|omap) <key> ceph-objectstore-tool ... <object> get-omaphdr ceph-objectstore-tool ... <object> set-omaphdr [file] ceph-objectstore-tool ... <object> list-attrs ceph-objectstore-tool ... <object> list-omap ceph-objectstore-tool ... <object> remove ceph-objectstore-tool import-rados <pool> [file] <object> can be a JSON object description as displayed by --op list. <object> can be an object name which will be looked up in all the OSD's PGs. The optional [file] argument will read stdin or write stdout if not specified or if '-' specified. [root@Admin ~]# ceph -v ceph version 0.94.1 (e4bfad3a3c51054df7e537a724c8d0bf9be972ff) [root@Admin ~]#
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. https://access.redhat.com/errata/RHBA-2015:1183