From fc8064571a913188d9cf4bb8ce0300205602de3e Mon Sep 17 00:00:00 2001 From: Damian Dabrowski Date: Tue, 11 Apr 2023 14:00:14 +0200 Subject: [PATCH] Disable floating IP usage in magnum_cluster_templates `is_floating_ip_enabled`(formerly `floating_ip_enabled`) is enabled by default. When it's enabled, it's also required to define `external_network_id`[1]. Since at the moment of Magnum provisioning we don't have any public network created (yet), we disable usage of floating IP for the template. [1] https://opendev.org/openstack/ansible-collections-openstack/src/commit/01e1742acf800cb5181ad6eae53d51db1801fcd9/plugins/modules/coe_cluster_template.py#L448 Change-Id: I275f7ad0722c86a42eb6b29bed5068f4a33f0bff --- .../roles/bootstrap-host/templates/user_variables_magnum.yml.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2 index f6b9aca748..dd91800125 100644 --- a/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2 @@ -32,6 +32,7 @@ magnum_cluster_templates: network_driver: flannel volume_driver: cinder image_id: fedora-coreos-latest + floating_ip_enabled: false labels: kube_tag: v1.23.3-rancher1 etcd_tag: 3.4.6