From e6918187568dbd01842d8d1d2c808ce16a894239 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:54:28 +0200 Subject: Adding upstream version 18.2.2. Signed-off-by: Daniel Baumann --- qa/suites/fs/bugs/client_trim_caps/% | 0 qa/suites/fs/bugs/client_trim_caps/.qa | 1 + qa/suites/fs/bugs/client_trim_caps/begin | 1 + qa/suites/fs/bugs/client_trim_caps/centos_latest.yaml | 1 + qa/suites/fs/bugs/client_trim_caps/clusters/.qa | 1 + .../fs/bugs/client_trim_caps/clusters/small-cluster.yaml | 11 +++++++++++ qa/suites/fs/bugs/client_trim_caps/conf | 1 + qa/suites/fs/bugs/client_trim_caps/objectstore/.qa | 1 + .../client_trim_caps/objectstore/bluestore-bitmap.yaml | 1 + qa/suites/fs/bugs/client_trim_caps/overrides/+ | 0 qa/suites/fs/bugs/client_trim_caps/overrides/.qa | 1 + .../bugs/client_trim_caps/overrides/ignorelist_health.yaml | 1 + .../overrides/ignorelist_wrongly_marked_down.yaml | 1 + .../bugs/client_trim_caps/overrides/no_client_pidfile.yaml | 1 + qa/suites/fs/bugs/client_trim_caps/tasks/.qa | 1 + qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml | 14 ++++++++++++++ 16 files changed, 37 insertions(+) create mode 100644 qa/suites/fs/bugs/client_trim_caps/% create mode 120000 qa/suites/fs/bugs/client_trim_caps/.qa create mode 120000 qa/suites/fs/bugs/client_trim_caps/begin create mode 120000 qa/suites/fs/bugs/client_trim_caps/centos_latest.yaml create mode 120000 qa/suites/fs/bugs/client_trim_caps/clusters/.qa create mode 100644 qa/suites/fs/bugs/client_trim_caps/clusters/small-cluster.yaml create mode 120000 qa/suites/fs/bugs/client_trim_caps/conf create mode 120000 qa/suites/fs/bugs/client_trim_caps/objectstore/.qa create mode 120000 qa/suites/fs/bugs/client_trim_caps/objectstore/bluestore-bitmap.yaml create mode 100644 qa/suites/fs/bugs/client_trim_caps/overrides/+ create mode 120000 qa/suites/fs/bugs/client_trim_caps/overrides/.qa create mode 120000 qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_health.yaml create mode 120000 qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_wrongly_marked_down.yaml create mode 120000 qa/suites/fs/bugs/client_trim_caps/overrides/no_client_pidfile.yaml create mode 120000 qa/suites/fs/bugs/client_trim_caps/tasks/.qa create mode 100644 qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml (limited to 'qa/suites/fs/bugs/client_trim_caps') diff --git a/qa/suites/fs/bugs/client_trim_caps/% b/qa/suites/fs/bugs/client_trim_caps/% new file mode 100644 index 000000000..e69de29bb diff --git a/qa/suites/fs/bugs/client_trim_caps/.qa b/qa/suites/fs/bugs/client_trim_caps/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/begin b/qa/suites/fs/bugs/client_trim_caps/begin new file mode 120000 index 000000000..77af91f7d --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/begin @@ -0,0 +1 @@ +.qa/cephfs/begin/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/centos_latest.yaml b/qa/suites/fs/bugs/client_trim_caps/centos_latest.yaml new file mode 120000 index 000000000..bd9854e70 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/centos_latest.yaml @@ -0,0 +1 @@ +.qa/distros/supported/centos_latest.yaml \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/clusters/.qa b/qa/suites/fs/bugs/client_trim_caps/clusters/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/clusters/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/clusters/small-cluster.yaml b/qa/suites/fs/bugs/client_trim_caps/clusters/small-cluster.yaml new file mode 100644 index 000000000..5cd97a3ae --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/clusters/small-cluster.yaml @@ -0,0 +1,11 @@ +roles: +- [mon.a, mgr.x, osd.0, osd.1, osd.2, mds.a, mds.b, client.0] +openstack: +- volumes: # attached to each instance + count: 2 + size: 10 # GB +- machine: + disk: 100 # GB +log-rotate: + ceph-mds: 10G + ceph-osd: 10G diff --git a/qa/suites/fs/bugs/client_trim_caps/conf b/qa/suites/fs/bugs/client_trim_caps/conf new file mode 120000 index 000000000..16e8cc44b --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/conf @@ -0,0 +1 @@ +.qa/cephfs/conf \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/objectstore/.qa b/qa/suites/fs/bugs/client_trim_caps/objectstore/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/objectstore/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/objectstore/bluestore-bitmap.yaml b/qa/suites/fs/bugs/client_trim_caps/objectstore/bluestore-bitmap.yaml new file mode 120000 index 000000000..a59cf5175 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/objectstore/bluestore-bitmap.yaml @@ -0,0 +1 @@ +.qa/objectstore/bluestore-bitmap.yaml \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/overrides/+ b/qa/suites/fs/bugs/client_trim_caps/overrides/+ new file mode 100644 index 000000000..e69de29bb diff --git a/qa/suites/fs/bugs/client_trim_caps/overrides/.qa b/qa/suites/fs/bugs/client_trim_caps/overrides/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/overrides/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_health.yaml b/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_health.yaml new file mode 120000 index 000000000..5cb891a95 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_health.yaml @@ -0,0 +1 @@ +.qa/cephfs/overrides/ignorelist_health.yaml \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_wrongly_marked_down.yaml b/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_wrongly_marked_down.yaml new file mode 120000 index 000000000..f317cb714 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/overrides/ignorelist_wrongly_marked_down.yaml @@ -0,0 +1 @@ +.qa/cephfs/overrides/ignorelist_wrongly_marked_down.yaml \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/overrides/no_client_pidfile.yaml b/qa/suites/fs/bugs/client_trim_caps/overrides/no_client_pidfile.yaml new file mode 120000 index 000000000..8888f3327 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/overrides/no_client_pidfile.yaml @@ -0,0 +1 @@ +.qa/overrides/no_client_pidfile.yaml \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/tasks/.qa b/qa/suites/fs/bugs/client_trim_caps/tasks/.qa new file mode 120000 index 000000000..a602a0353 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/tasks/.qa @@ -0,0 +1 @@ +../.qa/ \ No newline at end of file diff --git a/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml new file mode 100644 index 000000000..098f7d053 --- /dev/null +++ b/qa/suites/fs/bugs/client_trim_caps/tasks/trim-i24137.yaml @@ -0,0 +1,14 @@ +# Note this test is unlikely to exercise the code as expected in the future: +# "It's too tricky to arrange inodes in session->caps. we don't know if it +# still works in the future." -Zheng + +tasks: +- exec: + mon.a: + - ceph config set mds mds_min_caps_per_client 1 +- background_exec: + mon.a: + - "sleep 30 && ceph config set mds mds_max_caps_per_client 1" +- exec: + client.0: + - ceph_test_trim_caps -- cgit v1.2.3