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.
Created redmine issue https://projects.theforeman.org/issues/27927 from this bug
Upstream bug assigned to oezr
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27927 has been resolved.
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
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