Cobbler questions

Hello everyone,
I want to start using cobbler for my installations. So, I have setup cobbler packages in my home server.
When I go to the “cobbler check”, I see the following issues:

cobbler check
The following are potential configuration items that you may want to fix:

2 : Apache (httpd) is not installed and/or in path
4 : ksvalidator was not found, install pykickstart

Besides 4, which I suppose that I cannot find it in any openSUSE repository, my question is about 2. My home server has apache configured and that apache servers over 12 internal web sites. Does anybody knows what to do about it?


Giving any answer is difficult when we do not even know wat version of openSUSE you use.

And when one is given, how do you know it is applicable to the version of openSUSE you use?

You are right, I forgot it:
openSUSE 12.3, 32bit
Cobbler: Later available from repos (cobbler-2.2.2-12.1.1.i586)

If you grab the src rpm and rebuild locally to get ksvalidator;

Did you install the 12.3 version of cobbler?

Ahh, saw the version… so do you have all the requires from here installed?

I will test the src.rpm of ksvalidator.
AS for the prerequisites, yes. I used zypper, so no dependencies issue. As I said, it’s just a warning that it should not appear (apache is installed).

I decided to ignore those messages. So, I have a “working” cobbler installation with some issues though. I will return later.

Well, it seems that installation was completed. But not in the way that I had requested to! Look at the configuration of my test system.

The system is configured as:
cobbler system report
Name                           : test
TFTP Boot Files                : {}
Comment                        :
Fetchable Files                : {}
Gateway                        :
Hostname                       : testcob1.home
Image                          :
IPv6 Autoconfiguration         : False
IPv6 Default Device            :
Kernel Options                 : {}
Kernel Options (Post Install)  : {}
Kickstart                      : <<inherit>>
Kickstart Metadata             : {}
LDAP Enabled                   : False
LDAP Management Type           : authconfig
Management Classes             : ]
Management Parameters          : <<inherit>>
Monit Enabled                  : False
Name Servers                   : '', '']
Name Servers Search Path       : ]
Netboot Enabled                : False
Owners                         : 'admin']
Power Management Address       :
Power ID                       :
Power Password                 :
Power Management Type          : ipmitool
Power Username                 :
Profile                        : RHEL-6.5-x86_64
Proxy                          : <<inherit>>
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Repos Enabled                  : False
Server Override                : <<inherit>>
Status                         : testing
Template Files                 : {}
Virt Auto Boot                 : <<inherit>>
Virt CPUs                      : <<inherit>>
Virt Disk Driver Type          : <<inherit>>
Virt File Size(GB)             : <<inherit>>
Virt Path                      : <<inherit>>
Virt RAM (MB)                  : <<inherit>>
Virt Type                      : <<inherit>>
Interface =====                : eth0
Bonding Opts                   :
Bridge Opts                    :
DHCP Tag                       :
DNS Name                       :
Master Interface               :
Interface Type                 :
IP Address                     :
IPv6 Address                   :
IPv6 Default Gateway           :
IPv6 MTU                       :
IPv6 Secondaries               : ]
IPv6 Static Routes             : ]
MAC Address                    :
Management Interface           : True
MTU                            :
Subnet Mask                    :
Static                         : True
Static Routes                  : ]
Virt Bridge                    : 

However, the installed system has not set the hostname correctly (it is localhost.localdomain), the networking is set to DHCP instead of static/ and of course no DNS are set! Yes, I did kickstarted the target system more than once, after cobbler sync and cobbler restart etc. It is always the same system. Is seems like the kickstart is not updated!

The kickstart used in the installation is:

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth  --useshadow  --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=
# If any cobbler repo definitions were referenced in the kickstart profile, include them here.
repo --name=source-1 --baseurl=
repo --name=source-2 --baseurl=
repo --name=source-3 --baseurl=
repo --name=source-4 --baseurl=
repo --name=source-5 --baseurl=
repo --name=source-6 --baseurl=

# Network information
network --bootproto=dhcp --device=eth0 --onboot=on  

# Reboot after installation

#Root password
rootpw --iscrypted $1$co.TJRhD$cVrSY0pGDmpROtk1ToLYO1
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
# System timezone
timezone  America/New_York
# Install OS instead of upgrade
# Clear the Master Boot Record
# Allow anaconda to partition the system as needed

set -x -v
exec 1>/tmp/ks-pre.log 2>&1

# Once root's homedir is there, copy over the log.
while : ; do
    sleep 10
    if  -d /mnt/sysimage/root ]; then
        cp /tmp/ks-pre.log /mnt/sysimage/root/
        logger "Copied %pre section log to system"
done &

wget "" -O /dev/null

# Enable installation monitoring


set -x -v
exec 1>/root/ks-post.log 2>&1

# Start yum configuration 
wget "" --output-document=/etc/yum.repos.d/cobbler-config.repo

# End yum configuration

# Start post_install_network_config generated code
# End post_install_network_config generated code

# Start download cobbler managed config files (if applicable)
# End download cobbler managed config files (if applicable)

# Start koan environment setup
echo "export COBBLER_SERVER=" > /etc/profile.d/
echo "setenv COBBLER_SERVER" > /etc/profile.d/cobbler.csh
# End koan environment setup

# begin Red Hat management server registration
# not configured to register to any Red Hat management server (ok)
# end Red Hat management server registration

# Begin cobbler registration
# cobbler registration is disabled in /etc/cobbler/settings
# End cobbler registration

# Enable post-install boot notification

# Start final steps

wget "" -O /root/cobbler.ks
wget "" -O /dev/null
# End final steps

OK, the openSUSE documentation saved the day and I managed to find out what was wrong in the first part of it. It seems that the only way to distinguish a system is via a MAC address. So, when you configure a system, in reality you configure a very specific hardware/vm, not a class.