Bug 668880 - Solaris clients fail in version 1.2
Summary: Solaris clients fail in version 1.2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.2
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space13
TreeView+ depends on / blocked
 
Reported: 2011-01-11 22:10 UTC by Abel Lopez
Modified: 2012-03-06 09:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-12 23:41:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Abel Lopez 2011-01-11 22:10:38 UTC
Description of problem:
After upgrading to spacewalk 1.2, solaris clients are no longer able to get updates

Version-Release number of selected component (if applicable):
Spacewalk 1.2
rhn-solaris-bootstrap-5.1.1-3-sparc-sol10

How reproducible:
Every time

Steps to Reproduce:
1. Spacewalk server 1.1 with solaris support enabled, upgraded to 1.2
2. rhn_check on previously registered system, or rhnreg_ks on new system (with activation key pointing to a solaris channel)
3.
  
Actual results:
bash-3.00# rhn_check 
Doing checkNeedUpdate
Traceback (most recent call last):
  File "/opt/redhat/rhn/solaris/usr/sbin/rhn_check", line 317, in ?
    run_local_actions()
  File "/opt/redhat/rhn/solaris/usr/sbin/rhn_check", line 77, in run_local_actions
    (status, message, data) = run_action(method, params)
  File "/opt/redhat/rhn/solaris/usr/sbin/rhn_check", line 137, in run_action
    (status, message, data) = rhn.actions.do_call(method, params)   
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/actions/__init__.py", line 18, in do_call
    return apply(func, params)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/actions/solarispkgs.py", line 189, in checkNeedUpdate
    return refresh_list()
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/actions/solarispkgs.py", line 197, in refresh_list
    exitdata = iface.run(command)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/interfaces/up2date/interface.py", line 159, in run
    pkglist = self.getPackages()
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/interfaces/up2date/interface.py", line 50, in getPackages
    if reload: self._ctrl.reloadChannels()
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/control.py", line 285, in reloadChannels
    self.rebuildSysConfChannels()
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/control.py", line 258, in rebuildSysConfChannels
    channel = createChannel(alias, data)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/channel.py", line 167, in createChannel
    raise Error, _("Unable to create channel of type '%s'") % type
smart.Error: Unable to create channel of type 'solaris_rhn'


Expected results:
no output when no scheduled tasks are expected, or output when tasked are scheduled

Additional info:

Comment 1 Abel Lopez 2011-01-12 23:41:49 UTC
Resolved. My own issue with a corrupted pm.py file.


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