From c9d1edf63d5eed6acd7fc606fbd2f6e9e12bd029 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:30 -0400 Subject: [PATCH] Disable PG autoscaling after upgrade --- oneshot/upgrade-pvc-cluster_deb12.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/oneshot/upgrade-pvc-cluster_deb12.yml b/oneshot/upgrade-pvc-cluster_deb12.yml index 2385bc0..09d60b3 100644 --- a/oneshot/upgrade-pvc-cluster_deb12.yml +++ b/oneshot/upgrade-pvc-cluster_deb12.yml @@ -384,6 +384,12 @@ - name: disable insecure global id reclaim in Ceph command: ceph config set mon auth_allow_insecure_global_id_reclaim false + - name: disable default pg autoscaler + command: ceph config set global osd_pool_default_pg_autoscale_mode off + + - name: disable pg autoscaler + command: ceph osd pool set noautoscale + - name: set OSDs to require pacific command: ceph osd require-osd-release pacific