Enable reconciliation only if OVN Octavia is enabled

This commit is to allow reconciliation to run only if
OVN Octavia is enabled. Using OVN is faster when
creating LoadBalancers

Change-Id: I08f7fe4d9970559f10eaadce35bde082e831968d
This commit is contained in:
Sunday Mgbogu 2021-12-02 19:46:37 +00:00
parent 3b9312df7c
commit 6836825e99
1 changed files with 5 additions and 1 deletions

View File

@ -1548,7 +1548,11 @@ function update_tempest_conf_file {
if [[ "$KURYR_IPV6" == "True" || "$KURYR_DUAL_STACK" == "True" ]]; then
iniset "$TEMPEST_CONFIG" kuryr_kubernetes ipv6 True
fi
iniset "$TEMPEST_CONFIG" kuryr_kubernetes enable_reconciliation True
# NOTE(digitalsimboja): Reconciliation tests create and delete LBs,
# so only enable them for OVN as it's faster when creating LBs
if [[ "$KURYR_EP_DRIVER_OCTAVIA_PROVIDER" == "ovn" ]]; then
iniset "$TEMPEST_CONFIG" kuryr_kubernetes enable_reconciliation True
fi
iniset "$TEMPEST_CONFIG" kuryr_kubernetes validate_crd True
iniset "$TEMPEST_CONFIG" kuryr_kubernetes kuryrports True
iniset "$TEMPEST_CONFIG" kuryr_kubernetes kuryrloadbalancers True