File tree Expand file tree Collapse file tree 4 files changed +20
-17
lines changed
roles/configure_functional_tests/tasks Expand file tree Collapse file tree 4 files changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -395,8 +395,11 @@ def test_north_south_traffic(self):
395
395
v6network = self .useFixture (
396
396
ip_network .ExclusiveIPNetwork (
397
397
"2001:db8:1234::1" , "2001:db8:1234::10" , "64" )).network
398
+ # NOTE(ykarel): gateway_ip is explicitly added as iputils package
399
+ # requires fix for https://github.com/iputils/iputils/issues/371
400
+ # is not available in CentOS 9-Stream
398
401
ext_v6sub = self .safe_client .create_subnet (
399
- tenant_id , ext_net ['id' ], v6network )
402
+ tenant_id , ext_net ['id' ], v6network , gateway_ip = '2001:db8:1234::1' )
400
403
401
404
router = self .safe_client .create_router (tenant_id ,
402
405
external_network = ext_net ['id' ])
Original file line number Diff line number Diff line change 13
13
# License for the specific language governing permissions and limitations
14
14
# under the License.
15
15
16
+ import time
17
+
16
18
from neutron_lib import constants
17
19
from oslo_utils import uuidutils
18
20
@@ -119,5 +121,9 @@ def test_vm_is_accessible_by_local_ip(self):
119
121
# VM on different host shouldn't have access to this Local IP
120
122
vms [2 ].assert_no_ping (local_ip ['local_ip_address' ])
121
123
124
+ # NOTE(ykarel): response comes from local_ip assigned to vm0,
125
+ # as a workaround sleep for arp cache expiry. It requires
126
+ # fix in Local IP feature
127
+ time .sleep (31 )
122
128
# check that VMs can still access each other with fixed IPs
123
129
vms .ping_all ()
Original file line number Diff line number Diff line change 27
27
MYSQL_GATHER_PERFORMANCE={{ MYSQL_GATHER_PERFORMANCE | default(true) }}
28
28
29
29
source $NEUTRON_DIR/tools/configure_for_func_testing.sh
30
-
31
30
if is_fedora; then
32
31
# NOTE(slqweq) Running functional job e.g. on Centos requires to
33
32
# have repo with rabbitmq-server and some other packages available
34
- install_package centos-release-openstack-victoria
33
+ OPENSTACK_RELEASE=victoria
34
+ # For CentOS 9-Stream need to setup yoga repos
35
+ if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -gt 8 ]]; then
36
+ OPENSTACK_RELEASE=yoga
37
+ fi
38
+ install_package centos-release-openstack-${OPENSTACK_RELEASE}
35
39
install_package iproute-tc haproxy keepalived
36
40
37
41
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
Original file line number Diff line number Diff line change 127
127
- job :
128
128
name : neutron-functional-with-uwsgi-fips
129
129
parent : neutron-functional-with-uwsgi
130
- nodeset : devstack-single-node-centos-8 -stream
130
+ nodeset : devstack-single-node-centos-9 -stream
131
131
description : |
132
- Functional testing for a FIPS enabled Centos 8 system
132
+ Functional testing for a FIPS enabled Centos 9 system
133
133
vars :
134
134
nslookup_target : ' opendev.org'
135
135
enable_fips : True
136
- # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and
137
- # tox_environment when this job switches to centos-9-stream
138
- MYSQL_GATHER_PERFORMANCE : false
139
- tox_environment :
140
- TOX_PYTHON : python3.8
141
136
devstack_localrc :
142
137
ISCSI_CHAP_ALGORITHMS : SHA3-256,SHA256
143
138
Q_BUILD_OVS_FROM_GIT : true
144
139
145
140
- job :
146
141
name : neutron-fullstack-with-uwsgi-fips
147
142
parent : neutron-fullstack-with-uwsgi
148
- nodeset : devstack-single-node-centos-8 -stream
143
+ nodeset : devstack-single-node-centos-9 -stream
149
144
description : |
150
- Functional testing for a FIPS enabled Centos 8 system
145
+ Functional testing for a FIPS enabled Centos 9 system
151
146
vars :
152
147
nslookup_target : ' opendev.org'
153
148
enable_fips : True
154
- # NOTE(ykarel) Remove MYSQL_GATHER_PERFORMANCE and
155
- # tox_environment when this job switches to centos-9-stream
156
- MYSQL_GATHER_PERFORMANCE : false
157
- tox_environment :
158
- TOX_PYTHON : python3.8
159
149
devstack_localrc :
160
150
ISCSI_CHAP_ALGORITHMS : SHA3-256,SHA256
161
151
Q_BUILD_OVS_FROM_GIT : true
You can’t perform that action at this time.
0 commit comments