<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> </div>

<div>
<div>you need the errata.py file on each client within the rhn "actions" folder to be able to install "errata"</div>

<div> </div>

<div>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)</div>

<div> </div>

<div>Robert</div>

<div> </div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 02. Februar 2021 um 10:21 Uhr<br/>
<b>Von:</b> "BARRIERE Benoit" <b.barriere@monaco-telecom.mc><br/>
<b>An:</b> "spacewalk-list@redhat.com" <spacewalk-list@redhat.com><br/>
<b>Betreff:</b> [Spacewalk-list] rhn_check failed to pick up updates from Spacewalk 2.10 for debian buster client</div>

<div name="quoted-content"><!--p.MsoNormal, li.MsoNormal, div.MsoNormal {
        margin: 0.0cm;
        font-size: 11.0pt;
        font-family: Calibri , sans-serif;
}
a:link, span.MsoHyperlink {
        color: rgb(5,99,193);
        text-decoration: underline;
}
a:visited, span.MsoHyperlinkFollowed {
        color: rgb(149,79,114);
        text-decoration: underline;
}
span.EmailStyle17 {
        font-family: Calibri , sans-serif;
        color: windowtext;
}
*.MsoChpDefault {
        font-family: Calibri , sans-serif;
}
div.WordSection1 {
        page: WordSection1;
}
-->
<div>
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I try to retrieve from my debian buster client any updates availables and scheduled from our spacewalk server (in 2.10)</p>

<p class="MsoNormal">When i force to retrieve from my debian client i have this following error :</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><b>D: do_call errata.update([28197],){'cache_only': None}</b></p>

<p class="MsoNormal"><b>D: Attempt to call an unsupported action errata.update([28197],)</b></p>

<p class="MsoNormal"><b>D: Sending back response(6, 'Invalid function call attempted', {})</b></p>

<p class="MsoNormal"><b> </b></p>

<p class="MsoNormal"><b>Below the debug rhn_check command :</b></p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">root@vla-remedybackup-p01:/var/log# rhn_check -vvvv</p>

<p class="MsoNormal">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}</p>

<p class="MsoNormal">updateLoginInfo() login info</p>

<p class="MsoNormal">D: login(forceUpdate=True) invoked</p>

<p class="MsoNormal">logging into up2date server</p>

<p class="MsoNormal">D: rpcServer: Calling XMLRPC up2date.login</p>

<p class="MsoNormal">D: writeCachedLogin() invoked</p>

<p class="MsoNormal">D: Wrote pickled loginInfo at 1612256497.86 with expiration of 1612260097.86 seconds.</p>

<p class="MsoNormal">successfully retrieved authentication token from up2date server</p>

<p class="MsoNormal">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'}</p>

<p class="MsoNormal">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}</p>

<p class="MsoNormal">D: handle_action actionid = 8502, version = 2</p>

<p class="MsoNormal"><b>D: do_call errata.update([28197],){'cache_only': None}</b></p>

<p class="MsoNormal"><b>D: Attempt to call an unsupported action errata.update([28197],)</b></p>

<p class="MsoNormal"><b>D: Sending back response(6, 'Invalid function call attempted', {})</b></p>

<p class="MsoNormal">D: do_call packages.checkNeedUpdate('rhnsd=1',){}</p>

<p class="MsoNormal">D: Called refresh_list</p>

<p class="MsoNormal">Updating package profile</p>

<p class="MsoNormal">D: rpcServer: Calling XMLRPC registration.welcome_message</p>

<p class="MsoNormal">D: rpcServer: Calling XMLRPC registration.update_packages</p>

<p class="MsoNormal">D: local action status: (0, 'package list refreshed', {})</p>

<p class="MsoNormal">D: rpcServer: Calling XMLRPC registration.welcome_message</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">To install the client i am using : the opensuse repo : <a href="http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/Debian_10/all/" target="_blank"> http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/2.9:/debclients/Debian_10/all/</a></p>

<p class="MsoNormal">root@vla-remedybackup-p01:/var/log# dpkg -l | grep -E '(rhn|spacewalk)'</p>

<p class="MsoNormal">ii  apt-transport-spacewalk           1.0.15-2.debian10.3          all          APT transport for communicating with Spacewalk servers</p>

<p class="MsoNormal">ii  python2-rhn-check                 2.9.36-3.debian10.3          all          Check for RHN actions</p>

<p class="MsoNormal">ii  python2-rhn-client-tools          2.9.36-3.debian10.3          all          Support programs and libraries for Red Hat Satellite or Spacewalk</p>

<p class="MsoNormal">ii  python2-rhn-setup                 2.9.36-3.debian10.3          all          Configure and register an RHN/Spacewalk client</p>

<p class="MsoNormal">ii  python2-rhncfg                    5.10.129-4.debian10.3        all          Spacewalk Configuration Client Libraries</p>

<p class="MsoNormal">ii  python2-rhncfg-actions            5.10.129-4.debian10.3        all          Spacewalk Configuration Client Actions</p>

<p class="MsoNormal">ii  python2-rhncfg-client             5.10.129-4.debian10.3        all          Spacewalk Configuration Client</p>

<p class="MsoNormal">ii  python2-rhnlib                    2.9.5-2.debian10.3           all          Python libraries for the Spacewalk project</p>

<p class="MsoNormal">ii  python2-spacewalk-usix            2.9.1-3.debian10.3           all          Spacewalk client micro six library</p>

<p class="MsoNormal">ii  rhn-check                         2.9.36-3.debian10.3          all          Check for RHN actions</p>

<p class="MsoNormal">ii  rhn-client-tools                  2.9.36-3.debian10.3          all          Support programs and libraries for Red Hat Satellite or Spacewalk</p>

<p class="MsoNormal">ii  rhn-setup                         2.9.36-3.debian10.3          all          Configure and register an RHN/Spacewalk client</p>

<p class="MsoNormal">ii  rhncfg                            5.10.129-4.debian10.3        all          Spacewalk Configuration Client Libraries</p>

<p class="MsoNormal">ii  rhncfg-actions                    5.10.129-4.debian10.3        all          Spacewalk Configuration Client Actions</p>

<p class="MsoNormal">ii  rhncfg-client                     5.10.129-4.debian10.3        all          Spacewalk Configuration Client</p>

<p class="MsoNormal">ii  rhnsd                             5.0.44-1.debian10.9          all          Spacewalk query daemon</p>

<p class="MsoNormal">ii  spacewalk-usix                    2.9.1-3.debian10.3           all          Spacewalk server and client nano six library</p>

<p class="MsoNormal">root@vla-remedybackup-p01:/var/log#</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">thanks for your help !</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span><img border="0" height="137" id="Image_x0020_1" src="cid:image002.png@01D6F94D.351DED00" style="width: 3.552in;height: 1.427in;" width="341"/></span></p>

<p class="MsoNormal"> </p>
</div>
 

<hr/><font color="#999999" face="Verdana" size="1">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.<br/>
<br/>
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. </font>

<hr/> <font color="Green" face="Verdana" size="1">Afin de préserver l’environnement, merci de n’imprimer ce courrier que si nécessaire.<br/>
Please remember to protect the environment. Print only if necessary.</font><br/>
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
</div>
</div>
</div>
</div></div></body></html>