Bug 1731341

Summary: Host is using wrong installation source while using child/nested host group.
Product: Red Hat Satellite 6 Reporter: Varatharaja Perumal G <vgunasek>
Component: Host GroupAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Mirek Zalewski <mzalewsk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5.0CC: eero.torri, inecas, kgaikwad, matthieu.schumacher
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Varatharaja Perumal G 2019-07-19 07:40:20 UTC
Description of problem:

Existing/New host is using the wrong installation source while provisioning using child/nested host group.

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

satellite-6.5.1-1.el7sat.noarch

How reproducible:

Steps to Reproduce:
1. Create a parent host group with all medium (any installation medium).
2. Create a child/nested host group with the same operating system with synced medium.
3. Provision host using child host group.

Actual results:

The provisioned host will use all medium content instead of synced medium. Due to which installation source is pointed to Satellite instead of Capsule.

Expected results:

Host should use the installation medium as per the host group configuration.

Additional info:

Satellite is upgraded from old versions so the customer has 'Installation medium'