]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_manager: add ceph-objectstore-tool wrapper
authorLoic Dachary <ldachary@redhat.com>
Fri, 21 Nov 2014 15:38:54 +0000 (16:38 +0100)
committerDavid Zafman <dzafman@redhat.com>
Tue, 13 Jan 2015 20:31:15 +0000 (12:31 -0800)
commitae68658339dc445b40bbca2292a5bcb35956f0b7
treefa940afa60ab36ad20ec64b927dfe89517cef775
parent0465c0c53fc1a68fee9663534bd868400dbc0dbb
ceph_manager: add ceph-objectstore-tool wrapper

Add the CephManager.objectstore_tool method to encapsulate a call to
ceph-objectstore-tool. The wrapper can convert an object name into the
PG id and figure out the primary OSD. The designated OSD is stopped
before running the command and restarted afterwards.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
tasks/ceph_manager.py