Bug 1782352
Summary: | [RHEL 8.1 client] All packages are not getting updated after click on "Update All Packages" | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Michal Dekan <mdekan> | |
Component: | katello-agent | Assignee: | Partha Aji <paji> | |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.6.0 | CC: | ahumbe, akarimi, egolov, gtalreja, hyu, isdefe.jpap, jhanley, kupadhya, paji, pmoravec | |
Target Milestone: | 6.8.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | katello-host-tools-3.5.3 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1862242 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 12:59:35 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: |
Description
Michal Dekan
2019-12-11 14:28:06 UTC
I think https://bugzilla.redhat.com/show_bug.cgi?id=1713417 fixed just "errata install" scenario but the bugfix should be extended to cover this call flow as well. Checking codefix of bz1713417 : https://github.com/Katello/katello-host-tools/pull/98/files makes a different condition to call lib.upgrade(patterns) But in case of "Update All Packages", both patterns and advisories are empty lists. Removing the "if patterns:" condition and letting lib.upgrade(patterns) to be executed every time, packages are updated. But I am not 100% sure if this cant break something - what is the expected behaviour of the "update" method called on empty lists? - to update nothing? (then katello should enumerate all packages to update in the RMI request / enumerate the unit_keys) - or update everything? (then my patch proposal is sane) Requesting review of the author of the original patch. Connecting redmine issue https://projects.theforeman.org/issues/28909 from this bug Upstream bug assigned to paji Upstream bug assigned to paji Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28909 has been resolved. Clearing the needinfo, since a patch was submitted/merged upstream. *** Bug 1805059 has been marked as a duplicate of this bug. *** *** Bug 1824909 has been marked as a duplicate of this bug. *** *** Bug 1829866 has been marked as a duplicate of this bug. *** Tested on Satellite 6.8 Snap 8 using the reproducer from the initial report. Registered a RHEL 8.1 content host and executed "Update All Packages" on the "Packages->Applicable" page. All packages were successfully updated. The "Actions::Katello::Host::UploadProfiles" task was performed successfully, no more packages to update were listed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |