Bug 518140 - yum/rhn_check: Plugin "rhnplugin" can't be imported
Summary: yum/rhn_check: Plugin "rhnplugin" can't be imported
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space08
TreeView+ depends on / blocked
 
Reported: 2009-08-19 05:51 UTC by Sandro Mathys
Modified: 2010-02-16 12:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-16 12:56:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandro Mathys 2009-08-19 05:51:59 UTC
Description of problem:
# yum update
Plugin "rhnplugin" can't be imported
<snip-snap>

# rhn_check
Plugin "rhnplugin" can't be imported

Version-Release number of selected component (if applicable):
# rpm -qa | grep rhn
rhn-check-0.6.2-1.fc11.noarch
rhn-client-tools-0.6.2-1.fc11.noarch
rhnsd-4.5.11-1.fc11.i386
rhn-setup-0.6.2-1.fc11.noarch
yum-rhn-plugin-0.6.2-1.fc11.noarch
rhnlib-2.5.13-1.fc11.noarch

How reproducible:
Only tried once but found hits with Google, e.g. https://www.redhat.com/archives/spacewalk-list/2009-July/msg00039.html

Steps to Reproduce:
1. Kickstart F11 (existing F11 + yum-rhn-plugin might suffice)
2. rhn_check
3. yum update
  
Actual results:
Plugin "rhnplugin" can't be imported
(except for that plugin/the spacewalk channels, yum works)

Expected results:
working plugin

Additional info:

Comment 1 Sandro Mathys 2009-08-19 05:58:48 UTC
Oh, that was quick - I found the problem by pure coincidence.

yum-rhn-plugin is missing 'Requires: m2crypto' (at least on F11)

Comment 2 Pradeep Kilambi 2009-08-19 13:57:01 UTC
Are you sure you have the latest yum-rhn -plugin? I see it fine in the spec file,

[yum-rhn-plugin{master}]$ cat yum-rhn-plugin.spec |grep m2crypto
Requires: m2crypto >= 0.16-6
- yum-rhn-plugin requires m2crypto
- 481042 - handle ssl timeout exceptions raised from m2crypto more gracefully (pkilambi)

Comment 3 Sandro Mathys 2009-08-19 14:41:20 UTC
Hmm...that's strange. I'm sure I was able to reproduce this several times. But now, if I try to deinstall m2crypto, it shows me it's a dep of yum-rhn-plugin.

Not sure what's happening here.

Comment 4 Justin Sherrill 2009-08-26 19:07:03 UTC
So I hit this same problem when i added 'yum-rhn-plugin' to my kickstart file (after adding the spaceawalk-tools child channel repo to the ks).  

Apparently anaconda didn't complain that m2crypto wasn't available, it just went ahead and installed yum-rhn-plugin

Comment 5 Michael Mráka 2010-01-27 21:57:05 UTC
yum-rhn-plugin-0.8.4 is known to work both on Fedora 11 and Fedora 12.

Comment 6 Michael Mráka 2010-02-16 12:58:46 UTC
Spacewalk 0.8 has been released


Note You need to log in before you can comment on or make changes to this bug.