Bug 1751981 - Parent object properties are not propagated to Child objects in Location and Host Group
Summary: Parent object properties are not propagated to Child objects in Location and ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.5.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.8.0
Assignee: Ondřej Ezr
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-13 10:58 UTC by Marco Verschuur
Modified: 2020-10-27 12:59 UTC (History)
3 users (show)

Fixed In Version: foreman-2.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27927 0 Normal Closed Parent object properties are not propagated to Child objects in Location and Host Group 2020-10-28 17:18:49 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:20 UTC

Description Marco Verschuur 2019-09-13 10:58:52 UTC
Description of problem:
In a Parent-Child relation (e.q. in Location and Host Group) the Parent properties are not being propagated to the Child objects.

Version-Release number of selected component (if applicable):


How reproducible:
Consistent

Steps to Reproduce:
1.Create Parent Location with Subnet assigned
2.Create a Child Location from this Parent
3.Create a host and assign it to the Child Location

Actual results:
Error message: Subnet not defined for host's location
(this happens both via GUI's "Create Host" and hammer-cli 'hammer host create --name <name> --location <Child Location>...'

Expected results:
Host created successfully with assigned Location's properties

Additional info:
Related to bug #1733241 where hammer doesn't support inheritance properties.

Comment 3 Marek Hulan 2019-09-24 09:02:34 UTC
Created redmine issue https://projects.theforeman.org/issues/27927 from this bug

Comment 4 Bryan Kearney 2019-11-25 03:02:11 UTC
Upstream bug assigned to oezr

Comment 5 Bryan Kearney 2019-11-25 03:02:13 UTC
Upstream bug assigned to oezr

Comment 6 Bryan Kearney 2019-11-26 15:03:47 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27927 has been resolved.

Comment 7 Mirek Długosz 2020-06-30 10:25:34 UTC
Host assigned to child location can be created using both UI and CLI.

Tested on:
Satellite 6.8.0 snap 6
katello-3.16.0-0.3.rc3.el7sat.noarch
satellite-6.8.0-0.6.beta.el7sat.noarch
foreman-2.1.0-0.22.rc3.el7sat.noarch
pulp-server-2.21.2-1.el7sat.noarch

Comment 10 errata-xmlrpc 2020-10-27 12:59:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.8 release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4366


Note You need to log in before you can comment on or make changes to this bug.