]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/suites/nvmeof: remove "--refresh" from "ceph orch ps/ls"
authorVallari Agrawal <vallari.agrawal@ibm.com>
Tue, 10 Jun 2025 14:47:13 +0000 (20:17 +0530)
committerVallari Agrawal <vallari.agrawal@ibm.com>
Mon, 16 Jun 2025 04:10:29 +0000 (09:40 +0530)
Also in scalability test, set SCALING_DELAYS: '400'
instead of '300' because we might need more time for
namespace load balancing.

Fixes: https://tracker.ceph.com/issues/70927
Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml
qa/tasks/nvmeof.py
qa/workunits/nvmeof/mtls_test.sh
qa/workunits/nvmeof/scalability_test.sh

index 6355fc2e74a8adf72673db5bef19c3dcde5f0dcf..236d62dc940a1a8e2634939452b0337142513500 100644 (file)
@@ -38,5 +38,5 @@ tasks:
         - nvmeof/scalability_test.sh nvmeof.b,nvmeof.c,nvmeof.d
         - nvmeof/scalability_test.sh nvmeof.b,nvmeof.c
     env:
-      SCALING_DELAYS: '300'
+      SCALING_DELAYS: '400'
       RUNTIME: '1200'
index e37d794da64b712d91d2c8adb251a9e77745681c..591f1b60db885197321d48f8bfd6cd6a06517c66 100644 (file)
@@ -369,8 +369,8 @@ class NvmeofThrasher(Thrasher, Greenlet):
                 for d in self.daemons:
                     random_gateway_host = d.remote
                     d.remote.sh(d.status_cmd, check_status=False)
-                random_gateway_host.run(args=['ceph', 'orch', 'ls', '--refresh'])
-                random_gateway_host.run(args=['ceph', 'orch', 'ps', '--daemon-type', 'nvmeof', '--refresh'])
+                random_gateway_host.run(args=['ceph', 'orch', 'ls'])
+                random_gateway_host.run(args=['ceph', 'orch', 'ps', '--daemon-type', 'nvmeof'])
                 random_gateway_host.run(args=['ceph', 'health', 'detail'])
                 random_gateway_host.run(args=['ceph', '-s'])
                 random_gateway_host.run(args=['ceph', 'nvme-gw', 'show', 'mypool', 'mygroup0'])
index e13ca530e8dd2cba986846fe0ca6e831ebf80fe9..ac171a012c7613bb557430fb79e5c08ee332d6f3 100755 (executable)
@@ -23,7 +23,7 @@ wait_for_service() {
     MAX_RETRIES=30
     for ((RETRY_COUNT=1; RETRY_COUNT<=MAX_RETRIES; RETRY_COUNT++)); do
 
-        if ceph orch ls --refresh | grep -q "nvmeof"; then
+        if ceph orch ls | grep -q "nvmeof"; then
             echo "Found nvmeof in the output!"
             break
         fi
@@ -34,7 +34,7 @@ wait_for_service() {
         sleep 5
     done
     ceph orch ps
-    ceph orch ls --refresh
+    ceph orch ls
 }
 
 # deploy mtls
index f95659cd5a9edcb053ed4ee9baa9d8e9fd5619d8..d83cbcdd0e4828fb86f859e70384a9f23af8d9f5 100755 (executable)
@@ -46,7 +46,7 @@ status_checks() {
 
         diff=$((num_namespaces - expected_avg_ns))
         if [[ $diff -lt -1 || $diff -gt 1 ]]; then
-            echo "Gateway $gw_id has num-namespaces ($num_namespaces), expected around $expected_ns. Indicates a problem in ns load-balancing."
+            echo "Gateway $gw_id has num-namespaces ($num_namespaces), expected around $expected_ns_count. Indicates a problem in ns load-balancing."
             exit 1
         fi
     done