Project

General

Profile

Bug #26095

OS's with 3 digit versions not showing up as "synced content"

Added by Partha Aji 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Foreman's OS model allows for "X.y" versions not "x.y.z".
However Rhel8 and other OSes sometimes specify 3 digits like "8.0.0" in their treeinfo. This falls when we try to match the host os release with the distributions ("x.y" and "x.y.z" don't match.)

1) Sync latest rhel8 base os ks repo. Make sure the distribution version is set to 8.0.0 (should be able to see that on repo details)
2) Go to new hosts/hostsgroup
3) Select the appropriate values for CV, LCE, Content source
3) Go to the operating systems tab and pick x86_64 and Redhat 8.0
Actual:
notice that the synced content is greyed out

Expected:
Need to be able to pick the 8.0.x

Associated revisions

Revision a04b0ba0 (diff)
Added by Partha Aji 4 months ago

Fixes #26095 - Provision distros with 3 digit vers (#7984)

  • Fixes #26095 - Provision distros with 3 digit vers

This commit handles the case where the treeinfo in a distribution has 3
or more digit versions like "8.0.0" during provisioning of a OS that has
2 digits like "8.0". This commit returns x.y.z as a possible bootable
version for any os that has "x.y or x.y.z"

History

#1 Updated by Partha Aji 4 months ago

  • Bugzilla link set to 1546021

#2 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7984 added

#3 Updated by Partha Aji 4 months ago

  • Bugzilla link deleted (1546021)

#4 Updated by Partha Aji 4 months ago

  • Bugzilla link set to 1673032

#5 Updated by Chris Roberts 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.11.0

#6 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF