From bc1d9cd33bc5f1807670acc20e3ebf6782adc98c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:22 -0400 Subject: [PATCH] Set msgr2 mode on Ceph monitors --- roles/pvc/tasks/ceph/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/pvc/tasks/ceph/main.yml b/roles/pvc/tasks/ceph/main.yml index 56b87db..518933c 100644 --- a/roles/pvc/tasks/ceph/main.yml +++ b/roles/pvc/tasks/ceph/main.yml @@ -89,6 +89,10 @@ - ceph-mon@{{ ansible_hostname }} when: newhost is defined and newhost +- name: set msgr2 enabled + command: ceph mon enable-msgr2 + run_once: true + - 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 become_user: ceph