Bug 1211304 - ceph-objectstore-tool should be in ceph-osd subpackage
Summary: ceph-objectstore-tool should be in ceph-osd subpackage
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Build
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.0
Assignee: Ken Dreyer (Red Hat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
: 1207333 (view as bug list)
Depends On:
Blocks: 1207333
TreeView+ depends on / blocked
 
Reported: 2015-04-13 14:45 UTC by Ken Dreyer (Red Hat)
Modified: 2022-02-21 18:29 UTC (History)
3 users (show)

Fixed In Version: ceph-0.94.1-4.el7cp
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-24 15:52:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 11376 0 None None None Never
Red Hat Issue Tracker RHCEPH-3435 0 None None None 2022-02-21 18:29:08 UTC
Red Hat Product Errata RHBA-2015:1183 0 normal SHIPPED_LIVE Ceph bug fix and enhancement update 2015-06-24 19:49:46 UTC

Description Ken Dreyer (Red Hat) 2015-04-13 14:45:51 UTC
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.

Comment 1 Harish NV Rao 2015-04-14 07:13:15 UTC
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.

Comment 2 Federico Lucifredi 2015-04-14 20:34:16 UTC
*** Bug 1207333 has been marked as a duplicate of this bug. ***

Comment 3 Harish NV Rao 2015-04-15 10:03:19 UTC
Ken, can you please get us the info on above mentioned items?

Comment 4 Ken Dreyer (Red Hat) 2015-04-15 16:41:48 UTC
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.

Comment 8 Harish NV Rao 2015-06-01 07:24:07 UTC
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 ~]#

Comment 10 errata-xmlrpc 2015-06-24 15:52:00 UTC
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


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