[Spacewalk-list] Error accessing channels from FC12 client

Stefan Förster cite at incertum.net
Tue Dec 8 08:03:07 UTC 2009


Hello world,

we've got a Spacewalk 0.7, running on FC12. Within this installation,
this structure is created:

Base channel: fc12-meta (containing the release RPMs)
    - Child channel 1: fc12-base (containing the "Everythign"
      repository)
    - Child channel 2: fc12-updates (containing updates)

On a client running FC12, we register the system using an activation
key. It gets correctly registered and subscribed to the above
channels:

>LANG=en_US yum repolist |awk '(NR > 5){print $1}' 
fc12-base
fc12-meta
fc12-updates

However, trying to actually access thos repositories fails in numerous
ways:

>rhn_check -vv
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
Geladene Plugins: dellsysidplugin2, fastestmirror, rhnplugin
D: login(forceUpdate=False) invoked
D: readCachedLogin invoked
D: Checking pickled loginInfo, currentTime= 1260258852.32 , createTime= 1260258850.58 , expire-offset= 3600.0
D: readCachedLogin(): using pickled loginInfo set to expire at  1260262450.58
Loading mirror speeds from cached hostfile
 * fedora: fmirror.interhyp.de
 * updates: fmirror.interhyp.de
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at  1260258852.42  with expiration of  1260262452.42  seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000010037, 'X-RHN-Auth-Server-Time': '1260258852.69', 'X-RHN-Auth-Channels': [['fc12-meta', '20091208084949', '1', '1'], ['fc12-updates', '20091207182556', '0', '1'], ['fc12-base', '20091125105104', '0', '1']], 'X-RHN-Auth': '6yBofcBWqfG8QfeJ5xvdVw==', 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at  1260258852.46  with expiration of  1260262452.46  seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000010037, 'X-RHN-Auth-Server-Time': '1260258852.72', 'X-RHN-Auth-Channels': [['fc12-meta', '20091208084949', '1', '1'], ['fc12-updates', '20091207182556', '0', '1'], ['fc12-base', '20091125105104', '0', '1']], 'X-RHN-Auth': '983GbgCmDnamQM9pwIynYA==', 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
updateLoginInfo() login info
D: login(forceUpdate=True) invoked
logging into up2date server
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at  1260258852.49  with expiration of  1260262452.49  seconds.
successfully retrieved authentication token from up2date server
D: logininfo: {'X-RHN-Server-Id': 1000010037, 'X-RHN-Auth-Server-Time': '1260258852.76', 'X-RHN-Auth-Channels': [['fc12-meta', '20091208084949', '1', '1'], ['fc12-updates', '20091207182556', '0', '1'], ['fc12-base', '20091125105104', '0', '1']], 'X-RHN-Auth': '6RqhQHyg7TRLxr79kB8otw==', 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: local action status:  ((6,), 'Fatal error in Python code occured', {})

Looking at the spacewalk server's /var/log/httpd/access_log, I see
those entries:

blizzard.domain.obfuscated - - [08/Dec/2009:08:59:35 +0100] "POST /XMLRPC HTTP/1.1" 200 126 "-" "rhn.rpclib.py/$Revision$"
blizzard.domain.obfuscated - - [08/Dec/2009:08:59:36 +0100] "POST /XMLRPC HTTP/1.1" 200 2969 "-" "rhn.rpclib.py/$Revision$"
77.73.254.52 - - [08/Dec/2009:08:59:36 +0100] "GET /XMLRPC/GET-REQ/fc12-base/repodata/repomd.xml HTTP/1.1" 401 485 "-" "rhn.rpclib.py/$Revision$"
blizzard.domain.obfuscated - - [08/Dec/2009:08:59:36 +0100] "POST /XMLRPC HTTP/1.1" 200 1299 "-" "rhn.rpclib.py/$Revision$"
77.73.254.52 - - [08/Dec/2009:08:59:36 +0100] "GET /XMLRPC/GET-REQ/fc12-base/repodata/repomd.xml HTTP/1.1" 401 485 "-" "rhn.rpclib.py/$Revision$"
blizzard.domain.obfuscated - - [08/Dec/2009:08:59:36 +0100] "POST /XMLRPC HTTP/1.1" 200 1299 "-" "rhn.rpclib.py/$Revision$"
77.73.254.52 - - [08/Dec/2009:08:59:36 +0100] "GET /XMLRPC/GET-REQ/fc12-base/repodata/repomd.xml HTTP/1.1" 401 485 "-" "rhn.rpclib.py/$Revision$"
blizzard.domain.obfuscated - - [08/Dec/2009:08:59:36 +0100] "POST /XMLRPC HTTP/1.1" 200 1299 "-" "rhn.rpclib.py/$Revision$"
77.73.254.52 - - [08/Dec/2009:08:59:36 +0100] "GET /XMLRPC/GET-REQ/fc12-base/repodata/repomd.xml HTTP/1.1" 401 485 "-" "rhn.rpclib.py/$Revision$"

It seems something with the authorization is not really working. All
channels are created as "public" and not restricted to any specific
users.

Any guidance on this? Any hint where I could start debugging?


Cheers
Stefan




More information about the Spacewalk-list mailing list