Skip to content

Commit

Permalink
Fix health checks for neutron_ovn_agent and neutron_ovn_metadata_agent
Browse files Browse the repository at this point in the history
Closes-Bug: #2084128
Change-Id: I3b44c8f4ff3c55023d8bab4e9a88a86ca72cae5d
  • Loading branch information
g0rgamesh committed Oct 16, 2024
1 parent ec4f728 commit 74b41b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/neutron/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,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 }}"
Expand Down Expand Up @@ -478,7 +478,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 }}"
Expand Down
8 changes: 8 additions & 0 deletions releasenotes/notes/fix_ovn_agents_hc-f6e4a39b9d64e9f1.yaml
Original file line number Diff line number Diff line change
@@ -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>`__

0 comments on commit 74b41b6

Please sign in to comment.