F14 beta python-cheetah regression
by Chad Huneycutt
I am relaying this to the list in case anyone else gets bitten. I
can't take any credit for the solution; heffer on #cobbler had already
worked through this.
In my case, the symptom was that when I tried to generate kickstarts,
if there were any $SNIPPET macros in the kickstart template, I would
see the following behaviour:
[root@yoda-1 Cheetah]# cobbler system getks --name=jedi000
# *** ERROR ***
#
# There is a templating error preventing this file from rendering correctly.
#
# This is most likely not due to a bug in Cobbler and is something you can fix.
#
# Look at the message below to see what things are causing problems.
#
# (1) Does the template file reference a $variable that is not defined?
# (2) is there a formatting error in a Cheetah directive?
# (3) Should dollar signs ($) be escaped that are not being escaped?
#
# Try fixing the problem and then investigate to see if this message goes
# away or changes.
#
#
# SNIPPET() takes exactly 2 arguments (1 given)
# File "/usr/lib/python2.7/site-packages/cobbler/templar.py", line
121, in render
# data_out = t.respond()
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1288193687_92_18157.py",
line 258, in respond
#
# File "cheetah_DynamicallyCompiledCheetahTemplate_1288193687_92_18157.py",
line 84, in __errorCatcher3
#
# File "<string>", line 1, in <module>
#
heffer tracked it down to this Cheetah commit:
http://github.com/rtyler/cheetah/commit/43d7cbe361a3fe73dc20337e544144b8c...
If you remove the lines added by that commit, then things work better.
I don't pretend to understand this problem beyond that, though, so
either cobbler or cheetah may need to be further modified to
differently attack the problem that commit was addressing.
--
Chad M. Huneycutt
13 years, 4 months
Setting MTU in cobbler
by Ashley Wright
Hi,
Just wondering if cobbler has support for setting the MTU of a network
interface?
I have tried using '--mtu=9000', however I get the error "cobbler:
error: no such option: --mtu"
I am running cobbler 2.0.3.1 from Fedora 12.
I remember seeing some emails about a patch back in May, but I have not
found any information on if this patch was integrated.
Regards,
Ashley
--
Ashley Wright
HPC and Research Support Group
Queensland University of Technology (QUT)
Ph: (07) 3138 1813
Mobile: (04) 0531 3124
QUT: #66866
Email: a2.wright(a)qut.edu.au
Postal:
HPC and Research Support Group,
Block V, Level 7, Room V718,
Gardens Point Campus,
Queensland University of Technology,
GPO Box 2434,
Brisbane Qld 4001
13 years, 5 months
Status of Debian in Cobbler
by Philipp
Hi,
I'm currently evaluating cobbler as installation server in my network.
I'm not sure if all information in the wiki is up to date.
What is the actual status of debian support in cobbler and what is the
future of debian and debian-based distors in cobbler.
Thanks for your feedback!
Philipp
13 years, 5 months
Cobbler 2.0.8
by Scott Henson
I've formally released Cobbler 2.0.8 today. This release contains many
many bug fixes and I'll be pushing it into updates-testing in a few
minutes.
There are a couple of known issues with this release. It will dump the
link cache (a new feature to speed up syncs) in /var/lib instead of
/var/lib/tftpboot as it should. It also failed to include
/etc/cobbler/pxe/efidefault.template in the rpm for some reason. This
is to support the new EFI Boot support. To fix this, simply touch the
file and everything should work. If you want EFI Boot support, copy the
file from the src rpm.
Please check out the change log for a full list of updates from whatever
release you happened to be running.
Also, sorry for the delay in getting this out, from here on out releases
should come out much quicker. Thanks for everyone sticking around.
http://shenson.fedorapeople.org/cobbler/cobbler-2.0.8-1.el5.src.rpm
http://shenson.fedorapeople.org/cobbler/cobbler-2.0.8.tar.gz
--
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
13 years, 5 months