Skip to content

Commit 8650543

Browse files
committed
Update CI to use OpenStack Zed
1 parent e590271 commit 8650543

File tree

6 files changed

+19
-15
lines changed

6 files changed

+19
-15
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ This provider's versions are able to install and manage the following versions o
5858

5959
This provider's versions are able to install Kubernetes to the following versions of OpenStack:
6060

61-
| | Queens | Rocky | Stein | Train | Ussuri | Victoria | Wallaby | Xena | Yoga |
62-
|------------------------------------| ------ | ----- | ----- | ----- | ------ | -------- | ------- | ---- | ---- |
63-
| OpenStack Provider v1alpha5 (v0.6) | + | + | + | + | + |||| |
64-
| OpenStack Provider v1alpha6 (v0.7) | + | + | + | + | + |||| |
65-
| OpenStack Provider v1alpha7 (v0.9) | | + | + | + | + |||| |
66-
| OpenStack Provider v1alpha8 | | + | + | + | + |||| |
61+
| | Queens | Rocky | Stein | Train | Ussuri | Victoria | Wallaby | Xena | Yoga | Zed |
62+
|------------------------------------| ------ | ----- | ----- | ----- | ------ | -------- | ------- | ---- | ---- | --- |
63+
| OpenStack Provider v1alpha5 (v0.6) | + | + | + | + | + |||| | |
64+
| OpenStack Provider v1alpha6 (v0.7) | + | + | + | + | + |||| | |
65+
| OpenStack Provider v1alpha7 (v0.9) | | + | + | + | + |||| | |
66+
| OpenStack Provider v1alpha8 | | + | + | + | + |||| | |
6767

6868
Test status:
6969

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@
3535
ENABLED_SERVICES+=,g-api
3636

3737
# Neutron
38-
ENABLED_SERVICES+=,neutron-api,neutron-agent,neutron-dhcp,neutron-l3,neutron-trunk
38+
ENABLED_SERVICES+=,q-svc,q-trunk,ovn-controller,ovs-vswitchd,ovn-northd,ovsdb-server,q-ovn-metadata-agent
39+
Q_AGENT=ovn
40+
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger
41+
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve
42+
Q_ML2_TENANT_NETWORK_TYPE="geneve"
3943

40-
ENABLED_SERVICES+=,neutron-metadata-agent,neutron-qos
4144
# Octavia
4245
ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk,o-da
4346

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727

2828
# Neutron
2929
enable_plugin neutron https://github.com/openstack/neutron stable/${OPENSTACK_RELEASE}
30+
ENABLED_SERVICES+=,ovn-controller,ovs-switchd,ovsdb-server,q-fake,q-ovn-metadata-agent
31+
Q_AGENT=ovn
32+
Q_ML2_PLUGIN_MECHANISM_DRIVERS=ovn,logger
33+
Q_ML2_PLUGIN_TYPE_DRIVERS=local,flat,vlan,geneve
34+
Q_ML2_TENANT_NETWORK_TYPE="geneve"
3035

3136
# Nova
3237
ENABLED_SERVICES=n-cpu,placement-client,c-vol,neutron-agent

hack/ci/create_devstack.sh

Lines changed: 1 addition & 5 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:-"zed"}
3535
OPENSTACK_ENABLE_HORIZON=${OPENSTACK_ENABLE_HORIZON:-"false"}
3636

3737
# Devstack will create a provider network using this range
@@ -86,10 +86,6 @@ function ensure_openstack_client {
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
8888

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-
9389
pip install -c /tmp/openstack-constraints \
9490
python-openstackclient python-cinderclient \
9591
python-glanceclient python-keystoneclient \

scripts/ci-conformance.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ trap cleanup EXIT
4747

4848
apt-get update -y
4949
# Install requests module explicitly for HTTP calls.
50-
# libffi required for pip install cffi (yoga dependency)
50+
# libffi required for pip install cffi (zed dependency)
5151
apt-get install -y python3-requests libffi-dev
5252
rm -rf /var/lib/apt/lists/*
5353

scripts/ci-e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ trap cleanup EXIT
4848

4949
apt-get update -y
5050
# Install requests module explicitly for HTTP calls.
51-
# libffi required for pip install cffi (yoga dependency)
51+
# libffi required for pip install cffi (zed dependency)
5252
apt-get install -y python3-requests libffi-dev
5353
rm -rf /var/lib/apt/lists/*
5454

0 commit comments

Comments
 (0)