Project

General

Profile

Feature #28868

hammer does not inherit parent location information

Added by Shira Maximov 9 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
-

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.

  1. hammer location info --show-hidden-parameters yes --name child_location ---> It will show subnet which is associated only with child_location.
  1. hammer location info --show-hidden-parameters yes --name parent_location ---> It will show subnet which is associated only with parent_location.

Actual results:

  1. hammer location info --show-hidden-parameters yes --name child_location ---> It will show subnet which is associated only with child_location.
  1. 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.


Related issues

Related to Hammer CLI - Bug #28984: Add location inherited parametersReady For Testing

Associated revisions

Revision 342b168b (diff)
Added by Shira Maximov 7 months ago

Fixes #28868 - Add location inherited parameters

History

#1 Updated by The Foreman Bot 8 months ago

  • Assignee set to Shira Maximov
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7434 added

#2 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7502 added

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases 2.1.0 added

#4 Updated by Shira Maximov 7 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 7 months ago

  • Related to Bug #28984: Add location inherited parameters added

#6 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7530 added

Also available in: Atom PDF