Project

General

Profile

Actions

Bug #36547

closed

Fix parsing of Ubuntu version in fact parsers

Added by Markus Reisner about 1 year ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Facts
Target version:
-

Description

The PuppetFactParser and RhsmFactParser parse the Ubuntu version specified in the VERSION_ID field in file /etc/os-release wrongly.

For example: If we have Ubuntu version 22.04.3 only the major version 22.04 is available in the VERSION_ID field in file /etc/os-release. The fact parsers split this into major and minor version resulting in wrong values of major version 22 and minor version 04.

Reference for Ubuntu versioning: https://docs.theforeman.org/nightly/Provisioning_Hosts/index-katello.html#Creating_an_Operating_System_for_Ubuntu_provisioning)


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #37738: Fact upload on Ubuntu fails with "Validation failed: Name Operating system version already exists"RejectedEvgeni GolovActions
Actions

Also available in: Atom PDF