depends_on: add .service to avoid errors in logs

Make sure we depends on a systemd service by having the .service in the
service name that we depend on.

Otherwise it leads to errors in /var/log/messages:
  Failed to add dependency on openvswitch, ignoring: Invalid argument

Change-Id: I35230c6dfd8bc7ea2c45f7d2e1e5b5f4316a9375
This commit is contained in:
Emilien Macchi 2020-01-13 22:49:25 -05:00
parent 2ebc940e39
commit 5bfbcd32e0
6 changed files with 6 additions and 6 deletions

View File

@ -353,7 +353,7 @@ outputs:
restart: always
security_opt: 'label=disable'
depends_on:
- openvswitch
- openvswitch.service
healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
ulimit: {get_param: DockerNeutronDHCPAgentUlimit}
volumes:

View File

@ -311,7 +311,7 @@ outputs:
privileged: true
restart: always
depends_on:
- openvswitch
- openvswitch.service
healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
ulimit: {get_param: DockerNeutronL3AgentUlimit}
volumes:

View File

@ -314,7 +314,7 @@ outputs:
security_opt: 'label=disable'
restart: always
depends_on:
- openvswitch
- openvswitch.service
healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
ulimit: {get_param: DockerOpenvswitchUlimit}
volumes:

View File

@ -775,7 +775,7 @@ outputs:
user: nova
restart: always
depends_on:
- tripleo_nova_libvirt
- tripleo_nova_libvirt.service
healthcheck: {get_attr: [ContainersCommon, healthcheck_rpc_port]}
volumes:
list_concat:

View File

@ -680,7 +680,7 @@ outputs:
restart: always
cpuset_cpus: all
depends_on:
- tripleo_nova_virtlogd
- tripleo_nova_virtlogd.service
healthcheck:
test: '/openstack/healthcheck libvirtd'
volumes:

View File

@ -60,7 +60,7 @@ outputs:
security_opt: 'label=disable'
restart: always
depends_on:
- openvswitch
- openvswitch.service
ulimit: {get_param: DockerOpenvswitchUlimit}
volumes:
list_concat: