From 6e9e9a056e7a6b821132d01f630ef94ea0d05857 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 26 Oct 2023 00:16:19 +0200 Subject: [PATCH] Disable wheels build for metal AIO deployments Building wheels takes quite some resources and time in CI without giving much benefit on metal runs, because requirements for wheels build could be provided by other role while build would fail in LXC jobs. So in order to reduce load on CI and speedup tests we disable wheels build for metal AIO deployments. Change-Id: I98abd19d9ecd62bde9df088219308a5f4d4cc950 --- .../templates/user_variables.aio.yml.j2 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index 6e6197cdc8..ba95a2a31a 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -218,14 +218,8 @@ trove_wsgi_processes: 1 magnum_wsgi_processes: 1 magnum_conductor_workers: 1 -## Octavia {% if 'metal' in bootstrap_host_scenarios %} -# TODO(mnaser): The Octavia role relies on gathering IPs of hosts in the -# LBaaS network and using those in the health manager pool -# IPs. We don't store those IPs when running metal so we -# have to override it manually. We should remove this and -# fix the role (or the inventory tool) eventually. -octavia_hm_hosts: 172.29.232.100 # br-lbaas IP +venv_wheel_build_enable: false {% endif %} ## Sahara @@ -305,6 +299,7 @@ openstack_user_kernel_options: openstack_hosts_package_state: latest +## Octavia {% if 'octavia' in bootstrap_host_scenarios_expanded %} # Enable Octavia V2 API/standalone octavia_v2: True @@ -312,6 +307,14 @@ octavia_v2: True octavia_v1: False octavia_management_net_subnet_cidr: '172.29.232.0/22' tempest_run_concurrency: 0 +{% if 'metal' in bootstrap_host_scenarios %} +# TODO(mnaser): The Octavia role relies on gathering IPs of hosts in the +# LBaaS network and using those in the health manager pool +# IPs. We don't store those IPs when running metal so we +# have to override it manually. We should remove this and +# fix the role (or the inventory tool) eventually. +octavia_hm_hosts: 172.29.232.100 # br-lbaas IP +{% endif %} {% endif %} {% if 'proxy' in bootstrap_host_scenarios_expanded %}