Anaconda kickstart installation error " [Errno 14] Downloaded more than max size "
Problem Description:
Anaconda fails to download the first rpm from the %package section of kickstart with following error.
14:04:57,836 WARNING : Try 1/10 for http://svnserver.eu.novartis.net/svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm failed: [Errno 14] Downloaded more than max size for http://svnserver.eu.novartis.net/svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm: 29083 > 14776
14:04:58,090 WARNING : Failed to get http://svnserver.eu.novartis.net/svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm from mirror 1/1, or downloaded file is corrupt
14:04:58,108 WARNING : package download failure, retrying automatically
The corresponding http access_log is confusing while the first try had success status 200 and the Retry has status "500"
status = 200
"GET /svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm HTTP/1.1" 200 155252 "-" "Red Hat Enterprise Linux (anaconda)/6.4"
status=500
"GET /svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm HTTP/1.1" 500 81920 "-" "Red Hat Enterprise Linux (anaconda)/6.4"
download with curl:
[root@localhost server]# curl -o nss-pam-ldapd-0.7.5-14.el6_2.1.x86_64.rpm --range 1384-15404 http://svnserver.eu.novartis.net/svn/BaseOS/trunk/repo/redhat/repos/yum/Errata/nss-pam-ldapd-0.7.5-18.2.el6_4.x86_64.rpm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 151k 100 151k 0 0 18028 0 0:00:08 0:00:08 --:--:-- 119k
[root@localhost server]# ls -lrt
-rw-r--r--. 1 root root 155252 Sep 18 09:27 nss-pam-ldapd-0.7.5-14.el6_2.1.x86_64.rpm
Attached the anaconda log file. Please help.
Attachments
Responses
Hi Amarnath,
interesting problem. I think we'd need to see more data to get somewhere though.
Is there a possibility that you have some kind of caching proxy in between your host and the httpd repo?
https://access.redhat.com/solutions/316813 discusses this in terms of RHN Proxy, but this is a little bit of a shot in the dark at the moment.
can you get the relevant section of the log from the httpd server and see if we can build up a picture of what both sides of the equation were doing at the time?
one interesting test would be to drop the --range argument to curl, get the whole RPM and then check its cksum.
Checksums are found on the individual rpm package page: nss-pam-ldapd-0.7.5-14.el6_2.1.x86_64.rpm
let us know,
Mark
Hi Amarnath,
I have found this upstream which appears to match the problem: http://svn.haxx.se/dev/archive-2009-08/0274.shtml.
I have been unable to find any records in kbase, Bugzilla, or customer tickets that match either the upstream report or the errors you describe (at least not outside of rhn-proxy).
Assuming the httpd server is running on RHEL, are you able to open a ticket please? I think this needs to be investigated further through the support channels.
Sorry we can't fix it here,
Mark
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
