]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.py/cephmanager.py: add ctx.daemons for restarting daemons
authorSamuel Just <samuel.just@dreamhost.com>
Wed, 14 Sep 2011 23:31:58 +0000 (16:31 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Fri, 16 Sep 2011 00:08:34 +0000 (17:08 -0700)
commita3c886af19f370c2bf1ccaa973758bb1c630f7bc
tree8bad06284fda9a377bf15a39b202cb8990321f05
parent85cb29d345e2da7c1d105801df5fc1122273467e
ceph.py/cephmanager.py: add ctx.daemons for restarting daemons

ctx.daemons will now be an instance of CephState.

ctx.daemons.get_daemon(role, id).stop() to stop daemon, retart() to
restart the daemon, etc.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
teuthology/task/ceph.py
teuthology/task/ceph_manager.py
teuthology/task/thrashosds.py