Actions
Bug #36547
closedFix parsing of Ubuntu version in fact parsers
Difficulty:
Triaged:
Yes
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)
Actions