Browse Source

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
(cherry picked from commit 5bfbcd32e0)
changes/17/703317/1
Emilien Macchi 1 year ago
parent
commit
b10f7e2f0d
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      deployment/neutron/neutron-dhcp-container-puppet.yaml
  2. +1
    -1
      deployment/neutron/neutron-l3-container-puppet.yaml
  3. +1
    -1
      deployment/neutron/neutron-ovs-agent-container-puppet.yaml
  4. +1
    -1
      deployment/nova/nova-compute-container-puppet.yaml
  5. +1
    -1
      deployment/nova/nova-libvirt-container-puppet.yaml
  6. +1
    -1
      deployment/openvswitch/openvswitch-dpdk-netcontrold-container-ansible.yaml

+ 1
- 1
deployment/neutron/neutron-dhcp-container-puppet.yaml View File

@ -361,7 +361,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:


+ 1
- 1
deployment/neutron/neutron-l3-container-puppet.yaml View File

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


+ 1
- 1
deployment/neutron/neutron-ovs-agent-container-puppet.yaml 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:


+ 1
- 1
deployment/nova/nova-compute-container-puppet.yaml 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:


+ 1
- 1
deployment/nova/nova-libvirt-container-puppet.yaml View File

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


+ 1
- 1
deployment/openvswitch/openvswitch-dpdk-netcontrold-container-ansible.yaml 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:


Loading…
Cancel
Save