Bug #23226

Locations from parent HG are not inherited by child HGs

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

Host groups
Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:


#1 Updated by Anurag Patel over 4 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.

#2 Updated by Kavita Gaikwad over 4 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF