]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/mgr: pass "--force" to "mgr module enable"
authorKefu Chai <kchai@redhat.com>
Mon, 23 Apr 2018 11:13:37 +0000 (19:13 +0800)
committerJohn Spray <john.spray@redhat.com>
Mon, 23 Apr 2018 21:30:40 +0000 (17:30 -0400)
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/mgr/mgr_test_case.py

index b73a6a296e126a343ae19e2da4dbebee2d1f445d..059eb7bde96368538869b5e982d441bde7c088dd 100644 (file)
@@ -118,7 +118,7 @@ class MgrTestCase(CephTestCase):
 
         initial_gid = cls.mgr_cluster.get_mgr_map()['active_gid']
         cls.mgr_cluster.mon_manager.raw_cluster_cmd("mgr", "module", "enable",
-                                         module_name)
+                                                    module_name, "--force")
 
         # Wait for the module to load
         def has_restarted():