[Spacewalk-list] Spacewalk 1.3 - kickstart distribution failing to load one pacakge at build time

Matthew Darcy MDarcy at sch-group.net
Mon May 16 10:42:10 UTC 2011


The interesting part (for me) in the access_log is as follows

80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libxml2-2.6.26-2.1.2.8.x86_64.rpm HTTP/1.1" 206 6050 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libxml2-2.6.26-2.1.2.8.x86_64.rpm HTTP/1.1" 206 6050 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libXrender-0.9.1-3.1.i386.rpm HTTP/1.1" 206 5520 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libXrender-0.9.1-3.1.i386.rpm HTTP/1.1" 206 5520 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libXi-1.0.1-4.el5_4.i386.rpm HTTP/1.1" 206 5740 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/libXi-1.0.1-4.el5_4.i386.rpm HTTP/1.1" 206 5740 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.112 - - [12/May/2011:10:03:31 +0100] "GET /rhn/common/DownloadFile.do?url=/ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"
80.86.39.119 - - [12/May/2011:10:03:31 +0100] "GET /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm HTTP/1.1" 206 36749 "-" "urlgrabber/3.1.0 yum/3.2.22"


As you can see it goes through the packages fine (many lines above this all fine) however once it gets to the redhat-logos package it keeps going and going and going trying to get it, but never actually does, but it does have multiple attmps. If I use the URL out of the error log in a browser, it does actually find and download the file, so I can only assume it thinks there is some sort of corruption with the file, but I cannot find anything wrong with the file.
The error log is empty, nothing wrong at all beyond one line

[Thu May 12 10:02:28 2011] [notice] mod_python: (Re)importing module 'services'

Hence why I am really stuck at what’s causing this .
I’ll reattach the kickstart file (not sure why attatchments keep getting stripped).

Thanks,

Matt






From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of bearwere
Sent: 16 May 2011 10:47
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Spacewalk 1.3 - kickstart distribution failing to load one pacakge at build time

I don't see anything special in your access_log. Did you check error log? BTW, there's no kickstart in attachment

On 16.05.2011 16:30, Matthew Darcy wrote:
I should have also attached this one to,

This is the test kickstart I’m using at the moment (if it helps.)

Matt


From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Matthew Darcy
Sent: 16 May 2011 10:10
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Spacewalk 1.3 - kickstart distribution failing to load one pacakge at build time

Not sure why it didn’t attach the log file, I’ve attached it again.

I can try using the ignore missing package option, but I’m more concerned at why this package is being a problem.

Thanks,

Matt



From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of bearwere
Sent: 16 May 2011 09:38
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: Re: [Spacewalk-list] Spacewalk 1.3 - kickstart distribution failing to load one pacakge at build time

I don't see the attached log. You could try the "Ignore missing packages" option in the kickstart profile, if nothing else helps.

On 16.05.2011 15:23, Matthew Darcy wrote:
Any advice on this would be most welcome as I’ve simply hit a brick wall.

Thanks,

Matt


From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Matthew Darcy
Sent: 12 May 2011 10:32
To: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Spacewalk 1.3 - kickstart distribution failing to load one pacakge at build time

Hi all,

I've pondered this for a day or so now and I've hit a wall so have no better option than to throw this to the list.

I'm running spacewalk 1.3 Oracle XE on Centos 5.6 x86_64 platform.

I have created a base channel to store pakages for Centos 5 x86_64 machines.

I've created a kickstart distribution from a centos 5.5 x86_64 DVD with confirmed checksums.
I've associated this kickstart distribution with the centos 5 base channel created.
I've created a kickstart profile associated with the centos 5 x86_64 kickstart distribution.

I am testing this build with a Vmware x86_64 virtual machine.

I start the vm - it pxeboots to the cobbler generated menu, I select the one and only test kickstart profile on it.
kickstart tftp's the initrd/stage2.img etc etc confirming that the url for the kickstart distribution is fine, visible and working.
The file systems are formatted correctly and the package list checked, showing the kickstart profile it's self is working fine.
The build gets to the point where it is about to install the first package and comes up with the following error

<quote>
the file redhat-logos-4.9.99-11.el5.centos.noarch.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 likley require reinstalltion"
</quote>

then offered reboot or retry.

I'll attatch the http access_log to this message for this one build for complete reference, but to summerise the log shows it access the kickstart distribution fine, it uses the cobbler urlgrabber function to get the correct urls, all work fine until it hits the package redhat-logos-4.9.99-11.el5.centos.noarch.rpm (you can see this in the last 20 lines of the log file).

the package  redhat-logos-4.9.99-11.el5.centos.noarch.rpm seems to be fine on the system: eg:

a.) if I visit the url in the http access_log /ks/dist/centos-5-x86-64-kickstart-distro/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm in a browser, the file is there and offers me to download it
b.) [root at spacewalk01 httpd]# rpm -K /var/distro-trees/centos/5/x86_64/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm
/var/distro-trees/centos/5/x86_64/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm: (sha1) dsa sha1 md5 gpg OK
c.) [root at spacewalk01 httpd]# namei -m /var/distro-trees/centos/5/x86_64/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm
f: /var/distro-trees/centos/5/x86_64/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm
 drwxr-xr-x /
 drwxr-xr-x var
 drwxr-xr-x distro-trees
 drwxrwxr-x centos
 drwxrwxr-x 5
 drwxrwxr-x x86_64
 drwxrwxr-x CentOS
 -rwxrwxr-x redhat-logos-4.9.99-11.el5.centos.noarch.rpm

if I install this package manually using rpm onto a test machine, it works fine (the installation of that one package does)

As the rpm looks fine, the install routine looks in the right place for it, I'm stumped as to what could be causing the problem with this package.

Any suggestions would be most welcome.

thanks,

Matt.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________





_______________________________________________

Spacewalk-list mailing list

Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>

https://www.redhat.com/mailman/listinfo/spacewalk-list


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________






_______________________________________________

Spacewalk-list mailing list

Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>

https://www.redhat.com/mailman/listinfo/spacewalk-list


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110516/7db9132f/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test-kickstart.txt
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110516/7db9132f/attachment.txt>


More information about the Spacewalk-list mailing list