diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index 054029920..bc7943db3 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -240,6 +240,14 @@ changed_when: false failed_when: false + # systemd module does not support --runtime option + - name: disable ceph-osd@.service runtime-enabled + command: "systemctl disable --runtime {{ item }}" + changed_when: false + failed_when: false + with_items: "{{ running_osds.stdout_lines | default([])}}" + when: item.startswith('ceph-osd@') + - name: stop/disable/mask non-containerized ceph osd(s) (if any) systemd: name: "{{ item }}" diff --git a/tox.ini b/tox.ini index 3c1623dc7..55e9b7cbd 100644 --- a/tox.ini +++ b/tox.ini @@ -145,6 +145,10 @@ commands= py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts-switch-to-containers --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests + ansible-playbook -vv -i {changedir}/{env:INVENTORY} {toxinidir}/tests/functional/reboot.yml + + py.test --reruns 5 --reruns-delay 1 -n 8 --durations=0 --sudo -v --connection=ansible --ansible-inventory={changedir}/hosts-switch-to-containers --ssh-config={changedir}/vagrant_ssh_config {toxinidir}/tests/functional/tests + [add-mons] commands= ansible-playbook -vv -i {changedir}/hosts-2 --limit mon1 {toxinidir}/tests/functional/setup.yml