From 06aeec9e5e1207fcbbd55072d993333f44c4b281 Mon Sep 17 00:00:00 2001 From: Vicente Cheng Date: Fri, 18 Sep 2015 10:23:19 +0800 Subject: [PATCH] tests: ceph-disk: modified the destroy_osd test function. - use the new implementation (ceph-disk deactivate/destroy) instead of step by step remove Signed-off-by: Vicente Cheng --- qa/workunits/ceph-disk/ceph-disk-test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qa/workunits/ceph-disk/ceph-disk-test.py b/qa/workunits/ceph-disk/ceph-disk-test.py index a4cb5620a6ce3..53f46128fd6d7 100644 --- a/qa/workunits/ceph-disk/ceph-disk-test.py +++ b/qa/workunits/ceph-disk/ceph-disk-test.py @@ -134,10 +134,8 @@ class CephDisk: except: pass self.sh(""" - ceph osd down {id} - ceph osd rm {id} - ceph auth del osd.{id} - ceph osd crush rm osd.{id} + ceph-disk deactivate --deactivate-by-id {id} + ceph-disk destroy --destroy-by-id {id} """.format(id=id)) @staticmethod -- 2.39.5