Project

General

Profile

Actions

Bug #10377

closed

Re-importing an environment where class parameters were removed does not remove those parameters in Foreman's class signatures

Added by Jon McKenzie over 9 years ago. Updated about 9 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We recently upgraded a dev instance of Foreman (and associated proxies) to 1.8.0 and are running into an issue where re-importing an environment where class parameters have been removed does not actually remove those parameters in Foreman for that env.

The initial way we found this was that the ENC output for clients included the deprecated parameters (this was after the re-import), causing Puppet runs to fail ("no such class parameter"). Additionally, when we try to re-import, Foreman claims there are still changes in the environment that it doesn't know about.

As a workaround, we moved all hosts off that environment, deleted it, and re-imported it, and its signatures were then correct.

Unfortunately, I didn't check beforehand if any hosts still had those removed parameters set, I later thought that that might've been the issue. (I'm not sure if moving the hosts off that environment and deleting it would've removed that information).


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #7517: Puppet class parameter not removed from environment after an importClosedDominic Cleal09/18/2014Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Project changed from Smart Proxy to Foreman
  • Category set to Puppet integration
Actions #2

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #2369: Paramaterized classes persist through import after parameters have been removed added
Actions #3

Updated by Dominic Cleal about 9 years ago

  • Related to deleted (Bug #2369: Paramaterized classes persist through import after parameters have been removed)
Actions #4

Updated by Dominic Cleal about 9 years ago

  • Is duplicate of Bug #7517: Puppet class parameter not removed from environment after an import added
Actions #5

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Duplicate

Thanks for the report, this looks to be the same as #7517, which I'll add some more info to in a moment.

Actions

Also available in: Atom PDF