Bug #35759
closedkatello-agent use upgrade instead of upgrade-minimal when applying errata in dnf
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2139346
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 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):
Katello 3.18+
rhel8
How reproducible:
100%
Steps to Reproduce:
1. register a rhel8 host in Katello 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
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello-host-tools/pull/140 added
Updated by Samir Jha about 2 years ago
- Subject changed from katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf to katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
Updated by Anonymous about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello-host-tools|046a17d3d52496dc6dfcb825ab900c12ca8a6046.