Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2139346 - katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf
Summary: katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.11.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.13.0
Assignee: Ian Ballou
QA Contact: Cole Higgins
URL:
Whiteboard:
: 2150124 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 09:03 UTC by Ashfaqur Rahaman
Modified: 2024-01-29 20:21 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2150124 (view as bug list)
Environment:
Last Closed: 2023-05-03 13:12:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35759 0 Normal Closed katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf 2022-11-28 17:27:18 UTC
Red Hat Issue Tracker SAT-13895 0 None None None 2022-11-14 22:39:24 UTC
Red Hat Issue Tracker SAT-13960 0 None None None 2023-05-11 09:26:48 UTC
Red Hat Product Errata RHBA-2023:2095 0 None None None 2023-05-03 13:12:09 UTC

Description Ashfaqur Rahaman 2022-11-02 09:03:57 UTC
Description of problem:

Katello-agent does not update-minimal for dnf as it does for yum. When we specify "dnf upgrade-minimal --advisory RHSA-xxxxx" from Client, it pulls the exact version of kernel as per the advisory, not the latest one available. However, when apply the same errata from Satellite using katello-agent, it pushes the latest version available in the repository, not the version from errata. 

Version-Release number of selected component (if applicable):

satellite 6.9 to 6.11
rhel8

How reproducible:
100%

Steps to Reproduce:
1. register a rhel8 host in Satellite where there are two errata available of the same package kernel.1 and kernel.2
2. Install katello-agent in client
3. Apply the errata to the host which has kernel.1 via katello-agent 

Actual results:

kernel.2 installed 

Expected results:

kernel.1 will be installed 

Additional info:

Its the same behavior in 6.9 and 6.11. it might be in other versions as well.

Comment 11 Ian Ballou 2022-11-15 18:00:39 UTC
Created redmine issue https://projects.theforeman.org/issues/35759 from this bug

Comment 13 Bryan Kearney 2022-11-17 22:35:29 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35759 has been resolved.

Comment 15 Ian Ballou 2022-11-19 03:57:50 UTC
A hotfix is now available for Satellite-managed RHEL 8 and RHEL 9 clients that use katello-agent.  Please contact RH support if it is needed.

Comment 26 errata-xmlrpc 2023-05-03 13:12:06 UTC
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 (Satellite 6 Client Update), 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/RHBA-2023:2095

Comment 27 Brad Buckingham 2024-01-29 20:21:44 UTC
*** Bug 2150124 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.