Bug #7815
closedpackage_upload yum plugin doesn't work on CentOS 6
Description
After installing subscription-manager (from http://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-6/x86_64/ as described on katello.org) I'm getting on every yum command:
Plugin "package_upload" can't be imported
Trying to execute the command manually raises:
Traceback (most recent call last): File "/usr/sbin/katello-package-upload", line 19, in <module> import package_upload File "/usr/lib/yum-plugins/package_upload.py", line 19, in <module> from subscription_manager import certmgr ImportError: cannot import name certmgr
It seems there was some rewrite: https://github.com/candlepin/subscription-manager/commit/b53fdb99c879f6b5c311d1f93894a80a2bd2e983
The versions in that repo:
subscription-manager-1.13.5-1.el6.x86_64 python-rhsm-1.13.3-1.el6.x86_64
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release set to 24
- Difficulty set to medium
- Triaged changed from No to Yes
Updated by Justin Sherrill about 10 years ago
- Status changed from New to Assigned
- Assignee set to Justin Sherrill
- Priority changed from Normal to High
Updated by Justin Sherrill about 10 years ago
- Pull request https://github.com/Katello/katello-agent/pull/15 added
- Pull request deleted (
)
Updated by Justin Sherrill about 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Justin Sherrill about 10 years ago
- Status changed from Ready For Testing to Closed
Updated by Justin Sherrill about 10 years ago
- Status changed from Closed to Assigned
an additional issue was found with this fix, as it does not work with older rhsm versions:
On subscription-manager-1.1.23-1.el6.x86_64.rpm or older, goferd fails to start properly (errors in /var/log/messages), and katello-package-upload:
[root@client ~]# katello-package-upload
Traceback (most recent call last):
File "/usr/sbin/katello-package-upload", line 19, in <module>
import package_upload
File "/usr/lib/yum-plugins/package_upload.py", line 19, in <module>
from subscription_manager import identity
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Target version set to 61
Updated by Justin Sherrill about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-agent|c9341ce142c9bdb721f02d475691786e51097e8c.
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release changed from 24 to 14