Commit 70488156 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

update: stop ceph-crash service before upgrading

This adds the missing service stop task for ceph-crash upgrade workflow.

It should have been added through commit
`15872e3d` in stable-4.0 but at the time
we backported this patch ceph-crash wasn't implemented yet so the
ceph-crash related content in this patch was removed. Then, ceph-crash
has been implemented later so we are still missing this part of the patch in
stable-4.0.

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

Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit a8420d41)
parent b8a896f0
......@@ -871,6 +871,18 @@
tasks_from: container_binary.yml
- import_role:
name: ceph-handler
- import_role:
name: ceph-crash
tasks_from: systemd.yml
- name: stop the ceph-crash service
systemd:
name: "{{ 'ceph-crash@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-crash.service' }}"
state: stopped
enabled: no
masked: yes
- import_role:
name: ceph-crash
......
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