]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
containers: introduce target systemd unit
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 10 Aug 2021 13:21:19 +0000 (15:21 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 18 Aug 2021 15:08:50 +0000 (11:08 -0400)
commit09ef465f62fde775bd2490be5b43d7796e2a9c6c
tree83f72113aad3326c3248596b3aaa75c3dee3e8fa
parent3d27f9e7dc7ee775be57c27c3620009f9935ddcc
containers: introduce target systemd unit

This adds ceph-*.target systemd unit files support for containerized
deployments.
This also fixes a regression introduced by PR #6719 (rgw and nfs systemd
units not getting purged)

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1962748
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
25 files changed:
infrastructure-playbooks/cephadm-adopt.yml
infrastructure-playbooks/purge-cluster.yml
roles/ceph-container-common/files/ceph.target [new file with mode: 0644]
roles/ceph-container-common/tasks/main.yml
roles/ceph-crash/templates/ceph-crash.service.j2
roles/ceph-mds/files/ceph-mds.target [new file with mode: 0644]
roles/ceph-mds/tasks/containerized.yml
roles/ceph-mds/tasks/systemd.yml
roles/ceph-mds/templates/ceph-mds.service.j2
roles/ceph-mgr/files/ceph-mgr.target [new file with mode: 0644]
roles/ceph-mgr/tasks/start_mgr.yml
roles/ceph-mgr/tasks/systemd.yml
roles/ceph-mgr/templates/ceph-mgr.service.j2
roles/ceph-mon/files/ceph-mon.target [new file with mode: 0644]
roles/ceph-mon/tasks/systemd.yml
roles/ceph-mon/templates/ceph-mon.service.j2
roles/ceph-osd/files/ceph-osd.target [new file with mode: 0644]
roles/ceph-osd/tasks/systemd.yml
roles/ceph-osd/templates/ceph-osd.service.j2
roles/ceph-rbd-mirror/files/ceph-rbd-mirror.target [new file with mode: 0644]
roles/ceph-rbd-mirror/tasks/systemd.yml
roles/ceph-rbd-mirror/templates/ceph-rbd-mirror.service.j2
roles/ceph-rgw/files/ceph-radosgw.target [new file with mode: 0644]
roles/ceph-rgw/tasks/systemd.yml
roles/ceph-rgw/templates/ceph-radosgw.service.j2