Disable autoscale via command
As per [1] the ceph.conf option does not work properly and must be set this way. [1] https://stackoverflow.com/questions/63853436/ceph-octopus-setting-autoscale-mode-from-ceph-conf-file
This commit is contained in:
parent
a10b3e8d4a
commit
8ebb8a8339
|
@ -111,6 +111,11 @@
|
||||||
run_once: yes
|
run_once: yes
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
- name: set pg_autoscale_mode disabled
|
||||||
|
command: ceph config set global osd_pool_default_pg_autoscale_mode off
|
||||||
|
run_once: yes
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: create mgr auth keyring
|
- name: create mgr auth keyring
|
||||||
command: ceph auth get-or-create mgr.{{ ansible_hostname }} mon 'allow profile mgr' osd 'allow *' mds 'allow *' --out-file /var/lib/ceph/mgr/ceph-{{ ansible_hostname }}/keyring
|
command: ceph auth get-or-create mgr.{{ ansible_hostname }} mon 'allow profile mgr' osd 'allow *' mds 'allow *' --out-file /var/lib/ceph/mgr/ceph-{{ ansible_hostname }}/keyring
|
||||||
become_user: ceph
|
become_user: ceph
|
||||||
|
|
Loading…
Reference in New Issue