Why the 'subscription-manager status' command fails with the error 'Error No module named http_client' after security patching?
Issue
- After installing security patches using
yum update --securitythesubscription-manager statuscommand fails with the below error.
[root@example ~]# subscription-manager status
Unable to find Subscription Manager module.
Error: No module named http_client
[root@example ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5 (Maipo)
[root@example ~]#
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Enteprise Linux 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
