aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorDoug Szumski <doug@stackhpc.com>2026-01-26 11:25:34 +0000
committerDoug Szumski <doug@stackhpc.com>2026-04-24 14:47:26 +0100
commit0f4c8544d8b822bd0d97da75b47b1244d147bef3 (patch)
tree174d9bef4550904d7bad6e89e25424de3daf90e0 /tests/run.yml
parentf0f9810b67afb7531e89cd683d44e49b9980d00f (diff)
downloadkolla-ansible-0f4c8544d8b822bd0d97da75b47b1244d147bef3.tar.gz
kolla-ansible-0f4c8544d8b822bd0d97da75b47b1244d147bef3.zip
Support multiple Nova Compute Ironic instances
Adds support for deploying multiple instances of the Nova Compute Ironic service on the same host. This is useful in large baremetal deployments, where the sharding and/or conductor group feature is used to scale out the service. A further patch to support deploying multiple Ironic conductor instances will follow. Co-Authored-By: Bartosz Bezak <bartosz@stackhpc.com> Co-Authored-By: Bertrand Lanson <bertrand.lanson@protonmail.com> Change-Id: Ibbddfd87e831a3775c3ed66c80b18e5070cedc90 Signed-off-by: Doug Szumski <doug@stackhpc.com>
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/run.yml b/tests/run.yml
index 8dd6c62c6..efa817e24 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -208,10 +208,10 @@
# ironic.conf
- src: "tests/templates/ironic-overrides.j2"
dest: /etc/kolla/config/ironic.conf
- when: "{{ scenario == 'ironic' }}"
+ when: "{{ scenario == 'ironic' or scenario == 'multi-compute-ironic' }}"
- src: "tests/templates/tenks-deploy-config.yml.j2"
dest: "{{ ansible_env.HOME }}/tenks.yml"
- when: "{{ scenario == 'ironic' }}"
+ when: "{{ scenario == 'ironic' or scenario == 'multi-compute-ironic' }}"
# keystone-federation config
- src: "tests/templates/keystone-federation/idp.example.org%2Frealms%2Fexample.conf.j2"
dest: "/etc/kolla/config/keystone-httpd/federation/oidc/metadata/idp.example.org%2Frealms%2Fexample.conf"
@@ -243,7 +243,7 @@
dest: ironic-agent.initramfs
- src: "ipa-centos9-{{ zuul.branch | replace('/', '-') }}.kernel"
dest: ironic-agent.kernel
- when: scenario == "ironic"
+ when: scenario == "ironic" or scenario == "multi-compute-ironic"
- block:
- name: Slurp requirements.yml
@@ -427,7 +427,7 @@
EXT_NET_GATEWAY: "{{ neutron_external_network_prefix }}1"
EXT_NET_DEMO_ROUTER_ADDR: "{{ neutron_external_network_prefix }}10"
SCENARIO: "{{ scenario }}"
- when: openstack_core_tested or scenario in ['ironic', 'magnum', 'nfv', 'zun', 'octavia']
+ when: openstack_core_tested or scenario in ['ironic', 'multi-compute-ironic' ,'magnum', 'nfv', 'zun', 'octavia']
- name: Test OVN VPNaaS
import_role:
@@ -494,7 +494,8 @@
chdir: "{{ kolla_ansible_src_dir }}"
environment:
TLS_ENABLED: "{{ tls_enabled }}"
- when: scenario == "ironic"
+ MULTI_COMPUTE_IRONIC: "{{ scenario == 'multi-compute-ironic' }}"
+ when: scenario == "ironic" or scenario == "multi-compute-ironic"
- name: Run test-magnum.sh script
script: