From b1a5dde9b0b1552748acece96252fd4bcf8f9cee Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 30 Aug 2023 15:18:41 -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