]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: fix teardown in cephtool's test_mon_mds 3065/head
authorJohn Spray <john.spray@redhat.com>
Tue, 2 Dec 2014 21:43:03 +0000 (21:43 +0000)
committerLoic Dachary <loic@dachary.org>
Wed, 3 Dec 2014 15:26:57 +0000 (16:26 +0100)
This was missing from 17b5fc9a but we didn't notice
because the test wasn't being run by the gitbuilders.

Signed-off-by: John Spray <john.spray@redhat.com>
qa/workunits/cephtool/test.sh

index f3bc88faf4f7b85cf77e2ff1f26d2b51e0f76018..b87c625991358b1365e54dcb76634920208f784c 100755 (executable)
@@ -773,9 +773,14 @@ function test_mon_mds()
   ceph osd tier cache-mode mds-tier writeback
   ceph osd tier set-overlay fs_metadata mds-tier
 
+  # Clean up FS
   fail_all_mds
   ceph fs rm cephfs --yes-i-really-mean-it
 
+  # Clean up overlay/tier relationship
+  ceph osd tier remove-overlay fs_metadata
+  ceph osd tier remove fs_metadata mds-tier
+
   ceph osd pool delete mds-tier mds-tier --yes-i-really-really-mean-it
   ceph osd pool delete mds-ec-pool mds-ec-pool --yes-i-really-really-mean-it