Project

General

Profile

Bug #32529

The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9.

Added by Eric Helms 5 months ago. Updated 28 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
No
Bugzilla link:

Associated revisions

Revision 9b769afc (diff)
Added by Eric Helms 5 months ago

Fixes #32529: Find latest bootstrap RPM by sorting as integer

The code that finds the maximum (latest) bootstrap RPM was doing
so via a lexical sort which resulted in incorrect ordering for
what should be latest and thus the 9th RPM was always latest. For
example, once the 10th RPM was generated the order went: 1,10,2,3 etc.

This change moves to parsing out the digits (in case there are alphabet
characters present from the dist) in the release, converting to
integers and then sorting.

History

#1 Updated by Eric Helms 5 months ago

  • Target version set to 2.5.0
  • Status changed from New to Assigned
  • Subject changed from The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9. to The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9.

#2 Updated by The Foreman Bot 5 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_proxy_content/pull/355 added

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 3.0.0 added

#4 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Amit Upadhye 4 months ago

  • Target version deleted (2.5.0)

#6 Updated by Amit Upadhye 4 months ago

  • Target version set to 2.5.0
  • Fixed in Releases 2.5.0 added

#7 Updated by Amit Upadhye 28 days ago

  • Category set to Foreman modules

Also available in: Atom PDF