Update for future ingress improvements

- Openvswitch agent init script skips attaching
  interface if it does not exist. And the compute-kit.sh
  deploys neutron with

  auto_bridge_add: {"br-ex": "provider1"}

  where "provider1" is a tap interface that is going
  to be created while deploying the test env.

- Heat test script checks only public endpoints

- Add 1+2 nodes nodeset. The primary node is used
  as a client node and not a member of K8s cluster.

Change-Id: If7c8763dd619dec31f9d141f21399d159395049a
This commit is contained in:
Vladimir Kozhukalov 2024-03-19 14:15:14 -05:00
parent ddd851d40e
commit 82d1b86b2a
6 changed files with 80 additions and 3 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Neutron
name: neutron
version: 0.3.34
version: 0.3.35
home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -428,7 +428,7 @@ do
bridge=${bmap%:*}
iface=${bmap#*:}
ovs-vsctl --no-wait --may-exist add-br $bridge
if [ -n "$iface" ] && [ "$iface" != "null" ]
if [ -n "$iface" ] && [ "$iface" != "null" ] && ( ip link show $iface 1>/dev/null 2>&1 );
then
ovs-vsctl --no-wait --may-exist add-port $bridge $iface
migrate_ip_from_nic $iface $bridge

View File

@ -76,4 +76,5 @@ neutron:
- 0.3.32 Update dpdk override
- 0.3.33 Make sure trust on command is applied to avoid race-condition with ovs-dpdk
- 0.3.34 Update metadata endpoint
- 0.3.35 Do not attach non-existing interfaces to br-ex bridge for OVS agent
...

View File

@ -78,6 +78,10 @@ conf:
max_l3_agents_per_router: 1
l3_ha_network_type: vxlan
dhcp_agents_per_network: 1
# provider1 is a tap interface used by default in the test env
# we create this interface while setting up the test env
auto_bridge_add:
br-ex: provider1
plugins:
ml2_conf:
ml2_type_flat:

View File

@ -35,7 +35,7 @@ openstack service list
openstack endpoint list
sleep 30 #NOTE(portdirect): Wait for ingress controller to update rules and restart Nginx
openstack --os-interface internal orchestration service list
openstack orchestration service list
FEATURE_GATE="tls"; if [[ ${FEATURE_GATES//,/ } =~ (^|[[:space:]])${FEATURE_GATE}($|[[:space:]]) ]]; then
curl --cacert /etc/openstack-helm/certs/ca/ca.pem -L https://heat.openstack.svc.cluster.local

View File

@ -20,6 +20,12 @@
- name: primary
nodes:
- primary
- name: k8s_cluster
nodes:
- primary
- name: k8s_control_plane
nodes:
- primary
- nodeset:
name: openstack-helm-3nodes-ubuntu_focal
@ -38,6 +44,18 @@
nodes:
- node-1
- node-2
- name: k8s_cluster
nodes:
- primary
- node-1
- node-2
- name: k8s_control_plane
nodes:
- primary
- name: k8s_nodes
nodes:
- node-1
- node-2
- nodeset:
name: openstack-helm-1node-32GB-ubuntu_focal
@ -51,6 +69,12 @@
- name: primary
nodes:
- primary
- name: k8s_cluster
nodes:
- primary
- name: k8s_control_plane
nodes:
- primary
- nodeset:
name: openstack-helm-1node-ubuntu_jammy
@ -61,6 +85,12 @@
- name: primary
nodes:
- primary
- name: k8s_cluster
nodes:
- primary
- name: k8s_control_plane
nodes:
- primary
- nodeset:
name: openstack-helm-3nodes-ubuntu_jammy
@ -79,6 +109,42 @@
nodes:
- node-1
- node-2
- name: k8s_cluster
nodes:
- primary
- node-1
- node-2
- name: k8s_control_plane
nodes:
- primary
- name: k8s_nodes
nodes:
- node-1
- node-2
- nodeset:
name: openstack-helm-1node-2nodes-ubuntu_jammy
nodes:
- name: primary
label: ubuntu-jammy
- name: node-1
label: ubuntu-jammy
- name: node-2
label: ubuntu-jammy
groups:
- name: primary
nodes:
- primary
- name: k8s_cluster
nodes:
- node-1
- node-2
- name: k8s_control_plane
nodes:
- node-1
- name: k8s_nodes
nodes:
- node-2
- nodeset:
name: openstack-helm-1node-32GB-ubuntu_jammy
@ -92,3 +158,9 @@
- name: primary
nodes:
- primary
- name: k8s_cluster
nodes:
- primary
- name: k8s_control_plane
nodes:
- primary