Project

General

Profile

Bug #4596

cannot change parent of hostgroup

Added by Pierig Le Saux over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

I cannot change the parent of a hostgroup in version 1.5 via the UI.

I believe I could do it via the rails console by changing the "ancestry" field.


Related issues

Related to Foreman - Feature #3939: add option to 'inherit from parent' for hostgroup attributesClosed2014-01-02
Has duplicate Foreman - Bug #4348: Host group parameters tab doesn't show inherited parametersDuplicate2014-02-14

Associated revisions

Revision e14b6968 (diff)
Added by Daniel Lobato Garcia about 5 years ago

Fixes #4596 - Change parent of host group via AJAX

Reparenting host groups requires submitting the form to see the changes
nowadays, this fix makes the host group model inherit all properties
from the parent and show them in real time.

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Feature #3939: add option to 'inherit from parent' for hostgroup attributes added

#2 Updated by Dominic Cleal over 5 years ago

This was added in #3939, but I can't see why. I remember agreeing to disable reparenting of orgs/locs as that was going to be overly complex, but AFAIK, host group reparenting is safe.

#3 Updated by Ohad Levy over 5 years ago

  • Assignee set to Joseph Magen

I had a talk with Joseph and we are not sure why it was added in the first place, Joseph can you remove it?

#4 Updated by Dominic Cleal over 5 years ago

  • Assignee deleted (Joseph Magen)

#5 Updated by Daniel Lobato Garcia over 5 years ago

  • Assignee set to Daniel Lobato Garcia

#6 Updated by Daniel Lobato Garcia over 5 years ago

  • Target version set to 1.8.3

#7 Updated by Dominic Cleal over 5 years ago

  • Legacy Backlogs Release (now unused) deleted (4)

#8 Updated by Dominic Cleal over 5 years ago

  • Category set to Host creation
  • Status changed from New to Ready For Testing

#9 Updated by Dmitri Dolguikh over 5 years ago

  • Target version changed from 1.8.3 to 1.8.2

#10 Updated by Dmitri Dolguikh over 5 years ago

  • Target version changed from 1.8.2 to 1.8.1

#11 Updated by Dmitri Dolguikh about 5 years ago

  • Target version changed from 1.8.1 to 1.8.0

#12 Updated by Dmitri Dolguikh about 5 years ago

  • Target version changed from 1.8.0 to 1.7.5

#13 Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/1403 added

#14 Updated by Dmitri Dolguikh about 5 years ago

  • Target version changed from 1.7.5 to 1.7.4

#15 Updated by Dominic Cleal about 5 years ago

  • Legacy Backlogs Release (now unused) set to 21

#16 Updated by Daniel Lobato Garcia about 5 years ago

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

#17 Updated by Dominic Cleal almost 5 years ago

  • Has duplicate Bug #4348: Host group parameters tab doesn't show inherited parameters added

#18 Updated by Bryan Kearney almost 5 years ago

  • Bugzilla link set to 1166161

Also available in: Atom PDF