| Summary: | fedora-burn-yubikey fails with python package error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Corey Daley <cdaley> |
| Component: | fedora-packager | Assignee: | Dennis Gilmore <dennis> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | dennis, rhbugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-28 17:49:50 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: | |
Description of problem: fedora-burn-yubikey fails with python package error: fedora-burn-yubikey -u cdaley -S 2 Traceback (most recent call last): File "/usr/sbin/fedora-burn-yubikey", line 13, in <module> from fedora.client import AccountSystem, AuthError File "/usr/lib/python2.7/site-packages/fedora/client/__init__.py", line 132, in <module> from fedora.client.openidbaseclient import OpenIdBaseClient File "/usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py", line 42, in <module> from requests.packages.urllib3.util import Retry ImportError: cannot import name Retry Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. sudo dnf install fedora-packager 2.sudo fedora-burn-yubikey -u <username> -S 2 3. Actual results: fedora-burn-yubikey -u cdaley -S 2 Traceback (most recent call last): File "/usr/sbin/fedora-burn-yubikey", line 13, in <module> from fedora.client import AccountSystem, AuthError File "/usr/lib/python2.7/site-packages/fedora/client/__init__.py", line 132, in <module> from fedora.client.openidbaseclient import OpenIdBaseClient File "/usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py", line 42, in <module> from requests.packages.urllib3.util import Retry ImportError: cannot import name Retry Expected results: It should succeed and allow the user to finish registering their yubikey with fedora account system Additional info: Looks like line #42 of /usr/lib/python2.7/site-packages/fedora/client/openidbaseclient.py need to be changed from from requests.packages.urllib3.util import Retry to from urllib3.util import Retry