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.
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Associated revisions
History
#1
Updated by Eric Helms almost 2 years 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 almost 2 years 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 almost 2 years ago
- Fixed in Releases 3.0.0 added
#4
Updated by Anonymous almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-foreman_proxy_content|9b769afcde9fa08ff17fa41d6f302e6c2bdec097.
#5
Updated by Amit Upadhye almost 2 years ago
- Target version deleted (
2.5.0)
#6
Updated by Amit Upadhye almost 2 years ago
- Target version set to 2.5.0
- Fixed in Releases 2.5.0 added
#7
Updated by Amit Upadhye over 1 year ago
- Category set to Foreman modules
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.