ovn: Disable inactivity probe in CentOS

In CentOS we run neutron api by httpd + mod_wsgi and this deployment
pattern causes occasional disconnection between neutron and onv which
results in test failure.

Disable inactivity probe to avoid the disconnection to stabilize
the CI job.

Change-Id: Ic39a41e98b97e7f6f5b2c7065545297b71937190
This commit is contained in:
Takashi Kajinami 2024-10-29 10:16:02 +09:00
parent c39f49ed70
commit 25fb879478

View File

@ -54,6 +54,10 @@ class openstack_integration::ovn(
$ovn_controller_ssl_ca_cert = undef
}
$inactivity_probe = $facts['os']['family'] ? {
'RedHat' => 0,
default => 60000,
}
class { 'ovn::northd':
dbs_listen_ip => $::openstack_integration::config::ip_for_url,
ovn_nb_db_ssl_key => $ovn_nb_db_ssl_key,
@ -62,8 +66,8 @@ class openstack_integration::ovn(
ovn_sb_db_ssl_key => $ovn_sb_db_ssl_key,
ovn_sb_db_ssl_cert => $ovn_sb_db_ssl_cert,
ovn_sb_db_ssl_ca_cert => $ovn_sb_db_ssl_ca_cert,
ovn_nb_db_inactivity_probe => 120000,
ovn_sb_db_inactivity_probe => 120000,
ovn_nb_db_inactivity_probe => $inactivity_probe,
ovn_sb_db_inactivity_probe => $inactivity_probe,
}
class { 'ovn::controller':
ovn_remote => $::openstack_integration::config::ovn_sb_connection,