Project

General

Profile

Actions

Bug #1477

closed

Whenever you switch environment for a host group - the host group looses its puppet classes.

Added by Alexander Chuzhoy about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Whenever you switch environment for a host group - the host group looses its puppet classes. There's no warning and basically someone needs to memorize all the classes the host group had assigned.

I'd expect a warning message notifying about such a major impact, or memorizing the list of already assigned classes somewhere for easy retrieval.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #12342: Puppet classes disapear when changing environment after cloning hostgroupClosedTom Caspy10/28/2015Actions
Has duplicate Foreman - Bug #12421: Moving a hostgroup between environments loses associated puppet classesDuplicate11/09/2015Actions
Actions #1

Updated by Ohad Levy about 12 years ago

  • Assignee set to Ohad Levy
  • Target version set to 1.0
Actions #2

Updated by Ohad Levy almost 12 years ago

  • Difficulty set to easy
Actions #3

Updated by Ohad Levy almost 12 years ago

  • Target version deleted (1.0)
Actions #4

Updated by Ohad Levy almost 12 years ago

  • Assignee deleted (Ohad Levy)
Actions #5

Updated by Benjamin Papillon almost 11 years ago

  • Status changed from New to Closed

This bug has been fixed in 1.1 at least and you now have an option to manage mismatches between environments. You can see #2124 for more informations

Actions #6

Updated by Dominic Cleal over 10 years ago

  • Description updated (diff)
  • Status changed from Closed to New
Actions #7

Updated by Dominic Cleal over 10 years ago

Re-opening as it sounds like the UI issue may still exist, even though the mismatch problem was fixed.

Actions #8

Updated by Jon McKenzie almost 10 years ago

Any update on this issue? This problem is pretty devastating to the use of hostgroups for class management.

We're currently using Foreman 1.4.2 on CentOS 6.

Actions #9

Updated by Jon McKenzie almost 10 years ago

By the way, there seem to be two workarounds for this issue:

  • Use hammer (or the API) to update the hostgroup, not the UI
  • If updating via the UI, change the environment in the dropdown (which will remove the classes from the Puppet Classes tab), and then refresh the page. The environment will remain the same, but if you navigate back to the Puppet Classes tab, the original classes will reappear. Click Submit.

So this does seem to be isolated to the UI.

Actions #10

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2582 added
Actions #11

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Ondřej Pražák
  • translation missing: en.field_release set to 63
Actions #12

Updated by Ondřej Pražák over 8 years ago

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

Updated by Dominic Cleal over 8 years ago

  • Related to Bug #12342: Puppet classes disapear when changing environment after cloning hostgroup added
Actions #14

Updated by Dominic Cleal over 8 years ago

  • Has duplicate Bug #12421: Moving a hostgroup between environments loses associated puppet classes added
Actions

Also available in: Atom PDF