Project

General

Profile

Actions

Bug #2866

closed

Changing a hostgroup name doesn't update associated Smart Variable matchers

Added by Jon McKenzie over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Parameters
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Version: 1.2.0-0.4.RC3 (yum.theforeman.org EL6 RPM packages)

To replicate:

  • Create a hostgroup
  • Create a class with overridden parameters
  • At the hostgroup level, assign the class and override the parameter.
  • Change the hostgroup name

Navigating into the class view will show the old Smart Variable matcher (hostgroup=<old_hostgroup_name>).

Admittedly, this may not actually be an issue in 1.2 GA. I haven't


Related issues 2 (0 open2 closed)

Has duplicate Foreman - Bug #3871: Foreman 1.3.1: Adding a new smart class parameter override fails if there is an existing match on an hostgroup that don't exist. Duplicate12/12/2013Actions
Has duplicate Foreman - Bug #3264: Renaming a host group looses class parameter overridesDuplicate10/15/2013Actions
Actions #1

Updated by Lukas Zapletal over 10 years ago

  • Category set to Parameters
  • Target version set to 1.3.0
  • Difficulty set to easy

Should be relatively easy to re-test or fix. Thanks for the report.

Actions #2

Updated by Joseph Magen over 10 years ago

Jon, I confirm that this bug also exists in the latest 'develop' branch

Actions #3

Updated by Lukas Zapletal over 10 years ago

  • Target version changed from 1.3.0 to 1.4.0
Actions #4

Updated by Greg Sutcliffe over 10 years ago

  • Target version deleted (1.4.0)
Actions #5

Updated by Dominic Cleal about 10 years ago

  • Has duplicate Bug #3871: Foreman 1.3.1: Adding a new smart class parameter override fails if there is an existing match on an hostgroup that don't exist. added
Actions #6

Updated by Dominic Cleal about 10 years ago

See also #3871, this also affects re-parenting/nesting I guess.

Actions #7

Updated by Joseph Magen about 10 years ago

  • Status changed from New to Ready For Testing
Actions #8

Updated by Dominic Cleal about 10 years ago

  • Target version set to 1.9.2
  • Assignee set to Joseph Magen
Actions #9

Updated by Dominic Cleal about 10 years ago

  • translation missing: en.field_release set to 2
Actions #10

Updated by Joseph Magen about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

  • Has duplicate Bug #3264: Renaming a host group looses class parameter overrides added
Actions

Also available in: Atom PDF