]> 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 17:42:50 +0000 (13:42 -0400)
commitd7311aeefcfb129d6cdf51fcd6cd58261f5d9d9f
treea56f8e135fe6f5be8fe2db922323ce80ba92f05e
parenta4f8bc688debbffb1d0ad797de50ac8a15960d74
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>
(cherry picked from commit 09ef465f62fde775bd2490be5b43d7796e2a9c6c)
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