IPA back-up failed with error "The ipa-backup command failed, exception: ImportError: No module named 'requests.packages.urllib3'"

Solution Verified - Updated -

Issue

  • After patching the system IPA backup failed with error,
from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
  File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module
    raise ImportError("No module named '%s'" % (name,))
2019-08-07T17:56:24Z DEBUG The ipa-backup command failed, exception: ImportError: No module named 'requests.packages.urllib3'

Environment

  • Red Hat Enterprise Linux 7
  • IPA/IdM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In