Bug 704886

Summary: When using child channels in a kickstart they are added after %include statetments
Product: Red Hat Satellite 5 Reporter: Raul Mahiques <rmahique>
Component: ProvisioningAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: medium    
Version: 540CC: cherguet, cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-04 13:25:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    
Attachments:
Description Flags
Satellite web interface, some child channels marked
none
Satellite web interface, part of the resulting kickstart file none

Description Raul Mahiques 2011-05-15 18:47:02 UTC
Created attachment 499042 [details]
Satellite web interface, some child channels marked

Description of problem:
When using child channels in a kickstart they are added after %include statetments, therefore the kickstart will fail if the included file/s contain %packages section since those child channels will be dealt by anaconda as packages, also any package included in that child channels will be missing.

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

How reproducible:

Steps to Reproduce:
1. Create a kickstart and select some child channels.
2. Add an %include <file_to_include> statement
3. In the file <file_to_include> add at the end a %packages section with some packages on it.
4. Try to deploy a server with that kickstart.
  
Actual results:
The repos statements (Child channels) will be added after the %include statement therefore the deployment will ask the user to ignore or abort the installion and will not install any packages from that child channels.


Expected results:
The repo statements are added before the %include statement together with the repo statements used for the marked repositories in the Satellite web interface.

Additional info:
Attached screenshoots.

Comment 1 Raul Mahiques 2011-05-15 18:47:55 UTC
Created attachment 499043 [details]
Satellite web interface, part of the resulting kickstart file