[Spacewalk-list] Python 6 error at the client

Robert Paschedag robert.paschedag at web.de
Mon Jun 17 15:38:19 UTC 2019


Please check on the clients with this error, if you have a script /usr/share/rhn/actions/errata.py..

This does the actual work on the client. If it's missing, just copy that from another client that is able to update.

Robert


⁣sent from my mobile device​


-------- Originale Nachricht --------
Von: "Ellis, Merphis" <merphis.ellis at us.idemia.com>
Gesendet: Mon Jun 17 17:09:44 GMT+02:00 2019
An: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
Betreff: [Spacewalk-list] Python 6 error at the client

Good Morning

I am struggling to solve a python error 6 at some clients I need to update.
My setup has some clients that connect direct to the server and some that connect though a proxy.
The systems that are direct connect are updating with no errors
The systems that connect thought the proxy are having some issues.

They registered and did update their package list.

When I try the update process I can see them login to the spacewalk, it looks like it gets the list of files to update, but it seems like when it goes to start the down load I start seeing the python 6 error.

Attached is the log from this morning attempt.

D: check_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>python</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>zabbix-release</string></value>\n<value><string>4.2</string></value>\n<value><string>1.el7</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>zabbix-agent</string></value>\n<value><string>4.2.3</string></value>\n<value><string>2.el7</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>python-libs</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 232}
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 1560781984.92 with expiration of 1560785584.92 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560781984.72', 'X-RHN-Auth': 'JbhToF2TJZIFNh5pQ7ZPQCyaIs8hLSYeJj2QEW/+IFw=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '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>packages.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><array><data>\n<value><string>python</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>zabbix-release</string></value>\n<value><string>4.2</string></value>\n<value><string>1.el7</string></value>\n<value><string></string></value>\n<value><string>noarch</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>zabbix-agent</string></value>\n<value><string>4.2.3</string></value>\n<value><string>2.el7</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n<value><array><data>\n<value><string>python-libs</string></value>\n<value><string>2.6.6</string></value>\n<value><string>68.el6_10</string></value>\n<value><string></string></value>\n<value><string>x86_64</string></value>\n</data></array></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 232}
D: handle_action actionid = 232, version = 2
D: do_call packages.update([['python', '2.6.6', '68.el6_10', '', 'x86_64'], ['zabbix-release', '4.2', '1.el7', '', 'noarch'], ['zabbix-agent', '4.2.3', '2.el7', '', 'x86_64'], ['python-libs', '2.6.6', '68.el6_10', '', 'x86_64']],){'cache_only': None}
Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "subscription-manager" plugin
Running "postconfig" handler for "subscription-manager" plugin
Updating Subscription Management repositories.
Config time: 2.163
Running "init" handler for "rhnplugin" plugin
D: rpcServer: Calling XMLRPC up2date.listChannels
This system is receiving updates from RHN Classic or RHN Satellite.
Looking for repo options for [main]
Looking for repo options for [nc_redhat_abbis]
Repo 'nc_redhat_abbis' setting option 'enabled' = '1'
Repo 'nc_redhat_abbis' setting option 'gpgcheck' = '1'
Repo 'nc_redhat_abbis' setting option 'timeout' = '120'
Reading Local RPMDB
rpmdb time: 0.000
repo time: 0.001
Setting up Package Sacks
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 1560782035.34 with expiration of 1560785635.34 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782035.13', 'X-RHN-Auth': 'YPMRQ5cttlyqb5kMiibCFq8qzAxoqGtcOFEuzqM1UtM=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], '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: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1560782055.04 with expiration of 1560785655.04 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782054.83', 'X-RHN-Auth': 'gS8OPv4PrKLFmRAALeYVNBJZN9vcyieE4eb49WpDSME=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], '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: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1560782080.36 with expiration of 1560785680.36 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782080.16', 'X-RHN-Auth': 'siQ2d6ni4AGEJc0KQflhUo0ROTfGag9LzHYeaa1HQD4=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: Sending back response((6,), 'Fatal error in Python code occured', {})
D: do_call packages.checkNeedUpdate('rhnsd=1',){}
Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "subscription-manager" plugin
Running "postconfig" handler for "subscription-manager" plugin
Updating Subscription Management repositories.
Config time: 1.998
Running "init" handler for "rhnplugin" plugin
This system is receiving updates from RHN Classic or RHN Satellite.
Looking for repo options for [main]
Looking for repo options for [nc_redhat_abbis]
Repo 'nc_redhat_abbis' setting option 'enabled' = '1'
Repo 'nc_redhat_abbis' setting option 'gpgcheck' = '1'
Repo 'nc_redhat_abbis' setting option 'timeout' = '120'
Reading Local RPMDB
rpmdb time: 0.000
repo time: 0.001
Setting up Package Sacks
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 1560782141.39 with expiration of 1560785741.39 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782141.18', 'X-RHN-Auth': '/jHjcYQwa2Av78Xlihh4ZxVvYhjrWAeAh/vobu6Um/U=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], '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: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1560782166.51 with expiration of 1560785766.51 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782166.31', 'X-RHN-Auth': 'VX5v55zy2PjNfGg1ni5ZOC0Igmkqyj+c/SpPuHl0Nfw=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], '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: rpcServer: Calling XMLRPC up2date.login
D: writeCachedLogin() invoked
D: Wrote pickled loginInfo at 1560782191.86 with expiration of 1560785791.86 seconds.
successfully retrieved authentication token from up2date server
D: logininfo:{'X-RHN-Server-Id': 1000010052, 'X-RHN-Auth-Server-Time': '1560782191.65', 'X-RHN-Auth': 'wwVW8/cf7K+q1CL/Hu551YjFzodq7zZwq5uhJGTgKqw=', 'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', '1']], 'X-RHN-Auth-User-Id': '', 'X-RHN-Auth-Expire-Offset': '3600.0'}
D: local action status: ((6,), 'Fatal error in Python code occured', {})
D: rpcServer: Calling XMLRPC registration.welcome_message




Making plans actionable!


Regards,




Merphis Ellis



M. +1 850 556-6313
E. merphis.ellis at us.idemia.com<mailto:merphis.ellis at us.idemia.com>
125 McAlpin Dr
Winterville, GA 30683







[Idemia]<https://www.idemia.com/>


Join us on

[Facebook]<https://www.facebook.com/IdemiaGroup/>

[Twitter]<https://twitter.com/IdemiaGroup>

[LinkedIn]<https://www.linkedin.com/company-beta/3488/>

[Youtube]<https://www.youtube.com/user/SafranMorpho/>






[www.idemia.com]<https://www.idemia.com/>




[OT-MORPHO is now IDEMIA]





________________________________

This message is only for the use of the intended recipient and may contain information that is CONFIDENTIAL and PROPRIETARY to IDEMIA. If you are not the intended recipient, please erase all copies of the message and its attachments and notify the sender immediately.


------------------------------------------------------------------------

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list