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 #1

Updated by Markus Reisner about 1 year ago

  • Subject changed from Ubuntu version not parsed correctly by fact parsers to Fix parsing of Ubuntu version in fact parsers
  • Description updated (diff)
Actions #2

Updated by Markus Reisner about 1 year ago

  • Description updated (diff)
Actions #3

Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9760 added
Actions #4

Updated by The Foreman Bot 5 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/9760)
Actions #5

Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10145 added
Actions #6

Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.12.0 added
Actions #7

Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by The Foreman Bot 2 months ago

  • Pull request https://github.com/theforeman/foreman/pull/10153 added
Actions #9

Updated by Evgeni Golov about 1 month ago

  • Related to Bug #37738: Fact upload on Ubuntu fails with "Validation failed: Name Operating system version already exists" added
Actions #10

Updated by The Foreman Bot about 1 month ago

  • Assignee set to Evgeni Golov
  • Pull request https://github.com/theforeman/foreman/pull/10279 added
Actions #11

Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Category set to Facts
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF