Feature #28868
closedhammer does not inherit parent location information
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1733241
Description of problem:
subnets and the templates that are configured in the parent location should also be visible in "hammer location info --name child_location". Unlike it shows correctly in GUI.
Version-Release number of selected component (if applicable):
6.5
How reproducible:
100%
Steps to Reproduce:
1. Create a parent and child location on GUI.
2. Create a Subnet under parent and another subnet under child location.
3. Now get the information of location through hammer.
- hammer location info --show-hidden-parameters yes --name child_location ---> It will show subnet which is associated only with child_location.
- hammer location info --show-hidden-parameters yes --name parent_location ---> It will show subnet which is associated only with parent_location.
Actual results:
- hammer location info --show-hidden-parameters yes --name child_location ---> It will show subnet which is associated only with child_location.
- hammer location info --show-hidden-parameters yes --name parent_location ---> It will show subnet which is associated only with parent_location.
Expected results:
Manage Locations >> Parent_Location >> Subnets ---> It will show both subnets under parent & child location.
Manage Locations >> Child_Location >> Subnets ---> It will show both subnets under parent & child location. As inherited from parent.
The above behavior should also be reflected by hammer/API
Additional info:
The same behavior has been observed for provisioning template as well.
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Shira Maximov
- Pull request https://github.com/theforeman/foreman/pull/7434 added
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7502 added
Updated by Shira Maximov almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 342b168b6bb385024d58d27864aa581d859fed17.
Updated by Tomer Brisker almost 5 years ago
- Related to Bug #28984: Add location inherited parameters added
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7530 added