Project

General

Profile

Actions

Bug #37738

closed

Fact upload on Ubuntu fails with "Validation failed: Name Operating system version already exists"

Added by Evgeni Golov about 1 month ago. Updated about 1 month ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Since #36547 the Puppet fact parser has custom logic for Ubuntu, which fails to find OSes where "minor" is "nil" (from facter), but stored as an empty string in the DB thanks to Operatingsystem.stringify_major_and_minor in our model.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #36547: Fix parsing of Ubuntu version in fact parsersClosedEvgeni GolovActions
Blocks Installer - Bug #37726: After an OS version upgrade, the GUI still shows the old/wrong Operating System versionClosedEvgeni GolovActions
Actions #1

Updated by Evgeni Golov about 1 month ago

  • Related to Bug #36547: Fix parsing of Ubuntu version in fact parsers added
Actions #2

Updated by Evgeni Golov about 1 month ago

  • Blocks Bug #37726: After an OS version upgrade, the GUI still shows the old/wrong Operating System version added
Actions #3

Updated by The Foreman Bot about 1 month ago

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

Updated by Evgeni Golov about 1 month ago

  • Status changed from Ready For Testing to Rejected

#36547 will get the fix

Actions #5

Updated by Evgeni Golov about 1 month ago

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

Also available in: Atom PDF