Skip to content

Commit

Permalink
update: stop ceph-crash service before upgrading
Browse files Browse the repository at this point in the history
This adds the missing service stop task for ceph-crash upgrade workflow.

It should have been added through commit
`15872e3db1e342238636bc9c8e1aef6bd1d3dcd8` 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: Guillaume Abrioux <gabrioux@redhat.com>
  • Loading branch information
guits committed Mar 26, 2021
1 parent a65968a commit a8420d4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions infrastructure-playbooks/rolling_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,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

Expand Down

0 comments on commit a8420d4

Please sign in to comment.