Commit 07a0636c authored by Dimitri Savineau's avatar Dimitri Savineau
Browse files

rolling_update: restart mds after the upgrade

In addition of 155e2a23, the active mds daemons isn't stop/start
correctly as opposed as the other services so that daemon doesn't come
back after the upgrade.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1861688

Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit ec0a37a7)
parent 3314cd52
......@@ -569,6 +569,7 @@
name: ceph-mds@{{ ansible_hostname }}
enabled: no
masked: yes
when: not containerized_deployment | bool
- import_role:
name: ceph-handler
......@@ -583,6 +584,18 @@
- import_role:
name: ceph-mds
- name: restart ceph mds
systemd:
name: ceph-mds@{{ ansible_hostname }}
state: restarted
enabled: yes
masked: no
when: not containerized_deployment | bool
- name: restart active mds
command: "{{ container_binary }} stop ceph-mds-{{ ansible_hostname }}"
changed_when: false
when: containerized_deployment | bool
- name: upgrade standbys ceph mdss cluster
vars:
......@@ -602,6 +615,7 @@
name: ceph-mds@{{ ansible_hostname }}
enabled: no
masked: yes
when: not containerized_deployment | bool
- import_role:
name: ceph-handler
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment