Commit 747d2595 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

cephadm_adopt: fix ceph-crash migration

ceph-ansible leaves a ceph-crash container in containerized deployment.
It means we end up with 2 ceph-crash containers running after the
migration playbook is complete.


Signed-off-by: default avatarGuillaume Abrioux <>
(cherry picked from commit 22c18e82)
parent 60c0fb8a
......@@ -1003,11 +1003,10 @@
- name: stop and disable ceph-crash systemd service
name: ceph-crash
name: "{{ 'ceph-crash@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-crash.service' }}"
state: stopped
enabled: false
failed_when: false
when: not containerized_deployment | bool
- name: update the placement of ceph-crash hosts
command: "{{ cephadm_cmd }} shell --fsid {{ fsid }} -- ceph --cluster {{ cluster }} orch apply crash --placement='label:ceph'"
Supports Markdown
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