Bug 1211304
| Summary: | ceph-objectstore-tool should be in ceph-osd subpackage | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Ken Dreyer (Red Hat) <kdreyer> |
| Component: | Build | Assignee: | Ken Dreyer (Red Hat) <kdreyer> |
| Status: | CLOSED ERRATA | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.3.0 | CC: | dzafman, flucifre, hnallurv |
| Target Milestone: | rc | ||
| Target Release: | 1.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-0.94.1-4.el7cp | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-24 15:52:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1207333 | ||
|
Description
Ken Dreyer (Red Hat)
2015-04-13 14:45:51 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. *** 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 |