Bug 1138533 - kickstart templates for guest recipes are incorrect: not taking into account default OS major install options
Summary: kickstart templates for guest recipes are incorrect: not taking into account ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.18.1
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-05 06:17 UTC by matt jia
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-12 07:36:21 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.