@@ -31,7 +31,7 @@ source "${scriptdir}/${RESOURCE_TYPE}.sh"
31
31
32
32
CLUSTER_NAME=${CLUSTER_NAME:- " capo-e2e" }
33
33
34
- OPENSTACK_RELEASE=${OPENSTACK_RELEASE:- " yoga " }
34
+ OPENSTACK_RELEASE=${OPENSTACK_RELEASE:- " zed " }
35
35
OPENSTACK_ENABLE_HORIZON=${OPENSTACK_ENABLE_HORIZON:- " false" }
36
36
37
37
# Devstack will create a provider network using this range
@@ -84,7 +84,7 @@ function ensure_openstack_client {
84
84
# Until then, this script tries to carefully navigate around current
85
85
# issues running openstack client on python 3.7.
86
86
#
87
- # We explicitly pin the yoga version of openstackclient. This is the
87
+ # We explicitly pin the zed version of openstackclient. This is the
88
88
# last version of openstackclient which will support python 3.7.
89
89
90
90
# Install virtualenv to install the openstack client and curl to fetch
@@ -94,12 +94,12 @@ function ensure_openstack_client {
94
94
VIRTUAL_ENV_DISABLE_PROMPT=1 source /tmp/openstack-venv/bin/activate
95
95
96
96
# 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
98
98
# 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
101
101
102
- pip install -c /tmp/yoga-constraints \
102
+ pip install \
103
103
python-openstackclient python-cinderclient \
104
104
python-glanceclient python-keystoneclient \
105
105
python-neutronclient python-novaclient python-octaviaclient
@@ -169,6 +169,8 @@ function wait_for_devstack {
169
169
# Continuously capture devstack logs until killed
170
170
$ssh_cmd " $ip " -- sudo journalctl --no-tail -a -b -u ' devstack@*' -f > " ${devstackdir} /${name} -devstack.log" &
171
171
172
+ $ssh_cmd " $ip " -- sudo journalctl --no-tail -a -b -u
' [email protected] ' -f
> " ${devstackdir} /${name} -neutron.log" &
173
+
172
174
# Capture cloud-init logs
173
175
# Devstack logs are in cloud-final
174
176
for service in cloud-config cloud-final cloud-init-local cloud-init; do
0 commit comments