Project

General

Custom queries

Profile

Actions

Bug #37290

open

Hostgroup inheritance for LCE and CV does not work for grandchildren hostgroups

Added by Nadja Heitmann about 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

  1. 1) create a hostgroup 'parent' with LCE and CV
  2. 2) create a child hostgroup 'child' and choose 'parent' as as parent hostgroup
  • It takes the correct values from 'parent' for LCE and CV, but does not add 'Inherit parent (...)'
  • Change LCE and CV to something new
  1. 3) create a grandchild hostgroup 'grandchild' and choose 'child' as parent hostgroup
  • CV and LCE are taken from 'parent' hostgroup rather than from 'child' hostgroup

In my opinion, there are multiple thing that are going wrong here:
1) https://github.com/Katello/katello/blob/master/app/helpers/katello/hosts_and_hostgroups_helper.rb#L134 and https://github.com/Katello/katello/blob/master/app/helpers/katello/hosts_and_hostgroups_helper.rb#L163 methods do not pick the `Inherit parent (...)` option, it is added to the beginning of the list only
2) The parent host group is not resolved correctly for CV and LCE. This can either be a UI problem during saving of the new hostgroup or a problem that is hidden deeper.

#1

Updated by Jeremy Lenz about 1 year ago

  • Status changed from New to Need more information
#2

Updated by Nadja Heitmann about 1 year ago

  • Found in Releases Katello 4.14.0 added
  • Found in Releases deleted (Katello 4.11.1)
#4

Updated by Samir Jha about 1 year ago

  • Status changed from Need more information to New
  • Target version set to Katello 4.13.0
  • Triaged changed from No to Yes
#5

Updated by Samir Jha about 1 year ago

  • Category set to Hosts
#8

Updated by Partha Aji 11 months ago

  • Target version changed from Katello 4.13.0 to Katello 4.15.0
#9

Updated by Chris Roberts 6 months ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
#10

Updated by Quinn James about 2 months ago

  • Target version changed from Katello 4.16.0 to Katello 4.17.0
Actions

Also available in: Atom PDF