View Issue Details

IDProjectCategoryView StatusLast Update
0007346CentOS-7dracutpublic2015-03-29 10:29
Reporterhasis053341 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86-64OSCentosOS Version7
Product Version7.0-1406 
Target VersionFixed in Version 
Summary0007346: Broken installation with kickstart over proxy
DescriptionI have unsuccessfully tried to install virtual centos7 using pxe boot and kickstart over http proxy. It failed to download stage2 image (squashfs.img). It looks as if it completelly ignores proxy configuration in kickstart file. Manually downloading stage2 from dracut emergency shell worked without problem.
Steps To Reproduce1. Prepare kickstart file with url --url="http://merlin.fit.vutbr.cz/mirrors/centos/7.0.1406/os/x86_64" --proxy="http://user:password@proxy.host:8080"
2. Use kickstart file for installation
3. Try to install
Additional InformationUsing pxe ramdisk (centos/7.0.1406/os/x86_64/images/pxeboot/initrd.img) and kernel (centos/7.0.1406/os/x86_64/images/pxeboot/vmlinuz). Pxelinux menu attached (default). Sosreport attached (rdsosreport.txt)
Kickstart file attached (ks.cfg).

I've done a little investigation and I believe, that problem is in the ramdisk file /lib/dracut/modules.d/80anaconda/parse-kickstart. Proxy is simply ignored during parsing. Providing patch (patch.txt) which correctly parses proxy setting from kickstart.
TagsNo tags attached.
abrt_hash
URL

Activities

hasis053341

hasis053341

2014-07-10 13:21

reporter  

attachments.zip (16,214 bytes)
sathieu

sathieu

2015-03-02 17:08

reporter   ~0022437

NB: There is a related blog post: http://hasis053341.blogspot.fr/2014/07/install-centos-7-with-kickstart-over.html
tru

tru

2015-03-25 09:43

administrator   ~0022592

if you create an updates.img (inst.updates=...) containing the modified /lib/dracut/modules.d/80anaconda/parse-kickstart and /lib/url-lib.sh files, does that work as expected (putting the new files at the same path inside updates.img)?

ref: http://fedoraproject.org/wiki/QA:Testcase_Anaconda_updates.img_via_URL and
http://fedoraproject.org/wiki/Anaconda/Updates#create-images

"Note that the placement of files in an image is a little picky. For instance, python modules must be in their proper subdirectory mirroring the layout of /usr/lib/python?.?/site-packages/. "
sathieu

sathieu

2015-03-29 10:29

reporter   ~0022612

@tru : I don't know, I'm using PXE install with Foreman. Updating the initrd does work.

Issue History

Date Modified Username Field Change
2014-07-10 13:21 hasis053341 New Issue
2014-07-10 13:21 hasis053341 File Added: attachments.zip
2015-03-02 17:08 sathieu Note Added: 0022437
2015-03-25 09:43 tru Note Added: 0022592
2015-03-29 10:29 sathieu Note Added: 0022612