[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 08:23:41 UTC 2011


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] On Behalf Of Matthew Darcy
Sent: 12 May 2011 10:32
To: 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 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110516/a2cc0476/attachment.htm>


More information about the Spacewalk-list mailing list