you need the errata.py file on each client within the rhn "actions" folder to be able to install "errata"
 
See https://github.com/spacewalkproject/spacewalk/tree/master/client/rhel/yum-rhn-plugin/actions and https://github.com/philicious/spacewalk-scripts (read the README.md)
 
Robert
 
 
Gesendet: Dienstag, 02. Februar 2021 um 10:21 Uhr
Von: "BARRIERE Benoit" <b.barri...@monaco-telecom.mc>
An: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
Betreff: [Spacewalk-list] rhn_check failed to pick up updates from Spacewalk 2.10 for debian buster client

Hello,

 

I try to retrieve from my debian buster client any updates availables and scheduled from our spacewalk server (in 2.10)

When i force to retrieve from my debian client i have this following error :

 

D: do_call errata.update([28197],){'cache_only': None}

D: Attempt to call an unsupported action errata.update([28197],)

D: Sending back response(6, 'Invalid function call attempted', {})

 

Below the debug rhn_check command :

 

root@vla-remedybackup-p01:/var/log# rhn_check -vvvv

D: check_action{'action': "<?xml version='1.0'?>\n<methodCall>\n<methodName>errata.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><int>28197</int></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 8502}

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 1612256497.86 with expiration of 1612260097.86 seconds.

successfully retrieved authentication token from up2date server

D: logininfo:{'X-RHN-Server-Id': 1000010867, 'X-RHN-Auth-Server-Time': '1612256467.81', 'X-RHN-Auth': 'DFE12JbukLSDCXQlSDCSv+ywc1ZznKolOhWMlropQPk=', 'X-RHN-Auth-Channels': [['debian_buster', '20200514102455', '1', '1'], ['buster_main_main', '20210202000626', '0', '1'], ['buster_main_contrib', '20210202000622', '0', '1'], ['buster_main_non-free', '20210202001450', '0', '1'], ['buster_updates_contrib', '20210202000625', '0', '1'], ['buster_updates_main', '20210202000619', '0', '1'], ['buster_updates_non-free', '20210202001449', '0', '1'], ['buster_security_main', '20210202000602', '0', '1'], ['buster_security_contrib', '20210202000620', '0', '1'], ['buster_security_non-free', '20210202000621', '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>errata.update</methodName>\n<params>\n<param>\n<value><array><data>\n<value><int>28197</int></value>\n</data></array></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 8502}

D: handle_action actionid = 8502, version = 2

D: do_call errata.update([28197],){'cache_only': None}

D: Attempt to call an unsupported action errata.update([28197],)

D: Sending back response(6, 'Invalid function call attempted', {})

D: do_call packages.checkNeedUpdate('rhnsd=1',){}

D: Called refresh_list

Updating package profile

D: rpcServer: Calling XMLRPC registration.welcome_message

D: rpcServer: Calling XMLRPC registration.update_packages

D: local action status: (0, 'package list refreshed', {})

D: rpcServer: Calling XMLRPC registration.welcome_message

 

To install the client i am using : the opensuse repo : http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/Debian_10/all/

root@vla-remedybackup-p01:/var/log# dpkg -l | grep -E '(rhn|spacewalk)'

ii  apt-transport-spacewalk           1.0.15-2.debian10.3          all          APT transport for communicating with Spacewalk servers

ii  python2-rhn-check                 2.9.36-3.debian10.3          all          Check for RHN actions

ii  python2-rhn-client-tools          2.9.36-3.debian10.3          all          Support programs and libraries for Red Hat Satellite or Spacewalk

ii  python2-rhn-setup                 2.9.36-3.debian10.3          all          Configure and register an RHN/Spacewalk client

ii  python2-rhncfg                    5.10.129-4.debian10.3        all          Spacewalk Configuration Client Libraries

ii  python2-rhncfg-actions            5.10.129-4.debian10.3        all          Spacewalk Configuration Client Actions

ii  python2-rhncfg-client             5.10.129-4.debian10.3        all          Spacewalk Configuration Client

ii  python2-rhnlib                    2.9.5-2.debian10.3           all          Python libraries for the Spacewalk project

ii  python2-spacewalk-usix            2.9.1-3.debian10.3           all          Spacewalk client micro six library

ii  rhn-check                         2.9.36-3.debian10.3          all          Check for RHN actions

ii  rhn-client-tools                  2.9.36-3.debian10.3          all          Support programs and libraries for Red Hat Satellite or Spacewalk

ii  rhn-setup                         2.9.36-3.debian10.3          all          Configure and register an RHN/Spacewalk client

ii  rhncfg                            5.10.129-4.debian10.3        all          Spacewalk Configuration Client Libraries

ii  rhncfg-actions                    5.10.129-4.debian10.3        all          Spacewalk Configuration Client Actions

ii  rhncfg-client                     5.10.129-4.debian10.3        all          Spacewalk Configuration Client

ii  rhnsd                             5.0.44-1.debian10.9          all          Spacewalk query daemon

ii  spacewalk-usix                    2.9.1-3.debian10.3           all          Spacewalk server and client nano six library

root@vla-remedybackup-p01:/var/log#

 

thanks for your help !

 

 

 

 

 

 
Des informations nominatives sont exploitées par Monaco Telecom SAM dans le cadre de la fourniture de la messagerie professionnelle. Conformément à la Loi 1.165, modifiée, vous disposez d’un droit d’accès, de rectification et de suppression en écrivant à Monaco Telecom SAM, au 4-6 Avenue Albert II – 98000 Monaco.

Personal data are processed for messaging services purpose by Monaco Telecom SAM. In compliance with the applicable legislation (Law n° 1.165, as amended) relating to the protection of personal information, you may access, update and remove your data, by writing to Monaco Telecom SAM - 4-6 Avenue Albert II – 98000 Monaco.

Afin de préserver l’environnement, merci de n’imprimer ce courrier que si nécessaire.
Please remember to protect the environment. Print only if necessary.

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

Reply via email to