Bug 1776294

Summary: fence_azure_arm agent intermittently reports the error "ERROR: Failed: unsupported operand type(s) for -=: 'Retry' and 'int'" [rhel-7.7.z]
Product: Red Hat Enterprise Linux 7 Reporter: RAD team bot copy to z-stream <autobot-eus-copy>
Component: python-requestsAssignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: medium Docs Contact:
Priority: high    
Version: 7.5CC: alsin, angovind, bennie.joubert, cfeist, cluster-maint, cshabazi, cstratak, guybo, hhorak, jkejda, jmontleo, jruemker, jsturgis, juholmes, mheslin, net-ops, nwahl, oalbrigt, pbabinca, pviktori, python-maint, sbradley, torsava
Target Milestone: rcKeywords: OtherQA, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-requests-2.6.0-8.el7_7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1750839 Environment:
Last Closed: 2019-12-10 13:03:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1750839, 2131394    
Bug Blocks:    

Description RAD team bot copy to z-stream 2019-11-25 12:34:47 UTC
This bug has been copied from bug #1750839 and has been proposed to be backported to 7.7 z-stream (EUS).

Comment 6 errata-xmlrpc 2019-12-10 13:03:06 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:4150

Comment 7 Network Merchants 2019-12-15 18:25:34 UTC
This change broke the well known, documented, and supported object in the current version:

import requests
requests.packages

There are modules which expect this functionality, and many examples of it's use on the internet.

https://github.com/psf/requests/blob/master/requests/packages.py

Comment 8 Petr Viktorin (pviktori) 2019-12-16 09:34:08 UTC
Where is this documented?

Comment 9 Pavol Babinčák 2019-12-20 12:44:25 UTC
(In reply to Network Merchants from comment #7)
> This change broke the well known, documented, and supported object in the
> current version:
> 
> import requests
> requests.packages
> 
> There are modules which expect this functionality, and many examples of it's
> use on the internet.
> 
> https://github.com/psf/requests/blob/master/requests/packages.py

I have opened a Bug 1785607 for this.