Project

General

Profile

Actions

Bug #28079

closed

subscription-manager failing with python errors

Added by Robert Cooper over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

One one CentOS 7.6 server (out of 200), installing subscription-manager results in yum errors and AttributeError messages.

  1. 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...>
  1. 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.

Actions #1

Updated by Robert Cooper over 4 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.

Actions #2

Updated by James Jeffers over 4 years ago

  • Target version set to Katello Recycle Bin
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF