Project

General

Profile

Actions

Bug #35759

closed

katello-agent use upgrade instead of upgrade-minimal when applying errata in dnf

Added by Ian Ballou about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

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
Actions #2

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
Actions #3

Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF