Project

General

Profile

Actions

Bug #26744

open

Host duplication due to fact update lead to deletion of exported resouces

Added by Daniel Kraemer almost 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Hi folks,
we recently had two Hosts which got duplicated in foreman.
One of them (clickdb01d) lost the puppetclasses assigned. So the enc provided no puppetclasses anymore, which lead to the deletion of existing exported resources of this host and broke the databasecluster which relied on the exported resources.

The other duplicated host (dslseo01) still had the puppetclasses assigned.

I noticed that both Hosts were the only one with the line "[W] Current user is set, but not expected. Clearing" in the logs. Log attached.

FYI: Our setup consists of two foreman hosts loadbalanced via ipvs, one puppet host and one database. This ran for nearly 1 year without such a problem. We are looking forward to update foreman when puppet6 support is ready and stable (on release of 1.22.1)


Files

foreman_dup.log foreman_dup.log 2.5 KB Daniel Kraemer, 05/06/2019 09:34 AM

No data to display

Actions

Also available in: Atom PDF