Project

General

Profile

Actions

Feature #28868

closed

hammer does not inherit parent location information

Added by Shira Maximov about 4 years ago. Updated about 4 years 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 1 (0 open1 closed)

Related to Hammer CLI - Bug #28984: Add location inherited parametersResolvedAdi AbramovitchActions
Actions #1

Updated by The Foreman Bot about 4 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
Actions #2

Updated by The Foreman Bot about 4 years ago

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

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #4

Updated by Shira Maximov about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker about 4 years ago

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

Updated by The Foreman Bot about 4 years ago

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

Also available in: Atom PDF