Deploy horizon by default with metal AIO scenarios

For a long time this was not possible because of conflicting use of
port 443 by the horizon backend and haproxy, but this has been
subsequently fixed.

Thanks to nixbuilder on IRC for validating this in a metal AIO
deployment.

Closes-Bug: #2059865
Change-Id: Icd88209b2b98201672a08d66a6b6edbec972b26e
This commit is contained in:
Jonathan Rosser 2024-04-16 16:54:52 +01:00 committed by Dmitriy Rabotyagov
parent 2cb87aaf2d
commit b9b0f9e2f2

View File

@ -38,11 +38,7 @@ bootstrap_host_scenarios_expanded: |-
{% set scenario_list = bootstrap_host_scenarios + ['keystone', 'haproxy'] %}
{% if ['aio', 'translations'] | intersect(bootstrap_host_scenarios) | length > 0 %}
{# Base services deployed with aio and translations scenarios #}
{% set _ = scenario_list.extend(['cinder', 'glance', 'neutron', 'nova', 'placement']) %}
{% if 'metal' not in bootstrap_host_scenarios %}
{# Horizon is a base service in container jobs #}
{% set _ = scenario_list.append('horizon') %}
{% endif %}
{% set _ = scenario_list.extend(['cinder', 'glance', 'neutron', 'nova', 'placement', 'horizon']) %}
{% endif %}
{# Service additions based on scenario presence #}
{% if 'designate' in bootstrap_host_scenarios or ('validate' in bootstrap_host_scenarios and 'integrated' in bootstrap_host_scenarios) %}