Description of problem: When a client runs "rhn_check" manually, they are spammed with numerous of these messages: {{{ $ sudo rhn_check --verbose The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. }}} Version-Release number of selected component (if applicable): rhn-check-2.6.8-1.fc24.noarch How reproducible: 100% Steps to Reproduce: 1. On a client registered with a Spacewalk server (mine includes all rhn actions enabled and OSAD service running); 2. Execute "sudo rhn_check --verbose" Actual results: $ sudo rhn_check --verbose The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. The 'plugins' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. Failed to synchronize cache for repo 'fedora_25', disabling. Expected results: Seems like we need to update these to utilize the new (proper) DNF APIs, rather than the plugin system? Additional info: $ rpm -qa | grep spacewalk spacewalk-client-repo-2.6-0.fc24.noarch python3-spacewalk-backend-usix-2.6.74-1.fc24.noarch dnf-plugin-spacewalk-2.6.3-1.fc24.noarch Happens on both Fedora 24/25 (using Fedora24 packages for Spacewalk 2.6) $ cat /etc/fedora-release Fedora release 25 (Twenty Five) $ uname -a Linux <hostname> 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Possibly being addressed by https://github.com/spacewalkproject/spacewalk/pull/495
Yes, it seems to be fine with DNF 2.0 plugin. # rhn_check -vv D: do_call packages.checkNeedUpdate('rhnsd=1',){} D: local action status: (0, 'rpm database not modified since last update (or package list recently updated)', {}) D: rpcServer: Calling XMLRPC registration.welcome_message #
Spacewalk 2.7 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27