Bug 784615

Summary: Missing parameter in keyword repo to setup gpgcheck=0
Product: Red Hat Enterprise Linux 5 Reporter: Kamil Kolakowski <kkolakow>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-31 16:08:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
xml with kickstart and added repo
none
Anaconda.log
none
ks.cfg none

Description Kamil Kolakowski 2012-01-25 15:07:33 UTC
Description of problem:
In kickstart I'm missing in keyword repo (for adding extra repository) parameter for setup gpgcheck. 

I'm installing from added repo for RHEL5 xfsprogs and without setting parm gpgcheck to 0 it would not 

I have workaround to do it in %post block but I think this parameter should be useful for many users.

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

Expected results:
added parameter to repo keyword for setup gpgcheck.

Comment 1 Chris Lumens 2012-01-26 14:57:54 UTC
What problem are you seeing?  anaconda does not do GPG checking by default, and there's not even any code to do so.

Comment 2 Kamil Kolakowski 2012-01-26 15:22:19 UTC
Hi Chris,

If anaconda doesn't do this what is a reason that xfsprogs wasn't installed.
Please try run in beaker xml I attached. Anaconda installation will stop at phase when is installing xfsprogs.

And when I will have in kickstart this

%post
echo "[xfs-repo]" >> /etc/yum.repos.d/xfs.repo
echo "name=xfs-repo" >> /etc/yum.repos.d/xfs.repo
echo "baseurl=http://download.lab.bos.redhat.com/rel-eng/repos/dist-5E-xfs-qu-candidate/x86_64" >> /etc/yum.repos.d/xfs.repo
echo "enabled=1" >> /etc/yum.repos.d/xfs.repo
echo "gpgcheck=0" >> /etc/yum.repos.d/xfs.repo
yum -y install xfsprogs

it works for me without problems.

This 
repo --name=xfsprogs --baseurl=http://download.lab.bos.redhat.com/rel-eng/repos/dist-5E-xfs-qu-candidate/x86_64

doesn't work for me.



Thanks

Kamil

Comment 3 Kamil Kolakowski 2012-01-26 15:24:26 UTC
Created attachment 557685 [details]
xml with kickstart and added repo

Comment 4 Chris Lumens 2012-01-26 15:28:35 UTC
I can't speculate on why an install failed without seeing the log files from the installation.  Please attach them as individual attachments.

Comment 5 Kamil Kolakowski 2012-01-26 15:39:12 UTC
I got this message in console during installation.

The file xfsprogs-2.10.2-7.el5.x86_64.rpm cannot be opened.
This is due to a missing file, a corrupt package or corrupt
media.  Please verify your installation source.
If you exit, your system will be left in an inconsistent
state that will likely require reinstallation.

Reboot                         Retry

That is failed job

https://beaker.engineering.redhat.com/jobs/185031

I will attached logs as you requested.

Comment 6 Kamil Kolakowski 2012-01-26 15:41:40 UTC
Created attachment 557693 [details]
Anaconda.log

Comment 7 Kamil Kolakowski 2012-01-26 15:42:21 UTC
Created attachment 557695 [details]
ks.cfg

Comment 8 Chris Lumens 2012-01-31 16:08:11 UTC
The file referenced at the end of the anaconda.log does not exist.  This appears to be some sort of repo problem.