[Spacewalk-list] Kickstarting fails

Pierre Casenove pedro109 at hotmail.com
Thu Jul 7 07:50:48 UTC 2011


I found the problem: it was just an access right issue for the tomcat user.

From: pedro109 at hotmail.com
To: spacewalk-list at redhat.com
Date: Thu, 7 Jul 2011 07:04:48 +0000
Subject: [Spacewalk-list] Kickstarting fails








Hello all,I've set up spacewalk 1.4 to kickstart RHEL 5 Server distro.I've followed this guide: https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobblerMainly, I've created the channel, pushed the packages, mounted the rhel 5.6 iso, created the kickstart tree and a profile.I'm booting the server on the boot CD, nad point to the ks (not using PXE so) : linux ks=http://spacewalk/ks/cfg/..../kickstartThe kickstart file is retrieved, formatting begins... but the rpms are not found.When looking at the apache logs, here is what I can see:10.120.224.12 - - [06/Jul/2011:14:01:31 +0000] "GET /ks/cfg/org/1/label/rhle5-x64 HTTP/1.0" 200 13493 "-" "anaconda/11.1.2.224  --> OK the kickstart is found10.120.224.12 - - [06/Jul/2011:14:02:31 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/VT/repodata/repomd.xml HTTP/1.1" 200 1305 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:31 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/VT/repodata/primary.xml.gz HTTP/1.1" 200 18479 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:31 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/repodata/repomd.xml HTTP/1.1" 200 1314 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:31 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/repodata/primary.xml.gz HTTP/1.1" 200 926667 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:33 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/VT/repodata/comps-rhel5-vt.xml HTTP/1.1" 200 110526 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:33 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/repodata/comps-rhel5-server-core.xml HTTP/1.1" 200 1066906 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:41 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/VT/repodata/filelists.xml.gz HTTP/1.1" 200 32412 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:02:41 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/repodata/filelists.xml.gz HTTP/1.1" 200 2874270 "-" "urlgrabber/3.1.0 yum/3.2.22"--> Still good10.120.224.12 - - [06/Jul/2011:14:05:28 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:28 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:28 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:30 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:32 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:36 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:05:44 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"10.120.224.12 - - [06/Jul/2011:14:06:00 +0000] "GET /ks/dist/rhel-5-server-x64-cnes/Server/xsri-2.1.0-10.fc6.x86_64.rpm HTTP/1.1" 206 3697 "-" "urlgrabber/3.1.0 yum/3.2.22"--> NO GOOD, why a 206 HTTP CODE???
On my spacewalk server:ls -l /var/distro-trees/el5Server/Server/repodata/comps-rhel5-server-core.xml-r--r--r-- 1 root root 1066906 Jan  6 09:31 /var/distro-trees/el5Server/Server/repodata/comps-rhel5-server-core.xmlls -l /var/distro-trees/el5Server/Server/xsri-2.1.0-10.fc6.x86_64.rpm-r--r--r-- 131 root root 31507 Jan 18  2007 /var/distro-trees/el5Server/Server/xsri-2.1.0-10.fc6.x86_64.rpm 
In a browser, I can download comps-rhel5-server-core.xml file, but not the rpm... So I think there is a problem on my httpd config... but can't find where.
Can someone help me through this?
Thanks 		 	   		  

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110707/5368f39d/attachment.htm>


More information about the Spacewalk-list mailing list