]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa: Run test_admin with the squid client
authorKotresh HR <khiremat@redhat.com>
Mon, 30 Sep 2024 11:09:00 +0000 (16:39 +0530)
committerJos Collin <jcollin@redhat.com>
Wed, 27 Aug 2025 06:46:02 +0000 (12:16 +0530)
This is required to test the features involving
fixes both in client and mds. This is to make
sure the older clients are not broken with the
fix. The version 19.2.2 is used for client.

The test suite sets up the cluster with squid
19.2.2 and upgrades only the ceph cluster node
leaving the client node.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit a4f97c0aa92c37113b33d63b57f2fae870f403a1)

19 files changed:
qa/suites/fs/bugs/multifs_mdsauthcaps/% [new file with mode: 0644]
qa/suites/fs/bugs/multifs_mdsauthcaps/.qa [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/.qa [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/1node-cluster-1node-client.yaml [new file with mode: 0644]
qa/suites/fs/bugs/multifs_mdsauthcaps/conf [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/distro [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/objectstore/.qa [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/objectstore/bluestore-bitmap.yaml [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/+ [new file with mode: 0644]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/.qa [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_health.yaml [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_wrongly_marked_down.yaml [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/no_client_pidfile.yaml [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/pg_health.yaml [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/% [new file with mode: 0644]
qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/.qa [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/0-install.yaml [new file with mode: 0644]
qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/1-mount [new symlink]
qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/2-test_admin_squid_client.yaml [new file with mode: 0644]

diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/% b/qa/suites/fs/bugs/multifs_mdsauthcaps/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/.qa b/qa/suites/fs/bugs/multifs_mdsauthcaps/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/.qa b/qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/1node-cluster-1node-client.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/clusters/1node-cluster-1node-client.yaml
new file mode 100644 (file)
index 0000000..efab5e1
--- /dev/null
@@ -0,0 +1,12 @@
+roles:
+- [mon.a, mon.b, mon.c, mgr.x, mgr.y, mds.a, mds.b, mds.c, mds.d, osd.0, osd.1, osd.2, osd.3]
+- [client.0, client.1, client.2, client.3]
+openstack:
+- volumes: # attached to each instance
+    count: 4
+    size: 20 # GB
+- machine:
+    disk: 200 # GB
+log-rotate:
+  ceph-mds: 10G
+  ceph-osd: 10G
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/conf b/qa/suites/fs/bugs/multifs_mdsauthcaps/conf
new file mode 120000 (symlink)
index 0000000..16e8cc4
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/conf
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/distro b/qa/suites/fs/bugs/multifs_mdsauthcaps/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/fs/bugs/multifs_mdsauthcaps/objectstore/.qa b/qa/suites/fs/bugs/multifs_mdsauthcaps/objectstore/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/objectstore/bluestore-bitmap.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/objectstore/bluestore-bitmap.yaml
new file mode 120000 (symlink)
index 0000000..a59cf51
--- /dev/null
@@ -0,0 +1 @@
+.qa/objectstore/bluestore-bitmap.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/+ b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/.qa b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_health.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_health.yaml
new file mode 120000 (symlink)
index 0000000..5cb891a
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/ignorelist_health.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_wrongly_marked_down.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/ignorelist_wrongly_marked_down.yaml
new file mode 120000 (symlink)
index 0000000..f317cb7
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/ignorelist_wrongly_marked_down.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/no_client_pidfile.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/no_client_pidfile.yaml
new file mode 120000 (symlink)
index 0000000..8888f33
--- /dev/null
@@ -0,0 +1 @@
+.qa/overrides/no_client_pidfile.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/pg_health.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/overrides/pg_health.yaml
new file mode 120000 (symlink)
index 0000000..5b6be3a
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/pg_health.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/% b/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/.qa b/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/0-install.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/0-install.yaml
new file mode 100644 (file)
index 0000000..f23fcc4
--- /dev/null
@@ -0,0 +1,37 @@
+meta:
+- desc: |
+   install ceph/squid v19.2.2
+tasks:
+- install:
+    tag: v19.2.2
+- print: "**** done installing squid v19.2.2"
+- install.upgrade:
+    # upgrade the single ceph cluster node, which runs all
+    # the mon/mds/osd/mgr daemons except client node.
+    mon.a:
+- print: "**** done install.upgrade on ceph cluster node"
+- ceph:
+    log-ignorelist:
+      - overall HEALTH_
+      - \(FS_
+      - \(MDS_
+      - \(OSD_
+      - \(MON_DOWN\)
+      - \(CACHE_POOL_
+      - \(POOL_
+      - \(MGR_DOWN\)
+      - \(PG_
+      - \(SMALLER_PGP_NUM\)
+      - Monitor daemon marked osd
+      - Behind on trimming
+      - Manager daemon
+    conf:
+      global:
+        mon warn on pool no app: false
+- exec:
+    mon.a:
+    - ceph osd dump -f json-pretty
+    - ceph versions
+    - ceph fs status
+    - ceph health detail
+- print: "**** done ceph"
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/1-mount b/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/1-mount
new file mode 120000 (symlink)
index 0000000..e3600f4
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/mount/
\ No newline at end of file
diff --git a/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/2-test_admin_squid_client.yaml b/qa/suites/fs/bugs/multifs_mdsauthcaps/tasks/2-test_admin_squid_client.yaml
new file mode 100644 (file)
index 0000000..c2f8da6
--- /dev/null
@@ -0,0 +1,18 @@
+overrides:
+  ceph:
+    conf:
+      global:
+        lockdep: true
+    log-ignorelist:
+      - missing required features
+      - \(MDS_CACHE_OVERSIZED\)
+      - \(MDS_TRIM\)
+      - \(MDS_CLIENTS_BROKEN_ROOTSQUASH\)
+      - report clients with broken root_squash implementation
+      - evicting unresponsive client
+      - as file system flag refuse_client_session is set
+tasks:
+  - cephfs_test_runner:
+      fail_on_skip: false
+      modules:
+        - tasks.cephfs.test_admin