[Spacewalk-list] Help with error after update 2.1 to 2.2

Fabiano Stocco fabiano.stocco at nexxera.com
Tue Aug 19 13:42:52 UTC 2014


Here some more logs containing the error . 

Return webconsole 

Fatal error in Python code occured [[6]] 

Client output side 

/var/log/up2date 
[Tue Aug 19 10:37:22 2014] up2date 
Traceback (most recent call last): 
File "/usr/sbin/rhn_check", line 327, in __run_action 
(status, message, data) = CheckCli.__do_call(method, params, kwargs) 
File "/usr/sbin/rhn_check", line 320, in __do_call 
retval = method(*params, **kwargs) 
File "/usr/share/rhn/actions/configfiles.py", line 193, in upload 
result = r.put_files(action_id, files) 
File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 122, in put_files 
self.system_id, action_id, params) 
File "/usr/share/rhn/config_client/rpc_cli_repository.py", line 51, in rpc_call 
(self, method_name) + params) 
File "/usr/share/rhn/config_common/repository.py", line 372, in rpc_call 
sys.exit(2) 
exceptions.SystemExit: 2 


Regards 


----- Original Message -----


From: "Fabiano Stocco" <fabiano.stocco at nexxera.com> 
To: spacewalk-list at redhat.com 
Sent: Wednesday, August 13, 2014 11:45:40 AM 
Subject: Re: Help with error after update 2.1 to 2.2 


Updated the spacewalk client packages of version 2.2 for nightly -client version and had the solution for CentOS 6 However the problem continues for CentOS 5 versions . 


Fabiano Stocco 


----- Original Message -----

From: "Fabiano Stocco" <fabiano.stocco at nexxera.com> 
To: spacewalk-list at redhat.com 
Sent: Monday, August 11, 2014 10:58:40 AM 
Subject: Help with error after update 2.1 to 2.2 


I have a problem after upgrading from version 2.1 to version 2.2 which can no longer pull configuration files of clients. 

Following execution log below. 
Our environment throughout this in version 2.2 spacewalk (PostgreSQL) with CentOS 6.5 . 


[root at client ~]# rhn_check -vvv 
D: opening db environment /var/lib/rpm cdb:mpool:joinenv 
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 
D: locked db index /var/lib/rpm/Packages 
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key 
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key 
D: loading keyring from rpmdb 
D: opening db index /var/lib/rpm/Name rdonly mode=0x0 
D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring 
D: added key gpg-pubkey-863a853d-4f55f54d to keyring 
D: added key gpg-pubkey-4785d314-4c052e29 to keyring 
D: added key gpg-pubkey-0608b895-4bd22942 to keyring 
D: added key gpg-pubkey-217521f6-45e8a532 to keyring 
D: added key gpg-pubkey-6b8d79e6-3f49313d to keyring 
D: added key gpg-pubkey-066e5810-53cfcd27 to keyring 
D: Using legacy gpg-pubkey(s) from rpmdb 
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0 
D: check_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>81178</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/resolv.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 81178} 
updateLoginInfo() login info 
D: login(forceUpdate=True) invoked 
logging into up2date server 
D: rpcServer: Calling XMLRPC up2date.login 
D: writeCachedLogin() invoked 
D: Wrote pickled loginInfo at 1407765128.97 with expiration of 1407768728.97 seconds. 
successfully retrieved authentication token from up2date server 
D: logininfo:{'X-RHN-Server-Id': 1000010023, 'X-RHN-Auth-Server-Time': '1407765128.97', 'X-RHN-Auth': 'kC0oq5KuSss0ES5sgeLAA5Sc3j7PbqPR6bxkWpBYGc4=', 'X-RHN-Auth-Channels': [['centos6-base-x86_64', '20140811024752', '1', '1'], ['centos6-spacewalk-client-x86_64', '20140811013808', '0', '1'], ['centos6-updates-x86_64', '20140811013314', '0', '1'], ['centos6-epel-x86_64', '20140811022246', '0', '1'], ['centos6-intranet-base-x86_64', '20140811013201', '0', '1'], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'} 
D: handle_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>configfiles.upload</methodName>\n<params>\n<param>\n<value><int>81178</int></value>\n</param>\n<param>\n<value><array><data>\n<value><string>/etc/resolv.conf</string></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 81178} 
D: handle_action actionid = 81178, version = 2 
D: do_call configfiles.upload(81178, ['/etc/resolv.conf']){'cache_only': None} 
XML-RPC error while talking to https://server.local.com/CONFIG-MANAGEMENT: cannot marshal None unless allow_none is enabled 
D: Sending back response((6,), 'Fatal error in Python code occurred', {}) 
D: do_call packages.checkNeedUpdate('rhnsd=1',){} 
D: opening db environment /var/lib/rpm cdb:mpool:joinenv 
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key 
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key 
D: loading keyring from rpmdb 
D: opening db index /var/lib/rpm/Name rdonly mode=0x0 
D: added key gpg-pubkey-c105b9de-4e0fd3a3 to keyring 
D: added key gpg-pubkey-863a853d-4f55f54d to keyring 
D: added key gpg-pubkey-4785d314-4c052e29 to keyring 
D: added key gpg-pubkey-0608b895-4bd22942 to keyring 
D: added key gpg-pubkey-217521f6-45e8a532 to keyring 
D: added key gpg-pubkey-6b8d79e6-3f49313d to keyring 
D: added key gpg-pubkey-066e5810-53cfcd27 to keyring 
D: Using legacy gpg-pubkey(s) from rpmdb 
D: opening db index /var/lib/rpm/Providename rdonly mode=0x0 
D: closed db index /var/lib/rpm/Providename 
D: closed db index /var/lib/rpm/Name 
D: closed db index /var/lib/rpm/Packages 
D: closed db environment /var/lib/rpm 
Not loading "fastestmirror" plugin, as it is disabled 
Loaded plugins: priorities, refresh-packagekit, rhnplugin 
Config time: 0.025 
D: rpcServer: Calling XMLRPC up2date.listChannels 
This system is receiving updates from RHN Classic or Red Hat Satellite. 
Setting up Package Sacks 
pkgsack time: 0.058 
rpmdb time: 0.000 
repo time: 0.000 
D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {}) 
D: rpcServer: Calling XMLRPC registration.welcome_message 
D: closed db index /var/lib/rpm/Providename 
D: closed db index /var/lib/rpm/Name 
D: closed db index /var/lib/rpm/Packages 
D: closed db environment /var/lib/rpm 

Already verjuice for the help 

Fabiano Stocco 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140819/c1ccdd58/attachment.htm>


More information about the Spacewalk-list mailing list