Fix health checks for neutron_ovn_agent and neutron_ovn_metadata_agent

Closes-Bug: #2084128
Change-Id: I3b44c8f4ff3c55023d8bab4e9a88a86ca72cae5d
This commit is contained in:
Rafal Lewandowski 2024-10-10 10:25:08 +02:00 committed by Michal Nasiadka
parent 51903effa6
commit f0b0ee56cf
2 changed files with 10 additions and 2 deletions

View File

@ -428,7 +428,7 @@ neutron_ovn_metadata_agent_enable_healthchecks: "{{ enable_container_healthcheck
neutron_ovn_metadata_agent_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
neutron_ovn_metadata_agent_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
neutron_ovn_metadata_agent_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
neutron_ovn_metadata_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port python {{ ovn_sb_db_port }}"]
neutron_ovn_metadata_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port neutron-ovn-metadata-agent {{ ovsdb_port }}"]
neutron_ovn_metadata_agent_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
neutron_ovn_metadata_agent_healthcheck:
interval: "{{ neutron_ovn_metadata_agent_healthcheck_interval }}"
@ -480,7 +480,7 @@ neutron_ovn_agent_enable_healthchecks: "{{ enable_container_healthchecks }}"
neutron_ovn_agent_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
neutron_ovn_agent_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
neutron_ovn_agent_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
neutron_ovn_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port python {{ ovn_sb_db_port }}"]
neutron_ovn_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port neutron-ovn-agent {{ ovsdb_port }}"]
neutron_ovn_agent_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
neutron_ovn_agent_healthcheck:
interval: "{{ neutron_ovn_agent_healthcheck_interval }}"

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Fixes unreliable health checks for neutron_ovn_agent
and neutron_ovn_metadata_agent bug.
Changed to check OVS DB connection instead of OVN
southbound DB connection.
`LP#2084128 <https://bugs.launchpad.net/kolla-ansible/+bug/2084128>`__