]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits: opt in to new collection after upgrade from reef to main
authorLaura Flores <lflores@ibm.com>
Fri, 16 Feb 2024 00:04:23 +0000 (18:04 -0600)
committerLaura Flores <lflores@ibm.com>
Mon, 25 Mar 2024 17:26:33 +0000 (17:26 +0000)
We added the "basic_pool_flags" collection to main (squid), so
we need to re-opt-in after the upgrade to opt in to this collection.

Otherwise, a "TELEMETRY_CHANGED" warning comes up in the log and fails
the test.

Fixes: https://tracker.ceph.com/issues/64458
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit a04a9c64b86fc253997081c4d769c887d13166a1)

qa/workunits/test_telemetry_reef_x.sh

index 4e1a905669b0adf0a88263fee08d358e34959ca4..8558d35cc4237982234571fc773fd9581553024a 100755 (executable)
@@ -12,7 +12,7 @@ fi
 ceph -s
 
 COLLECTIONS=$(ceph telemetry collection ls)
-NEW_COLLECTIONS=("perf_perf" "basic_mds_metadata" "basic_pool_usage" "basic_rook_v01" "perf_memory_metrics")
+NEW_COLLECTIONS=("perf_perf" "basic_mds_metadata" "basic_pool_usage" "basic_rook_v01" "perf_memory_metrics" "basic_pool_flags")
 for col in ${NEW_COLLECTIONS[@]}; do
     if ! [[ $COLLECTIONS == *$col* ]];
     then
@@ -26,8 +26,8 @@ ceph telemetry preview
 ceph telemetry preview-device
 ceph telemetry preview-all
 
-# Opt in to new collections
-# Currently, no new collections between latest reef and squid (dev)
+# Opt in to new collections (basic_pool_flags)
+ceph telemetry on --license sharing-1-0
 
 # Run show commands
 ceph telemetry show