Project

General

Profile

Actions

Bug #23226

closed

Locations from parent HG are not inherited by child HGs

Added by Kavita Gaikwad over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Category:
Host groups
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:
Actions #1

Updated by Anurag Patel over 6 years ago

  • Category set to Host groups

Original bug report from BZ:

Description of problem:

Hostgroup api fails to inherit the location from the parent hostgroup

Version-Release number of selected component (if applicable): 6.2.14

How reproducible: Always

Steps to Reproduce:

1. Make sure that the json has a parent hostgroup_id declared and make sure that you have not added location in the json file.
2. Make sure that the parent hostgroup has been assigned all the parameters including location
3. Create a hostgroup using api.
4. run the GET request on the newly created hostgroup to check if a location has been assigned to it, or not.

Actual results:

Hostgroup does not have the location assigned to it.

Expected results:

New Hostgroup needs to inherit the location from the parent hostgroup.

Additional info:

If you try to access the newly created hostgroup from the sat webui, then the location gets automatically assigned. You can confirm this by running the GET request before accessing it from webui and after accessing it.

Actions #2

Updated by Kavita Gaikwad over 6 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF