cobbler freezes at 4%

Tim Dunphy bluethundr at jokefire.com
Sun Jul 3 23:36:13 UTC 2011


Hello list!!

I am having a new issue with cobbler where I am able to kickoff the (virtual) machine creation process, and the kickstart is found and the install begins. But as the data is retrieved from the cobbler server (via the url --url=$tree) option in the kickstart it freezes when it gets to only 4% completion. I tried deleting the distro and re-importing it and recreating the profiles but the result is the same:

## Cobbler pauses at 4% with the url --url=$tree option in KS   

   +----------------------+ Dependency Check +-----------------------+       
      |                                                                 |       
      | Checking dependencies in packages selected for installation...  |       
      |                                                                 |       
      |                                4%                               |       
      |                                                                 |       
      +-----------------------------------------------------------------+     


## errors in apache logs

[root at VIRTCENT14:~] #tail -f /var/log/httpd/error_log
[Sun Jul 03 21:31:04 2011] [error] [client 192.168.1.48] (70014)End of file found: mod_mime_magic: read failed from uncompress of /var/www/cobbler/images/rhel56-xen-i386/vmlinuz
[Sun Jul 03 17:31:17 2011] [error] [client 192.168.1.200] File does not exist: /var/www/cobbler/links/rhel56-xen-i386/images/updates.img
[Sun Jul 03 21:31:18 2011] [error] [client 192.168.1.200] File does not exist: /var/www/cobbler/links/rhel56-xen-i386/disc1
[Sun Jul 03 21:31:18 2011] [error] [client 192.168.1.200] File does not exist: /var/www/cobbler/links/rhel56-xen-i386/images/product.img
[Sun Jul 03 17:31:18 2011] [error] [client 192.168.1.200] File does not exist: /var/www/cobbler/links/rhel56-xen-i386/disc1
[Sun Jul 03 21:31:26 2011] [error] [client 192.168.1.200] File does not exist: /var/www/cobbler/links/rhel56-xen-i386/disc1
[Sun Jul 03 17:34:52 2011] [notice] mod_python: (Re)importing module 'cobbler_web.views'
[Sun Jul 03 17:34:53 2011] [notice] mod_python: (Re)importing module 'cobbler_web.views'
[Sun Jul 03 17:34:56 2011] [notice] mod_python: (Re)importing module 'django.core.handlers.modpython'
[Sun Jul 03 17:34:57 2011] [notice] mod_python: (Re)importing module 'django.core.handlers.modpython'

## activity in the access logs

192.168.1.20 - admin [03/Jul/2011:17:34:52 -0400] "GET /cobbler_web/ksfile/edit//var/lib/cobbler/kickstarts/xen.ks HTTP/1.1" 200 5548 "http://cobbler/cobbler_web/ksfile/list" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3"
192.168.1.20 - admin [03/Jul/2011:21:34:52 +0000] "GET /cobbler_web/ksfile/edit//var/lib/cobbler/kickstarts/xen.ks HTTP/1.1" 200 5548 "http://cobbler/cobbler_web/ksfile/list" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3"


The web root for cobbler is on an NFS share:

nas2.summitnjhome.com:/mnt/store/web
                      1.4T  302G  944G  25% /var/www

And I have no trouble listing the directories:

[root at VIRTCENT14:~] #ls -l /var/www/cobbler/images/rhel56-i386/
total 0
lrwxrwxrwx 1 root apache 64 Jul  3 17:21 initrd.img -> /var/www/cobbler/ks_mirror/rhel56-i386/images/pxeboot/initrd.img
lrwxrwxrwx 1 root apache 61 Jul  3 17:21 vmlinuz -> /var/www/cobbler/ks_mirror/rhel56-i386/images/pxeboot/vmlinuz

[root at VIRTCENT14:~] #ls -l /var/www/cobbler/ks_mirror/rhel56-i386/images/pxeboot/initrd.img
-rw-r--r-- 1 root root 7705221 Mar 29 19:15 /var/www/cobbler/ks_mirror/rhel56-i386/images/pxeboot/initrd.img


This is the kickstart I am attempting to use:

# Kickstart file automatically generated by anaconda.

install
#url --url http://mirror.trouble-free.net/centos/5.6/os/x86_64/
url --url=$tree
#nfs --server 192.168.1.251 --dir /mnt/DVD

lang en_US.UTF-8
network --device eth0 --bootproto dhcp  --nameserver 192.168.1.44,4.2.2.2 --hostname snjhnew
#network --device eth0 --bootproto static --ip 192.168.1.28 --netmask 255.255.255.0 --gateway 192.168.1.1 --nameserver 192.168.1.44,4.2.2.2 --hostname snjhnew
rootpw --iscrypted $1$cnyk.8aB$ukF7dhqP0CJDHrPmEKNje1
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone America/New_York
bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
clearpart --all --initlabel
autopart
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=xvda
#part /boot --fstype ext3 --size=100 --ondisk=xvda
#part pv.2 --size=0 --grow --ondisk=xvda
#volgroup VolGroup00 --pesize=32768 pv.2
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=272 --grow --maxsize=544
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
$yum_repo_stanza
%packages
@base
@core
@dns-server
@dialup
@editors
@legacy-network-server
@mail-server
@network-server
@news-server
@server-cfg
@text-internet
@web-server
@smb-server
keyutils
puppet
koan
keychain
screen
iscsi-initiator-utils
trousers
fipscheck
device-mapper-multipath

I'd appreciate any advice you might have on how to get past this point. 

Thanks!!
Tim


More information about the cobbler mailing list