Bug 1138533

Summary: kickstart templates for guest recipes are incorrect: not taking into account default OS major install options
Product: [Retired] Beaker Reporter: matt jia <mjia>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.18CC: aigao, asaha, dcallagh, rmancy, xma
Target Milestone: 0.18.1Keywords: Patch, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-12 07:36:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description matt jia 2014-09-05 06:17:24 UTC
Description of problem:


When provisiong systems by using guest recipes, the kickstart templates are not generated correctly.


How reproducible:


Steps to Reproduce:

1. create a job and provision Fedora20 in the guest recipe
2. view the kickstart in the guest recipe

Actual results:

Wrong kickstart is generated

Expected results:

The kickstart should be generated correctly

Comment 1 Dan Callaghan 2014-09-05 06:22:07 UTC
(In reply to matt jia from comment #0)
> Actual results:
> 
> Wrong kickstart is generated

Specifically, it's missing all the default distro feature install options [1], so for example it will use chkconfig on instead of systemctl enable, and it will not have chrony in %packages.

[1] https://beaker-project.org/docs/user-guide/customizing-installation.html#kickstart-metadata-distro-features

Comment 2 Dan Callaghan 2014-09-05 07:05:32 UTC
This bug also affects recipes sent to OpenStack. Problem is that osmajor.install_options is only obeyed in System.install_options, but not in VirtResource.install_options or GuestResource.install_options.

Comment 3 Dan Callaghan 2014-09-05 07:17:40 UTC
On Gerrit: http://gerrit.beaker-project.org/3315

Comment 6 Dan Callaghan 2014-09-12 07:36:21 UTC
Beaker 0.18.1 has been released.