[Spacewalk-list] Status of Solaris support

Pierre Casenove pcasenove at gmail.com
Wed Jul 4 15:54:23 UTC 2012


I've tested to deploy the pushed patch cluster... and it failed:
In Spacewalk, I have this error message in the failed actions page:
Patch cluster install failed: Bad magic number for central directory

I've rhn_check manually from my client and here is the output:
D: do_call solarispkgs.patchClusterInstall
([[['patch-cluster-solaris-', '20120412', '1',
'sparc-solaris-patch-cluster', 'solaris-10-sparc-patches'], {}]],)
Installing patch cluster:  [[['patch-cluster-solaris-', '20120412',
'1', 'sparc-solaris-patch-cluster', 'solaris-10-sparc-patches'], {}]]
Loading cache...
Updating cache...
#####################################################################
[100%]
Updating cache...
#####################################################################
[100%]
Updating cache...
#####################################################################
[100%]

Computing transaction...
Committing transaction...
D: Sending back response (102, 'Patch cluster install failed: Bad
magic number for central directory', {'version': 0, 'name':
'solarispkgs.patchClusterInstall'})
D: do_call solarispkgs.checkNeedUpdate ('rhnsd=1',)
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 351, in reloadChannels
    if not channel.fetch(self._fetcher, progress):
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/smart/channels/solaris_rhn.py",
line 51, in fetch
    pkgs = rhnPackages.listAllAvailablePackagesComplete(channelList)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/client/rhnPackages.py",
line 80, in listAllAvailablePackagesComplete
    tmplist = s.listAllPackagesComplete(channelName, channelVersion)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/rpclib.py",
line 563, in __call__
    result = self._send(self._name, args)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/rpclib.py",
line 308, in _request
    verbose=self._verbose
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/transports.py",
line 168, in request
    headers, fd = req.send_http(host, handler)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/transports.py",
line 702, in send_http
    response.status, response.reason, response.msg)
xmlrpclib.ProtocolError: <ProtocolError for server
/XMLRPC/$RHN/solaris-10-sparc-patches/listAllPackagesComplete/20120704082526:
401 Authorization Required>



Here is my guess, but with no proof:
After rhnpushing the mpm files, Spacewalk rebuild the
10_recommended.zip file alone. As I'm on RHEL 5, python 2.4 is used to
build the 10_recommended.zip file... which requires ZIP64 extensions.
And so it fails.

Any help would be really apprecciated

Pierre




More information about the Spacewalk-list mailing list