Bug 1409320
| Summary: | rhn_check utilizes DNF plugins, which is deprecated and slated for removal in upcoming DNF release | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Fermulator <redhat-bugzilla> |
| Component: | Clients | Assignee: | Tomáš Kašpárek <tkasparek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.6 | CC: | eherget, mmraka |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-27 19:31:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
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 |
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