Compare commits

...

2 Commits

Author SHA1 Message Date
1134ce2517 Fix bad calls to node primary 2023-08-30 16:24:27 -04:00
b1a5dde9b0 Disable PG autoscaling after upgrade 2023-08-30 15:18:41 -04:00
2 changed files with 8 additions and 2 deletions

View File

@ -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
@ -527,7 +533,7 @@
connection: local
- name: set first node as primary coordinator
command: "pvc node primary --wait"
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
run_once: yes
delegate_to: "{{ ansible_play_hosts[0] }}"

View File

@ -87,7 +87,7 @@
connection: local
- name: set first node as primary coordinator on first install
command: "pvc node primary --wait"
command: "pvc node primary --wait {{ ansible_play_hosts[0].split('.')[0] }}"
run_once: yes
delegate_to: "{{ ansible_play_hosts[0] }}"