Merge "Use Docker healthchecks for ironic-neutron-agent services"
This commit is contained in:
commit
fb26785ce9
@ -173,6 +173,7 @@ neutron_services:
|
|||||||
host_in_groups: "{{ inventory_hostname in groups['ironic-neutron-agent'] }}"
|
host_in_groups: "{{ inventory_hostname in groups['ironic-neutron-agent'] }}"
|
||||||
volumes: "{{ ironic_neutron_agent_default_volumes + ironic_neutron_agent_extra_volumes }}"
|
volumes: "{{ ironic_neutron_agent_default_volumes + ironic_neutron_agent_extra_volumes }}"
|
||||||
dimensions: "{{ ironic_neutron_agent_dimensions }}"
|
dimensions: "{{ ironic_neutron_agent_dimensions }}"
|
||||||
|
healthcheck: "{{ ironic_neutron_agent_healthcheck }}"
|
||||||
neutron-tls-proxy:
|
neutron-tls-proxy:
|
||||||
container_name: neutron_tls_proxy
|
container_name: neutron_tls_proxy
|
||||||
group: neutron-server
|
group: neutron-server
|
||||||
@ -420,6 +421,19 @@ neutron_sriov_agent_healthcheck:
|
|||||||
test: "{% if neutron_sriov_agent_enable_healthchecks | bool %}{{ neutron_sriov_agent_healthcheck_test }}{% else %}NONE{% endif %}"
|
test: "{% if neutron_sriov_agent_enable_healthchecks | bool %}{{ neutron_sriov_agent_healthcheck_test }}{% else %}NONE{% endif %}"
|
||||||
timeout: "{{ neutron_sriov_agent_healthcheck_timeout }}"
|
timeout: "{{ neutron_sriov_agent_healthcheck_timeout }}"
|
||||||
|
|
||||||
|
ironic_neutron_agent_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
||||||
|
ironic_neutron_agent_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
||||||
|
ironic_neutron_agent_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
||||||
|
ironic_neutron_agent_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
||||||
|
ironic_neutron_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port ironic-neutron-agent {{ om_rpc_port }}"]
|
||||||
|
ironic_neutron_agent_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
||||||
|
ironic_neutron_agent_healthcheck:
|
||||||
|
interval: "{{ ironic_neutron_agent_healthcheck_interval }}"
|
||||||
|
retries: "{{ ironic_neutron_agent_healthcheck_retries }}"
|
||||||
|
start_period: "{{ ironic_neutron_agent_healthcheck_start_period }}"
|
||||||
|
test: "{% if ironic_neutron_agent_enable_healthchecks | bool %}{{ ironic_neutron_agent_healthcheck_test }}{% else %}NONE{% endif %}"
|
||||||
|
timeout: "{{ ironic_neutron_agent_healthcheck_timeout }}"
|
||||||
|
|
||||||
neutron_dhcp_agent_default_volumes:
|
neutron_dhcp_agent_default_volumes:
|
||||||
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/neutron-dhcp-agent/:{{ container_config_directory }}/:ro"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Implements container healthchecks for ironic-neutron-agent service.
|
||||||
|
See `blueprint
|
||||||
|
<https://blueprints.launchpad.net/kolla-ansible/+spec/container-health-check>`__
|
Loading…
x
Reference in New Issue
Block a user