Actions
Bug #28079
closedsubscription-manager failing with python errors
Description
One one CentOS 7.6 server (out of 200), installing subscription-manager results in yum errors and AttributeError messages.
- yum repolist
Plugin "product-id" can't be imported
Plugin "search-disabled-repos" can't be imported
Plugin "subscription-manager" can't be imported
<...normal output truncated...>
- subscription-manager
Traceback (most recent call last):
File "/sbin/subscription-manager", line 9, in <module>
load_entry_point('subscription-manager==1.24.13', 'console_scripts', 'subscription-manager')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = import(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib64/python2.7/site-packages/subscription_manager/scripts/subscription_manager.py", line 69, in <module>
from subscription_manager import managercli
File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 45, in <module>
from subscription_manager.entcertlib import EntCertActionInvoker, CONTENT_ACCESS_CERT_CAPABILITY
File "/usr/lib64/python2.7/site-packages/subscription_manager/entcertlib.py", line 25, in <module>
from subscription_manager import content_action_client
File "/usr/lib64/python2.7/site-packages/subscription_manager/content_action_client.py", line 22, in <module>
from subscription_manager import repolib
File "/usr/lib64/python2.7/site-packages/subscription_manager/repolib.py", line 601, in <module>
@six.python_2_unicode_compatible
AttributeError: 'module' object has no attribute 'python_2_unicode_compatible'
I haven't found any references to this error in two days of searching. If I uninstall subscription-manager, the yum errors go away.
Updated by Robert Cooper about 5 years ago
- Status changed from New to Resolved
Sorry about that. We determined that one of our developers installed an incompatible version of python-six on the server which caused the issues. It has been remedied and said developer chastised severely.
Updated by James Jeffers about 5 years ago
- Target version set to Katello Recycle Bin
- Triaged changed from No to Yes
Actions