On Fri, Sep 12, 2008 at 8:41 AM, Michael DeHaan <mdehaan@redhat.com> wrote:
drew einhorn wrote:
>
> D'Oh.  Last time I looked closely, I thought up to date versions of
> cobbler were coming
> out of the repositories.  But that was probably on a CentOS5 box, and
> this is on a
> RHEL5 box.    And yum and the repositories is the big difference
> between RHEL
> and CentOS.  So I may need to tweak the repo configs, or just install
> it manually.
>
>

Use the latest EPEL testing for your CentOS 5 boxen, and this goes away.

It will always have the latest build that I released.

http://download.fedora.redhat.com/pub/epel/testing/5/i386/
http://download.fedora.redhat.com/pub/epel/testing/5/x86_64

Downloaded and installed the rpm from here.

Merged the changes from my old /etc/cobbler/settingings into
/etc/cobbler/settings.rpmnew and used that for my new settings file.

ran a:

    sudo cobbler sync

Uh, Oh.


$ sudo cobbler sync

bootloaders
  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 77, in main
    rc = BootCLI().run(sys.argv)

  File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 57, in run
    return self.loader.run(args)

  File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 116, in run
    return fn.run()

  File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py", line 223, in run
    return self.api.sync()

  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 381, in sync
    return sync.run()

  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 101, in run
    self.dhcp.write_dhcp_file()

  File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_dnsmasq.py", line 100, in write_dhcp_file
    elilo = os.path.basename(self.settings.bootloaders["ia64"])

  File "/usr/lib/python2.4/site-packages/cobbler/settings.py", line 149, in __getattr__
    raise AttributeError, name


Hmm.  Why is it messing with an "ia64" bootloader?

$ sudo cobbler check
The following potential problems were detected:
#0: since iptables may be running, ensure 69, 80, 25150, and 25151 are unblocked
#1: One or more kickstart templates references default password 'cobbler' and should be changed for security reasons: /etc/cobbler/sample.ks, /etc/cobbler/legacy.ks, /etc/cobbler/sample_end.ks


cobbler check still looks ok.

 

--Michael


_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler



--
Drew Einhorn