Skip to content

Commit 305b1fa

Browse files
jichenjcdulek
authored andcommitted
update test from yoga to zed in devstack
1 parent f968786 commit 305b1fa

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ This provider's versions are able to install and manage the following versions o
5454

5555
This provider's versions are able to install Kubernetes to the following versions of OpenStack:
5656

57-
| | Queens | Rocky | Stein | Train | Ussuri | Victoria | Wallaby | Xena | Yoga |
58-
|------------------------------------| ------ | ----- | ----- | ----- | ------ | -------- | ------- | ---- | ---- |
59-
| OpenStack Provider v1alpha5 (v0.6) | + | + | + | + | + |||||
60-
| OpenStack Provider v1alpha6 (v0.7) | + | + | + | + | + |||||
61-
| OpenStack Provider v1alpha7 | | + | + | + | + |||||
57+
| | Queens | Rocky | Stein | Train | Ussuri | Victoria | Wallaby | Xena | Yoga | Zed |
58+
|------------------------------------| ------ | ----- | ----- | ----- | ------ | -------- | ------- | ---- | ---- | --- |
59+
| OpenStack Provider v1alpha5 (v0.6) | + | + | + | + | + ||||| |
60+
| OpenStack Provider v1alpha6 (v0.7) | + | + | + | + | + ||||| |
61+
| OpenStack Provider v1alpha7 | | + | + | + | + ||||||
6262

6363
Test status:
6464

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
VERBOSE=True
1313
LOG_COLOR=True
1414

15-
# Neutron
1615
enable_plugin neutron https://github.com/openstack/neutron stable/${OPENSTACK_RELEASE}
1716

1817
# Octavia
@@ -36,8 +35,8 @@
3635

3736
# Neutron
3837
ENABLED_SERVICES+=,neutron-api,neutron-agent,neutron-dhcp,neutron-l3,neutron-trunk
39-
4038
ENABLED_SERVICES+=,neutron-metadata-agent,neutron-qos
39+
4140
# Octavia
4241
ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hm,o-hk,o-da
4342

hack/ci/create_devstack.sh

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

3737
# Devstack will create a provider network using this range
@@ -84,7 +84,7 @@ function ensure_openstack_client {
8484
# Until then, this script tries to carefully navigate around current
8585
# issues running openstack client on python 3.7.
8686
#
87-
# We explicitly pin the yoga version of openstackclient. This is the
87+
# We explicitly pin the zed version of openstackclient. This is the
8888
# last version of openstackclient which will support python 3.7.
8989

9090
# Install virtualenv to install the openstack client and curl to fetch
@@ -94,12 +94,12 @@ function ensure_openstack_client {
9494
VIRTUAL_ENV_DISABLE_PROMPT=1 source /tmp/openstack-venv/bin/activate
9595

9696
# openstackclient has never actually supported python 3.7, only 3.6 and
97-
# 3.8. Here we download the yoga constraints file and modify all the
97+
# 3.8. Here we download the zed constraints file and modify all the
9898
# 3.8 constraints to be 3.7 constraints.
99-
curl -L https://releases.openstack.org/constraints/upper/yoga -o /tmp/yoga-constraints
100-
sed -i "s/python_version=='3.8'/python_version=='3.7'/" /tmp/yoga-constraints
99+
# curl -L https://releases.openstack.org/constraints/upper/zed -o /tmp/zed-constraints
100+
# sed -i "s/python_version=='3.8'/python_version=='3.7'/" /tmp/zed-constraints
101101

102-
pip install -c /tmp/yoga-constraints \
102+
pip install \
103103
python-openstackclient python-cinderclient \
104104
python-glanceclient python-keystoneclient \
105105
python-neutronclient python-novaclient python-octaviaclient
@@ -169,6 +169,8 @@ function wait_for_devstack {
169169
# Continuously capture devstack logs until killed
170170
$ssh_cmd "$ip" -- sudo journalctl --no-tail -a -b -u 'devstack@*' -f > "${devstackdir}/${name}-devstack.log" &
171171

172+
$ssh_cmd "$ip" -- sudo journalctl --no-tail -a -b -u '[email protected]' -f > "${devstackdir}/${name}-neutron.log" &
173+
172174
# Capture cloud-init logs
173175
# Devstack logs are in cloud-final
174176
for service in cloud-config cloud-final cloud-init-local cloud-init; do

0 commit comments

Comments
 (0)