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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content