Bug 1710617

Summary: [OSP15] tempest.api.network.test_networks.Networks(IpV6)?Test.test_create_update_network_description fails
Product: Red Hat OpenStack Reporter: Bernard Cafarelli <bcafarel>
Component: python-neutron-libAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Candido Campos <ccamposr>
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: amuller, apevec, chrisw, ekuris, jjoyce, jschluet, lhh, mbayer, michele, ralonsoh, scohen, skaplons, twilson
Target Milestone: betaKeywords: Triaged
Target Release: 15.0 (Stein)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-neutron-lib-1.25.0-0.20190521130309.fc2a810.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-21 11:22:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bernard Cafarelli 2019-05-15 21:06:26 UTC
Tests failing:
tempest.api.network.test_networks.NetworksTest.test_create_update_network_description
tempest.api.network.test_networks.NetworksIpV6Test.test_create_update_network_description

Failure:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 108, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/lib/python3.6/site-packages/tempest/api/network/test_networks.py", line 400, in test_create_update_network_description
    self.assertEqual('d2', body['network']['description'])
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'd2' != 'd1'

Comment 2 Slawek Kaplonski 2019-05-16 09:44:47 UTC
According to information from Rodolfo, this issue should be fixed by https://review.opendev.org/#/c/651584/ which is already merged in neutron-lib. We need to wait for new neutron-lib release now.

Comment 3 Rodolfo Alonso 2019-05-16 09:46:10 UTC
Hello Bernard:

This problem is solved in https://review.opendev.org/#/c/651584/. We need to bump neutron-lib version to >1.26.0 to have this patch included.

Regards.

Comment 4 Bernard Cafarelli 2019-05-16 10:34:14 UTC
Short recap: we see the problem described in https://review.opendev.org/#/c/651584/ because RHEL8 has python3-sqlalchemy 1.3.2 (so 1.3.x), while stein requirements cap at 1.2.18

Comment 6 Lon Hohberger 2019-05-16 14:28:56 UTC
The issue is that the python-sqlalchemy in RHEL is from the python36 module, meaning, it's nearly impossible to downgrade it :[

Comment 7 Alan Pevec 2019-05-16 14:29:51 UTC
In RDO Stein we have it pinned in deps repo https://trunk.rdoproject.org/centos7-stein/deps/latest/SRPMS/python-sqlalchemy-1.2.17-2.el7.src.rpm

Comment 15 errata-xmlrpc 2019-09-21 11:22:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:2811