Re: [Spacewalk-list] Python 6 error at the client

2019-06-17 Thread Ellis, Merphis
I have been looking more and now I find in the up2date log I see a message that 
the client could not download the repomd.xml file for the repository for the 
channel it is assigned.

I looked in the /var/cache/rhn/ folder and I do find  a rep[osd.xml 
file along with all the other is I expect to find



From: Ellis, Merphis
Sent: Monday, June 17, 2019 11:10 AM
To: 'spacewalk-list@redhat.com' 
Subject: 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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': 110052, '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': 110052, 'X-RHN-Auth-Server-Time': 
'1560782080.16', 'X-RHN-Auth': 'siQ2d6ni4AGEJc0KQflhUo0ROTfGag9LzHYeaa1HQD4=', 
'X-RHN-Auth-Channels': [['nc_redhat_abbis', '20190613082916', '1', 

Re: [Spacewalk-list] Python 6 error at the client

2019-06-17 Thread Robert Paschedag
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" 
Gesendet: Mon Jun 17 17:09:44 GMT+02:00 2019
An: "spacewalk-list@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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': 110052, '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': 110052, 'X-RHN-Auth-Server-Time': 
'

[Spacewalk-list] Python 6 error at the client

2019-06-17 Thread Ellis, Merphis
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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': "\n\npackages.update\n\n\n\n\npython\n2.6.6\n68.el6_10\n\nx86_64\n\n\nzabbix-release\n4.2\n1.el7\n\nnoarch\n\n\nzabbix-agent\n4.2.3\n2.el7\n\nx86_64\n\n\npython-libs\n2.6.6\n68.el6_10\n\nx86_64\n\n\n\n\n\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': 110052, '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': 110052, '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': 110052, '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.