]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
podman: Add systemd dependency on network.target
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 6 Jun 2019 19:41:35 +0000 (15:41 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 7 Jun 2019 14:06:26 +0000 (16:06 +0200)
commite9edb5a92ac513c49f13a7d6b611f47f4352b6a8
treea5e3142900252471f421889da677ec7c47532d0d
parent1daca1ba839be78a8198109648735228e01bd47a
podman: Add systemd dependency on network.target

When using podman, the systemd unit scripts don't have a dependency
on the network. So we're not sure that the network is up and running
when the containers are starting.
With docker this behaviour is already handled because the systemd
unit scripts depend on docker service which is started after the
network.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit f49090df7ef82419c69dfd7a22250a79c17de42f)
14 files changed:
roles/ceph-grafana/templates/grafana-server.service.j2
roles/ceph-iscsi-gw/templates/rbd-target-api.service.j2
roles/ceph-iscsi-gw/templates/rbd-target-gw.service.j2
roles/ceph-iscsi-gw/templates/tcmu-runner.service.j2
roles/ceph-mds/templates/ceph-mds.service.j2
roles/ceph-mgr/templates/ceph-mgr.service.j2
roles/ceph-mon/templates/ceph-mon.service.j2
roles/ceph-nfs/templates/ceph-nfs.service.j2
roles/ceph-node-exporter/templates/node_exporter.service.j2
roles/ceph-osd/templates/ceph-osd.service.j2
roles/ceph-prometheus/templates/alertmanager.service.j2
roles/ceph-prometheus/templates/prometheus.service.j2
roles/ceph-rbd-mirror/templates/ceph-rbd-mirror.service.j2
roles/ceph-rgw/templates/ceph-radosgw.service.j2