Project

General

Profile

Actions

Bug #31805

open

Changes in selected Installation Media of a Location are not inherited by nested Child Locations when using the "Select all" checkbox

Added by Marcel Kühlhorn over 4 years ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Organizations and Locations
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:
Actions #1

Updated by Marcel Kühlhorn over 4 years ago

  • Subject changed from Changes in selected Installation Media of a Location are not inherited by nested Sub-Locations when using the "selec all" checkbox to Changes in selected Installation Media of a Location are not inherited by nested Child Locations when using the "Select all" checkbox
How to reproduce:
  1. Create a Location with a specific selection of Installation Media
  2. Create a nested Child Location, this can be a carbon copy for now
  3. In the Parent Location check the "Select all Media" checkbox and submit
  4. Check the Child Location settings: All installation Media are greyed out on the Selected side, the "Select all" checkbox is not set
  5. Go to Hosts -> Installation media and switch to the Child Location
  6. Only the Installation Media that were selected during the creation of the Child Location are visible

When manually selecting the Installation Media in the Parent location without using the "Select all" checkbox the changes are inherited by the Child Location correctly

Actions #2

Updated by Ian Ballou over 4 years ago

  • Project changed from Katello to Foreman
  • Category changed from Organizations and Locations to Organizations and Locations

Hi Marcel,

We're moving this to the Foreman project because it doesn't seem to be Katello related. If you think it is, please provide us with more information to show why.

Actions #3

Updated by Marcel Kühlhorn about 4 years ago

  • Found in Releases 2.1.3, 2.3.3 added
Actions #4

Updated by Bernhard Suttner about 4 years ago

From the UI, it is completely not visible which parameter is inherited by the parent location.

Actions #5

Updated by Bernhard Suttner about 1 year ago

Happens in Foreman 3.11, too.

If you follow the defined reproducer steps, all options of media are selected in the child location but the 'All Media' checkbox is not selected. Do you haven an idea @Maria Agaphontzev ?

Actions #6

Updated by Maria Agaphontzev 12 months ago

It looks like generally the inheritance in the locations is a bit off.
For example if the location inherits parameters they are not shown in /api/v2/locations/ID/parameters/
and if the parent's location media is defined, and then selected to "all", then a user creates a child location, and the user goes to the child location, all media page, the child location does not see all media. Looks like the search for media ignores the "ignore_types" parameter in the parent.
@Leos Stejskal @Oleh Fedorenko can you take a look?

Actions

Also available in: Atom PDF