]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Revert "orchestra/daemon/cephadmunit.py: fix method kill_cmd()" wip-kill-cmd
authorLaura Flores <lflores@ibm.com>
Tue, 6 Aug 2024 17:18:25 +0000 (17:18 +0000)
committerLaura Flores <lflores@ibm.com>
Tue, 6 Aug 2024 17:18:25 +0000 (17:18 +0000)
This reverts commit 2c6d64a222b4d38d4782ed407e045a86df0a6524.

teuthology/orchestra/daemon/cephadmunit.py

index 87c380d0d471fcdcd02aae2cdeccadf90d907288..f4959b17370dc66e8e8184dc877de714476836d5 100644 (file)
@@ -35,9 +35,9 @@ class CephadmUnit(DaemonState):
 
     def kill_cmd(self, sig):
         return ' '.join([
-            'sudo', 'systemctl', 'kill',
+            'sudo', 'docker', 'kill',
             '-s', str(int(sig)),
-            'ceph-%s@%s.%s' % (self.fsid, self.type_, self.id_),
+            'ceph-%s-%s.%s' % (self.fsid, self.type_, self.id_),
         ])
 
     def _start_logger(self):