Bug 873740

Summary: kickstart individual package selection doesn't work
Product: [Fedora] Fedora Reporter: Chris Ricker <chris.ricker>
Component: anacondaAssignee: Dave Cantrell <dcantrell>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: g.kaviyarasu, jonathan, vanmeeuwen+fedora
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: 2012-11-06 23:01:32 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:
Attachments:
Description Flags
anaconda.log
none
anaconda.packaging.log
none
anaconda.program.log
none
syslog
none
anaconda-ks.cfg none

Description Chris Ricker 2012-11-06 15:46:46 UTC
I'm seeing silent failures installing individual packages specified as part of the %packages stanza

This is with network kickstarts against Fedora-18-TC7 (anaconda 18.24)

I have the following as my %packages stanza:

%packages --ignoremissing --nobase
@Core
coreutils
kbd
openssh-clients
binutils
ntp
ntpdate
puppet
bind-utils
wget
vim-enhanced
-sendmail
postfix
%end


anaconda.packaging.log confirms that anaconda should install the requested packages:

15:21:39,305 DEBUG packaging: select group core
15:21:39,601 DEBUG packaging: select package openssh-clients
15:21:39,602 DEBUG packaging: select package postfix
15:21:39,603 DEBUG packaging: select package ntpdate
15:21:39,603 DEBUG packaging: select package kbd
15:21:39,603 DEBUG packaging: select package coreutils
15:21:39,603 DEBUG packaging: select package bind-utils
15:21:39,616 DEBUG packaging: select package puppet
15:21:39,617 DEBUG packaging: select package ntp
15:21:39,617 DEBUG packaging: select package wget
15:21:39,618 DEBUG packaging: select package binutils
15:21:39,619 DEBUG packaging: select package vim-enhanced
15:21:39,632 DEBUG packaging: select group Core
15:21:39,639 DEBUG packaging: deselect package sendmail



Five of the requested packages do not show up in the transaction set and the system after install shows this, however:

[root@f18test1 ~]# rpm -q coreutils kbd openssh-clients binutils ntp ntpdate puppet bind-utils wget vim-enhanced sendmail postfix
coreutils-8.17-5.fc18.x86_64
kbd-1.15.3-6.fc18.x86_64
openssh-clients-6.1p1-1.fc18.x86_64
binutils-2.23.51.0.1-3.fc18.x86_64
package ntp is not installed
package ntpdate is not installed
package puppet is not installed
bind-utils-9.9.2-2.fc18.x86_64
wget-1.14-1.fc18.x86_64
package vim-enhanced is not installed
package sendmail is not installed
package postfix is not installed
[root@f18test1 ~]# 

The desired non-installed packages (ntp, ntpdate, puppet, vim-enhanced, postfix) install fine with a yum install at this point

The same 5 (and their dependencies) also install fine during install if done as part of the %post stanza via a

yum -y install ntp ntpdate puppet vim-enhanced postfix

Comment 1 Chris Ricker 2012-11-06 15:47:58 UTC
Created attachment 639414 [details]
anaconda.log

Comment 2 Chris Ricker 2012-11-06 15:48:37 UTC
Created attachment 639416 [details]
anaconda.packaging.log

Comment 3 Chris Ricker 2012-11-06 15:49:13 UTC
Created attachment 639418 [details]
anaconda.program.log

Comment 4 Chris Ricker 2012-11-06 15:49:54 UTC
Created attachment 639419 [details]
syslog

log files from install attached

Comment 5 Chris Ricker 2012-11-06 15:54:02 UTC
Created attachment 639421 [details]
anaconda-ks.cfg

generated anaconda-ks.cfg from install

Comment 6 Jesse Keating 2012-11-06 22:17:39 UTC
I can't reproduce this.  Can you try using an official mirror instead of whatever you have locally?

Comment 7 Chris Ricker 2012-11-06 22:50:47 UTC
This is from the Fedora-18-Beta-TC7-x86_64-DVD.iso imported into cobbler -- is there a more current ISO anywhere?

Comment 8 Jesse Keating 2012-11-06 23:01:32 UTC
The DVD is a subset of the entire package collection.  Things like puppet may not actually be on the DVD.  Since you have --ignoremissing this is working as expected.

Comment 9 Jesse Keating 2012-11-06 23:10:11 UTC
To get at the full repo, you can use the pub/fedora/linux/development/18/<arch>/os  path on the mirrors.

Comment 10 Chris Ricker 2012-11-07 21:37:28 UTC
Thanks - I'm an idiot

That was the issue