Project

General

Profile

Actions

Bug #27927

closed

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

Added by Marek Hulán over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
No
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.

Actions #1

Updated by The Foreman Bot about 5 years ago

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

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #3

Updated by Ondřej Ezr about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF