Project

General

Profile

Actions

Bug #37072

open

Package update chooses latest version instead of input version

Added by Ian Ballou 4 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

For some RPMs, notably crypto-policies, when upgrading via the host details page, the chosen upgrade version is ignored and it gets the latest version.

The chosen version does make it into the "Selected update versions", but the rendered template ends up with the latest version.

It's likely a bug with `def package_names_for_job_template`.

To reproduce:

1) Create a RHEL 9 machine with crypto-policies-20221215-1.git9a18988.el9.noarch
2) Sync RHEL 9 appstream + baseos
3) Try to upgrade to crypto-policies-scripts-20221215-1.git9a18988.el9_2.1.noarch via the dropdown on the right side of the upgradable RPM

Attached screenshot shows the issue.

Unsure how many versions this affects. Tested on Katello 4.12-devel


Files

Actions #1

Updated by Ian Ballou 4 months ago

  • Target version changed from Katello 4.11.1 to Katello 4.12.0
Actions #2

Updated by Partha Aji 3 months ago

  • Triaged changed from No to Yes
Actions #3

Updated by Quinn James about 1 month ago

  • Target version deleted (Katello 4.12.0)
  • Triaged changed from Yes to No

Removing target version for 4.12 RC/GA re-triage

Actions #4

Updated by Jeremy Lenz about 1 month ago

  • Target version set to Katello 4.13.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF