Project

General

Profile

Actions

Bug #37072

closed

Package update chooses latest version instead of input version

Added by Ian Ballou 11 months ago. Updated 26 days 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 #1

Updated by Ian Ballou 11 months ago

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

Updated by Partha Aji 11 months ago

  • Triaged changed from No to Yes
Actions #3

Updated by Quinn James 9 months 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 9 months ago

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

Updated by Ian Ballou 6 months ago

  • Target version changed from Katello 4.13.0 to Katello 4.14.0
Actions #6

Updated by Chris Roberts 4 months ago

  • Target version changed from Katello 4.14.0 to Katello 4.15.0
Actions #7

Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/11213 added
Actions #8

Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 4.15.0 added
Actions #9

Updated by Partha Aji about 1 month ago

  • Status changed from Ready For Testing to Closed
Actions #10

Updated by The Foreman Bot 26 days ago

  • Fixed in Releases Katello 4.15.1 added
Actions

Also available in: Atom PDF