From cfe7a2c2cee04925b951814bc3fa44ee03bb6bb5 Mon Sep 17 00:00:00 2001 From: Kamil Sambor Date: Fri, 5 Jul 2024 11:34:32 +0200 Subject: [PATCH] Modify job to use metadata per cell --- .../control_plane_hook.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/ci/nova-operator-tempest-multinode/control_plane_hook.yaml b/ci/nova-operator-tempest-multinode/control_plane_hook.yaml index 9acdf0c47..838b48357 100644 --- a/ci/nova-operator-tempest-multinode/control_plane_hook.yaml +++ b/ci/nova-operator-tempest-multinode/control_plane_hook.yaml @@ -37,3 +37,30 @@ - op: replace path: /spec/keystone/template/replicas value: 2 + + - op: add + path: /spec/nova/template/cellTemplates + value: + cell0: + cellDatabaseAccount: nova-cell0 + hasAPIAccess: true + metadataServiceTemplate: + enabled: false + cell1: + cellDatabaseAccount: nova-cell1 + hasAPIAccess: true + cellMessageBusInstance: rabbitmq-cell1 + cellDatabaseInstance: openstack-cell1 + metadataServiceTemplate: + enabled: true + override: + service: + metadata: + annotations: + metallb.universe.tf/address-pool: internalapi + metallb.universe.tf/allow-shared-ip: internalapi + metallb.universe.tf/loadBalancerIPs: 172.17.0.80 + + - op: add + path: /spec/nova/template/metadataServiceTemplate/enabled + value: false