]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
containers: introduce target systemd unit v4.0.64
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:43:01 +0000 (13:43 -0400)
commit20583e83dd0fe00dbac4d87bb6acf710e7ba710e
tree2f9612f8ab8bf170b9fd35508c857931cbdcfc04
parent6ebbda8cefbfe62cb48f940805a89d2489482a86
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)
24 files changed:
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