500 errors from facts upload

Hi,

On my Foreman 1.8.2 instance, I'm uploading facts from our separate Puppet
masters and I frequently see the following error in the foreman production
log.

2015-08-14 09:52:02 [E] Validation failed: Identifier Can't add or remove
. from identifier (ActiveRecord::RecordInvalid)

It seems to happen for a large number of different hosts and I can't see
anything that stands out as being wrong.

Does anyone have any ideas on what is causing this?

Regards

James

Hello

this messages pops up when some interface identifier is updated and the change
would change the interface type (e.g. vlan -> physical). If this happens
during facts upload, there might be some interfaces that are wrongly matched
and tries to update the identifier of another interface. To fix the issue, it
would help to see output of facter --json

It could be related to [1] and [2]

[1] Bug #11247: IP address is invalid, can't add or remove `.` from identifier - Foreman
[2] Bug #10805: VLAN interface attached to bond is wrongly created as Bond - Foreman

··· On Friday 14 of August 2015 02:06:46 jamese wrote: > Hi, > > On my Foreman 1.8.2 instance, I'm uploading facts from our separate Puppet > masters and I frequently see the following error in the foreman production > log. > > 2015-08-14 09:52:02 [E] Validation failed: Identifier Can't add or remove > `.` from identifier (ActiveRecord::RecordInvalid) > > It seems to happen for a large number of different hosts and I can't see > anything that stands out as being wrong. > > Does anyone have any ideas on what is causing this? > > Regards > > James


Marek