]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/ssh: new tests!
authorSage Weil <sage@redhat.com>
Wed, 13 Nov 2019 23:10:38 +0000 (23:10 +0000)
committerSage Weil <sage@redhat.com>
Thu, 21 Nov 2019 16:46:54 +0000 (10:46 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/suites/rados/ssh/% [new file with mode: 0644]
qa/suites/rados/ssh/.qa [new symlink]
qa/suites/rados/ssh/fixed-2.yaml [new symlink]
qa/suites/rados/ssh/msgr [new symlink]
qa/suites/rados/ssh/start.yaml [new file with mode: 0644]
qa/suites/rados/ssh/supported-random-distro$ [new symlink]
qa/suites/rados/ssh/tasks/rados_api_tests.yaml [new symlink]
qa/suites/rados/ssh/tasks/rados_python.yaml [new symlink]
qa/tasks/ceph2.py

diff --git a/qa/suites/rados/ssh/% b/qa/suites/rados/ssh/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/rados/ssh/.qa b/qa/suites/rados/ssh/.qa
new file mode 120000 (symlink)
index 0000000..fea2489
--- /dev/null
@@ -0,0 +1 @@
+../.qa
\ No newline at end of file
diff --git a/qa/suites/rados/ssh/fixed-2.yaml b/qa/suites/rados/ssh/fixed-2.yaml
new file mode 120000 (symlink)
index 0000000..230ff0f
--- /dev/null
@@ -0,0 +1 @@
+.qa/clusters/fixed-2.yaml
\ No newline at end of file
diff --git a/qa/suites/rados/ssh/msgr b/qa/suites/rados/ssh/msgr
new file mode 120000 (symlink)
index 0000000..57bee80
--- /dev/null
@@ -0,0 +1 @@
+.qa/msgr
\ No newline at end of file
diff --git a/qa/suites/rados/ssh/start.yaml b/qa/suites/rados/ssh/start.yaml
new file mode 100644 (file)
index 0000000..d43d570
--- /dev/null
@@ -0,0 +1,3 @@
+tasks:
+- install:
+- ceph2:
diff --git a/qa/suites/rados/ssh/supported-random-distro$ b/qa/suites/rados/ssh/supported-random-distro$
new file mode 120000 (symlink)
index 0000000..0862b44
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/supported-random-distro$
\ No newline at end of file
diff --git a/qa/suites/rados/ssh/tasks/rados_api_tests.yaml b/qa/suites/rados/ssh/tasks/rados_api_tests.yaml
new file mode 120000 (symlink)
index 0000000..72299da
--- /dev/null
@@ -0,0 +1 @@
+../../basic/tasks/rados_api_tests.yaml
\ No newline at end of file
diff --git a/qa/suites/rados/ssh/tasks/rados_python.yaml b/qa/suites/rados/ssh/tasks/rados_python.yaml
new file mode 120000 (symlink)
index 0000000..f989c79
--- /dev/null
@@ -0,0 +1 @@
+../../basic/tasks/rados_python.yaml
\ No newline at end of file
index d9df71c5af3565aa3e465a62fe3e61667e037bce..9a4fe61ea3e0537f9153945464899009138b6aaf 100644 (file)
@@ -421,7 +421,21 @@ def ceph_mons(ctx, config):
                         break
                     time.sleep(1)
 
-        ## FIXME: refresh ceph.conf files for all mons + first mgr ##
+        # refresh ceph.conf files for all mons + first mgr
+        """
+        for remote, roles in ctx.cluster.remotes.items():
+            for mon in [r for r in roles
+                        if teuthology.is_type('mon', cluster_name)(r)]:
+                c_, _, id_ = teuthology.split_role(mon)
+                shell(ctx, cluster_name, remote, [
+                    'ceph', 'orchestrator', 'service', 'redeploy',
+                    'mon', id_,
+                ])
+        shell(ctx, cluster_name, ctx.ceph[cluster_name].bootstrap_remote, [
+            'ceph', 'orchestrator', 'service', 'redeploy',
+            'mgr', ctx.ceph[cluster_name].first_mgr,
+        ])
+        """
 
         yield