Skip to content

Commit f68fbe3

Browse files
committed
ci: Bump devstack to 2023.2
Also bump Ubuntu image to 22.04
1 parent 575dae0 commit f68fbe3

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

hack/ci/cloud-init/controller.yaml.tpl

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
VERBOSE=True
1313
LOG_COLOR=True
1414

15-
# Neutron
16-
enable_plugin neutron https://github.com/openstack/neutron stable/${OPENSTACK_RELEASE}
17-
1815
# Octavia
1916
enable_plugin octavia https://github.com/openstack/octavia stable/${OPENSTACK_RELEASE}
2017
enable_plugin octavia-dashboard https://github.com/openstack/octavia-dashboard stable/${OPENSTACK_RELEASE}
@@ -35,9 +32,20 @@
3532
ENABLED_SERVICES+=,g-api
3633

3734
# Neutron
38-
ENABLED_SERVICES+=,neutron-api,neutron-agent,neutron-dhcp,neutron-l3,neutron-trunk
35+
enable_plugin neutron https://github.com/openstack/neutron stable/${OPENSTACK_RELEASE}
36+
enable_service q-svc
37+
enable_service q-ovn-metadata-agent
38+
enable_service q-trunk
39+
enable_service q-qos
40+
enable_service ovn-controller
41+
enable_service ovn-northd
42+
enable_service ovs-vswitchd
43+
enable_service ovsdb-server
44+
45+
ML2_L3_PLUGIN="ovn-router,trunk,qos"
46+
OVN_L3_CREATE_PUBLIC_NETWORK="True"
47+
PUBLIC_BRIDGE_MTU="1430"
3948

40-
ENABLED_SERVICES+=,neutron-metadata-agent,neutron-qos
4149
# Octavia
4250
ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk,o-da
4351

hack/ci/cloud-init/worker.yaml.tpl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,17 @@
2525
DATABASE_TYPE=mysql
2626
DATABASE_HOST=$SERVICE_HOST
2727

28+
# Nova
29+
ENABLED_SERVICES=n-cpu,placement-client,c-vol
30+
VOLUME_BACKING_FILE_SIZE=100G
31+
2832
# Neutron
2933
enable_plugin neutron https://github.com/openstack/neutron stable/${OPENSTACK_RELEASE}
34+
enable_service ovn-controller
35+
enable_service q-ovn-metadata-agent
36+
enable_service ovs-vswitchd
3037

31-
# Nova
32-
ENABLED_SERVICES=n-cpu,placement-client,c-vol,neutron-agent
33-
VOLUME_BACKING_FILE_SIZE=100G
38+
OVN_SB_REMOTE=tcp:$SERVICE_HOST:6642
3439

3540
# Additional services
3641
ENABLED_SERVICES+=${OPENSTACK_ADDITIONAL_SERVICES}

hack/ci/create_devstack.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ source "${scriptdir}/${RESOURCE_TYPE}.sh"
3131

3232
CLUSTER_NAME=${CLUSTER_NAME:-"capo-e2e"}
3333

34-
OPENSTACK_RELEASE=${OPENSTACK_RELEASE:-"yoga"}
34+
OPENSTACK_RELEASE=${OPENSTACK_RELEASE:-"2023.2"}
3535
OPENSTACK_ENABLE_HORIZON=${OPENSTACK_ENABLE_HORIZON:-"false"}
3636

3737
# Devstack will create a provider network using this range
@@ -85,11 +85,6 @@ function ensure_openstack_client {
8585

8686
# We explicitly pin to the stable branch version of openstackclient.
8787
curl -L https://releases.openstack.org/constraints/upper/${OPENSTACK_RELEASE} -o /tmp/openstack-constraints
88-
89-
# Hack for yoga only: wrapt <1.14 doesn't support python 3.11
90-
[ "${OPENSTACK_RELEASE}" == "yoga" ] || exit 1 # Delete this hack
91-
sed -i "s/^wrapt===1\.13.*/wrapt===1.14.1/" /tmp/openstack-constraints
92-
9388
pip install -c /tmp/openstack-constraints \
9489
python-openstackclient python-cinderclient \
9590
python-glanceclient python-keystoneclient \

hack/ci/gce-project.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function create_vm {
9595
--zone "$GCP_ZONE" \
9696
--enable-nested-virtualization \
9797
--image-project ubuntu-os-cloud \
98-
--image-family ubuntu-2004-lts \
98+
--image-family ubuntu-2204-lts \
9999
--boot-disk-size 200G \
100100
--boot-disk-type pd-ssd \
101101
--can-ip-forward \

0 commit comments

Comments
 (0)