]> 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)
committerLoic Dachary <ldachary@redhat.com>
Tue, 13 Jan 2015 14:07:43 +0000 (15:07 +0100)
commit236049b27db979290d8f089e54c3ecc5bb502ec7
treec353ac7500b7cf79e2a1e5c13a13e68e2237bb51
parent372665d1ec53248066527a552b2de9aeac02ba22
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