Bug 1661774

Summary: [Downstream CI] Fix dependency on requests library version
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: python-octavia-tests-tempestAssignee: Nir Magnezi <nmagnezi>
Status: CLOSED ERRATA QA Contact: Alexander Stafeyev <astafeye>
Severity: urgent Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: bcafarel, cgoncalves
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-octavia-tests-tempest-0.2.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-16 17:54:12 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 Nir Magnezi 2018-12-23 09:05:53 UTC
Description of problem:
=======================

The test test_l7policies_and_l7rules[1] fails in our downstream CI[2](Red Hat internal URL).
The root cause of this issue, as described in the upstream fix, is due to the version of python-requests that we ship in OSP13.

Instead of bumping the python-requests version (impacts packaging for an already released OSP version), we can work around the issue in octavia-tempepest-plugin.


Currently the result is:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/octavia_tempest_plugin/tests/scenario/v2/test_traffic_ops.py", line 617, in test_l7policies_and_l7rules
    redirect=True)
  File "/usr/lib/python2.7/site-packages/octavia_tempest_plugin/tests/test_base.py", line 791, in assertConsistentResponse
    self.assertEqual(response_content, req.next.url)
AttributeError: 'Response' object has no attribute 'next

[1]  octavia_tempest_plugin.tests.scenario.v2.test_traffic_ops.TrafficOperationsScenarioTest.test_l7policies_and_l7rules

Comment 15 errata-xmlrpc 2019-01-16 17:54:12 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/RHBA-2019:0088