From ed73f67991b9a203dd2d4ccdf6cd5c1c01cf7289 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Tue, 28 Jul 2015 13:46:05 -0500 Subject: [PATCH] ceph_manager: adds a signal_osd method Signed-off-by: Andrew Schoen --- tasks/ceph_manager.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/ceph_manager.py b/tasks/ceph_manager.py index 012be1b3d006a..6e63868d030f2 100644 --- a/tasks/ceph_manager.py +++ b/tasks/ceph_manager.py @@ -1748,6 +1748,13 @@ class CephManager: """ self.raw_cluster_cmd('osd', 'in', str(osd)) + def signal_osd(self, osd, sig): + """ + Wrapper to local get_daemon call which sends the given + signal to the given osd. + """ + self.ctx.daemons.get_daemon('osd', osd).signal(sig) + ## monitors def signal_mon(self, mon, sig): """ -- 2.39.5