Using Ansible 2.4, we suddenly started getting an error on a random assortment of our servers today:
ERROR! Unexpected Exception, this is probably a bug: Requests dependency ‘urllib3’ must be version >= 1.21.1, < 1.22!
Some servers running exactly the same task and also with version 1.23 of urllib3 installed worked fine. I rolled back urllib3 to 1.22 on the failing servers and it fixed the issue. Anyone know what the problem is and why only some of the servers are failing with this error?
That error would seem to be coming from requests. Based on that, it seems that you have upgraded urllib3 out of band of upgrading requests, and the dependency is insufficient.
Requests is used throughout a few modules/plugins, either directly, or as a dependency, as well as by the winrm connection plugin.