Bug #14545

ActiveRecord::RecordInvalid: Validation failed: Description has already been taken, Title has already been taken

Added by Christophe Trefois over 1 year ago. Updated 2 months ago.

Assigned To:Tomer Brisker
Target version:Team Daniel - iteration 3
Difficulty: Bugzilla link:
Found in release:1.11.0 Pull request:https://github.com/theforeman/foreman/pull/3836
Story points-
Velocity based estimate-
Release1.13.1Release relationshipAuto


In 1.11.0, and also in 1.10.x, we have for almost every VM a nice stacktrace in the logs, with the following contents:


This seems to hunder proper fact import, especially for hosts that are not managed.

It seems to be related to a duplicate entry for operatingsystem, but I'm not sure how to fix this.

Thank you,

raw.txt Magnifier (20.4 KB) Christophe Trefois, 04/08/2016 05:23 AM

stacktrace.txt Magnifier (19.6 KB) Sven Fischer, 06/22/2017 05:49 AM

Associated revisions

Revision af6d54a3
Added by Tomer Brisker 11 months ago

Fixes #14545, #13104 - Correctly parse y.z minor OS versions

Some OSes use y.z minor version, for example CentOS uses versions such
as 7.2.1511. Currently, the puppet fact parser will only take the 'y'
part of the version, 2 in this case, which can lead to conflicts if the
OS has been defined manually with the 2.1511 minor version (as the
description will still contain the entire version).


#1 Updated by Tomer Brisker 11 months ago

  • Status changed from New to Assigned
  • Assigned To set to Tomer Brisker

#2 Updated by The Foreman Bot 11 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3836 added

#3 Updated by Anonymous 11 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal 11 months ago

  • Release set to 1.13.1

#5 Updated by Daniel Lobato Garcia 11 months ago

  • Target version set to Team Daniel - iteration 3

#6 Updated by Sven Fischer 2 months ago


I have still the problem with the fact update, with the same Stacktraces even with Version 1.15.1.
Can anyone help this out?

Also available in: Atom PDF