[Spacewalk-list] Status of Solaris support

Pierre Casenove pcasenove at gmail.com
Fri Jun 22 15:27:48 UTC 2012


Hello list,
I wanted to test Solaris 10 Sparc client management from my spacewalk
1.7 server... and it is not very successful!
1) I've downloaded the packages and installed them without any
problem. One note on the README file: libgcc is in /usr/sfw/lib, which
has to be added to the ld library path
2) I've created a channel with "SPARC" architecture.
3) rhnreg_ks fails to register my client:
rhnreg_ks --serverUrl=http://Server/XMLRPC --activationkey=1-solaris-10
Doing checkNeedUpdate
Updating cache...
#####################################################################
[100%]
Updating cache...
#####################################################################
[100%]
Updating cache...
#####################################################################
[100%]

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 201, in run
    rhnPackages.refreshPackages(pkgs)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/client/rhnPackages.py",
line 48, in refreshPackages
    rhnReg.updatePackages(rhnAuth.getSystemId(), packageList)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/client/rhnReg.py",
line 386, in updatePackages
    rpcServer.doCall(s.registration.update_packages, systemId, packageList)
  File "/opt/redhat/rhn/solaris/lib/python2.4/site-packages/rhn/client/rpcServer.py",
line 189, in doCall
    raise rhnErrors.CommunicationError(e.errmsg)
rhn.client.rhnErrors.CommunicationError: Error communicating with
server. The message was:
Internal Server Error

On server side, here are the logs:
2012/06/22 15:04:49 -00:00 8676 10.120.193.1:
registration._normalize_packages('ERROR', 'architecture du package',
'sparc-solaris-patch')
2012/06/22 15:04:49 -00:00 8676 10.120.193.1:
registration.update_packages(1000010006, 'packages: 1645')

4) i've uploaded a patch (119254-84.zip) on my spacewalk server and
ran solaris2mpm:
# solaris2mpm 119254-84.zip
Opening archive, this may take a while
Error creating mpm for /root/workdir/solaris/tmp/119254-84.zip:
<rhnpush.archive.InvalidArchiveError instance at 0xda5e638>

5) I've ran solaris2mpm from my Solaris client... it worked!
# solaris2mpm 119254-84.zip
Opening archive, this may take a while
Writing patch-solaris-119254-84-1.sparc-solaris-patch.mpm

I then tried to rhnpush this package... it failed :'(
rhnpush -c solaris-10-sparc patch-solaris-119254-84-1.sparc-solaris-patch.mpm
Red Hat Network username: administrator
Red Hat Network password:

Error Message:
    Package arch sparc-solaris-patch incompatible with channel solaris-10-sparc
Error Class Code: 50
Error Class Info: Invalid information uploaded to the server


Any help on these issues?

Thanks in advance

pierre




More information about the Spacewalk-list mailing list