Project

General

Profile

Bug #27927

Parent object properties are not propagated to Child objects in Location and Host Group

Added by Marek Hulán 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1751981

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.

Associated revisions

Revision a53eafb0 (diff)
Added by Ondřej Ezr 9 months ago

Fixes #27927 - allow taxonomy inheritance

History

#1 Updated by The Foreman Bot 9 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7201 added

#2 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases 2.0.0 added

#3 Updated by Ondřej Ezr 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF