<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I found the problem: it was just an access right issue for the tomcat user.<br><br><div><hr id="stopSpelling">From: pedro109@hotmail.com<br>To: spacewalk-list@redhat.com<br>Date: Thu, 7 Jul 2011 07:04:48 +0000<br>Subject: [Spacewalk-list] Kickstarting fails<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>

<div dir="ltr">
<font class="ecxApple-style-span" face="Tahoma" size="2">Hello all,</font><div style="font-family:Tahoma;font-size:10pt">I've set up spacewalk 1.4 to kickstart RHEL 5 Server distro.</div><div style="font-family:Tahoma;font-size:10pt">I've followed this guide: <a href="https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler" target="_blank">https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler</a></div><div style="font-family:Tahoma;font-size:10pt">Mainly, I've created the channel, pushed the packages, mounted the rhel 5.6 iso, created the kickstart tree and a profile.</div><div style="font-family:Tahoma;font-size:10pt">I'm booting the server on the boot CD, nad point to the ks (not using PXE so) : linux ks=http://spacewalk/ks/cfg/..../kickstart</div><div style="font-family:Tahoma;font-size:10pt">The kickstart file is retrieved, formatting begins... but the rpms are not found.</div><div style="font-family:Tahoma;font-size:10pt">When looking at the apache logs, here is what I can see:</div><div><font class="ecxApple-style-span" face="Tahoma" size="2">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</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">  --> OK the kickstart is found</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><div>10.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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>--> Still good</div><div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div><div>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"</div></div><div>--> NO GOOD, why a 206 HTTP CODE???</div><div><br></div><div>On my spacewalk server:</div></font><span class="ecxApple-style-span" style="font-family:Tahoma;font-size:10pt"><div style="text-indent:0px !important">ls -l /var/distro-trees/el5Server/Server/repodata/comps-rhel5-server-core.xml</div><div style="text-indent:0px !important">-r--r--r-- 1 root root 1066906 Jan  6 09:31 /var/distro-trees/el5Server/Server/repodata/comps-rhel5-server-core.xml</div></span><font class="ecxApple-style-span" face="Tahoma" size="2"><div><div>ls -l /var/distro-trees/el5Server/Server/xsri-2.1.0-10.fc6.x86_64.rpm</div><div>-r--r--r-- 131 root root 31507 Jan 18  2007 /var/distro-trees/el5Server/Server/xsri-2.1.0-10.fc6.x86_64.rpm </div></div></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><div><br></div><div>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.</div><div><br></div><div>Can someone help me through this?</div><div><br></div><div>Thanks</div></font></div>                                       </div>
<br>_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list</div>                                        </div></body>
</html>