Project

General

Profile

Actions

Bug #37072

closed

Package update chooses latest version instead of input version

Added by Ian Ballou about 1 year ago. Updated 2 months ago.

Status:
Closed
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

Also available in: Atom PDF