Project

General

Profile

Bug #14545

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

Added by Christophe Trefois about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Facts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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:

https://paste.fedoraproject.org/351603/46010654/

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 raw.txt 20.4 KB Christophe Trefois, 04/08/2016 05:23 AM
stacktrace.txt stacktrace.txt 19.6 KB Sven Fischer, 06/22/2017 05:49 AM

Associated revisions

Revision af6d54a3 (diff)
Added by Tomer Brisker over 4 years 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).

Revision 30d2545a (diff)
Added by Tomer Brisker over 4 years 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).

(cherry picked from commit af6d54a3a184846f77f5fd7ca07bcdc7de70a264)

History

#1 Updated by Tomer Brisker almost 5 years ago

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

#2 Updated by The Foreman Bot over 4 years ago

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

#3 Updated by Anonymous over 4 years ago

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

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 190

#5 Updated by Daniel Lobato Garcia over 4 years ago

  • Target version set to 1.5.2

#6 Updated by Sven Fischer almost 4 years ago

Hi,

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