Commit 0b056205 authored by Guillaume Abrioux's avatar Guillaume Abrioux Committed by Dimitri Savineau
Browse files

switch2containers: do not stop in osd play

`` should be disabled only. Otherwise, in collocation
scenario you stop other collocated services in the OSD play which isn't
what we want to do. Each daemon has its corresponding play for managing
the transition to container.


Signed-off-by: default avatarGuillaume Abrioux <>
parent eb452d35
......@@ -238,7 +238,7 @@
- name: collect running osds
shell: |
set -o pipefail;
systemctl list-units | grep -E "loaded * active" | grep -Eo 'ceph-osd@[0-9]+.service|ceph-volume|ceph\.target'
systemctl list-units | grep -E "loaded * active" | grep -Eo 'ceph-osd@[0-9]+.service|ceph-volume'
register: running_osds
changed_when: false
failed_when: false
......@@ -259,6 +259,11 @@
with_items: "{{ running_osds.stdout_lines | default([]) }}"
when: running_osds != []
- name: disable
enabled: no
- name: remove old ceph-osd systemd units
path: "{{ item }}"
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