]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
options/mon: disable availability tracking by default
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Tue, 16 Sep 2025 13:52:27 +0000 (19:22 +0530)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 22 Sep 2025 09:48:09 +0000 (09:48 +0000)
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
(cherry picked from commit ef7effaa33bd6b936d7433e668d36f80ed7bee65)
(cherry picked from commit a4b32523949a75b9761122d22bbdc0514158ba2d)

PendingReleaseNotes
qa/standalone/mon/availability.sh
src/common/options/mon.yaml.in

index c2a33ef21e16ef5afc81802dc3375472b30c4d66..ef4f558c40203a15b4350e5ea99bbedb23847184 100644 (file)
   5 seconds. The feature is on by default. A new config option ``enable_availability_tracking``
   can be used to turn off the feature if required. Another command is added to clear the 
   availability status for a specific pool, ``ceph osd pool clear-availability-status <pool-name>``. 
+  one second by default. This interval can be changed using the new config option
+  ``pool_availability_update_interval.``. The feature is off by default. A new config option 
+  ``enable_availability_tracking`` can be used to turn on the feature if required. 
+  Another command is added to clear the availability status for a specific pool, 
+  ``ceph osd pool clear-availability-status <pool-name>``. 
   This feature is in tech preview. 
   Related trackers:
    - https://tracker.ceph.com/issues/67777
index 668dd3673356b2ef5f44e77442f888480ddfeef4..c12fa28fd1b1feffb7bc6f841ff648e49cddd74a 100755 (executable)
@@ -53,6 +53,9 @@ function TEST_availablity_score() {
 
     ceph -s 
     ceph health | grep HEALTH_OK || return 1
+    # enable feature
+    ceph config set mon enable_availability_tracking true
     ceph osd pool availability-status
     AVAILABILITY_STATUS=$(ceph osd pool availability-status | grep -w "foo")
     SCORE=$(echo "$AVAILABILITY_STATUS" | awk '{print $7}')
index 4ac1b2f05a45bd31ebb9522a2b5e12b32ee5463d..28b4dbee199ef09460c7ca2ac62ead8eaee4c67e 100644 (file)
@@ -1407,7 +1407,7 @@ options:
   level: advanced
   desc: Calculate and store availablity score for each pool in the 
     cluster at regular intervals
-  default: true
+  default: false
   services :
   - mon
   flags: