RHEL 5 Update problem
by Dan White
Using EPEL as my source, trying to update this morning :
It wants to update:
cobbler.noarch 2.4.4-1.el5 epel
cobbler-web.noarch 2.4.4-1.el5 epel
koan.noarch 2.4.4-1.el5 epel
And then it says:
Error: Missing Dependency: virt-install is needed by package koan-2.4.4-1.el5.noarch (epel)
A search reveals that there is no such animal anywhere in EPEL or in anything that looks like ot is compatible with RHEL 5
Can I do without koan ? I use Cobbler for bare metal installs. Nothing virtual.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin & Hobbes)
9 years, 9 months
Re: [cobbler] How does "Files" work?
by Harry Hoffman
Hi,
Straight from the manual...
http://www.cobblerd.org/manuals/2.4.0/5/3/1_-_Built-In_Configuration_Mana...
Cheers,
Harry
On Jun 30, 2014 7:54 AM, Michael Tiernan <mtiernan(a)MIT.EDU> wrote:
>
> There's a gui & cli option for "files".
>
> What's it "supposed" to do?
> How does this work?
> It asks for a "template", what's it want there?
>
> While we're on it, how does one create (and then get) a "fetchable" file?
>
> I have the need to put a set of specific files on a system and I'd
> rather let cobbler handle moving them instead of my scripting some
> strange approach to fixing it.
>
> Thanks for everyone's time.
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
9 years, 9 months
How does "Files" work?
by Michael Tiernan
There's a gui & cli option for "files".
What's it "supposed" to do?
How does this work?
It asks for a "template", what's it want there?
While we're on it, how does one create (and then get) a "fetchable" file?
I have the need to put a set of specific files on a system and I'd
rather let cobbler handle moving them instead of my scripting some
strange approach to fixing it.
Thanks for everyone's time.
9 years, 9 months
Network provisioning without using MAC address
by Ignacio Verona
Hello all!
this is my first message to the list. I've been playing around with cobbler
for some time now and I'm starting to get deeper into it. I'm now dealing
with network configuration parameters and I'd like to know if there is any
way of creating the config files (ifcfg-XX files in my case, CentOS)
without providing the MAC addresses in advance.
I'll have to install a lot of systems and I do not have the MACs so I'd
just want to write the right configurations to ifcfg-eth0, ifcfg-bond0, br0
eth without linking it to MACs.
Is there any way of achieving this? Of course I could write custom snippets
for this, but if there is an standard solution would be better.
thanks in advance,
Ignacio,
9 years, 9 months
Cobbler in Spacewalk
by Sylvain Angers
Hello Guys,
I do manage our corporate provisioning server( dedicated Cobbler 2.4.0) for installation of linux via DHCP/TFTP/PXE and it does work really well!!!
We enjoy easy provisioning via the nice cobbler-web interface that manage our dhcp, this is ALL great for our environment.
It allow my colleagues to do easy provisioning, they love it, many thanks for your nice work!
After the kickstart, vm get register on a Spacewalk server that I manage
I notice Spacewalk server does include cobbler (version 2.0.11)
I am thinking about using spacewalk cobbler functionalities but I am not sure how nice it might play together.
So here my questions, hopefully I might be able to integrate them together:
-Does Spacewalk mess a lot into Cobbler operations?
-Can cobbler-web work with cobbler included into spacewalk?
-If we dig into cobbler without the nice cobbler-web interface in Spacewalk, do you think it may manage dhcp in the same way, macaddress and ip, dns and sync this cobbler sync to manage dhcp?
Thank you very much in advance!
Sylvain Angers
UNIX Technology Integrator - Infrastructure Integration Team
IT - Computing Services
CN - North America's Railroad
935 de la Gauchetiere W
Montréal, Québec, H3B 2M9
[locomotive]
9 years, 9 months
Fwd: help w/ template eval failure in "preseed_late_default"
by Russell Roy
Running Cobbler 2.4.1 I observe a template eval failure when I reference
the "preseed_late_default" script (this file is packaged with Cobbler and
I'm using it unmodified.)
Here's the error detail from /var/log/cobbler/cobbler.log:
Wed Jun 25 21:34:46 2014 - INFO | REMOTE generate_script, name is
> preseed_late_default; user(?)
> Wed Jun 25 21:34:46 2014 - INFO | generate_script
> Wed Jun 25 21:34:46 2014 - ERROR |
> # *** 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.
> #
> #
> # need more than 1 value to unpack
> # File "/usr/lib/python2.7/dist-packages/cobbler/templar.py", line 208,
> in render_cheetah
> # data_out = t.respond()
> #
> # File
> "cheetah_DynamicallyCompiledCheetahTemplate_1403732086_31_85730.py", line
> 127, in respond
> #
> # File
> "cheetah_DynamicallyCompiledCheetahTemplate_1403732086_31_85730.py", line
> 70, in __errorCatcher1
> #
> # File "<string>", line 1, in <module>
> #
> # File "/usr/lib/python2.7/dist-packages/cobbler/template_api.py", line
> 170, in SNIPPET
> # result = BuiltinTemplate.SNIPPET(self, file)
> #
> # File "DynamicallyCompiledCheetahTemplate.py", line 88, in SNIPPET
> #
> # File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line
> 1615, in _handleCheetahInclude
> # self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
> #
> # File
> "cheetah_DynamicallyCompiledCheetahTemplate_1403732086_39_57405.py", line
> 368, in respond
> #
> Wed Jun 25 21:34:46 2014 - INFO | Exception occured: <class '
> cobbler.cexceptions.CX'>
> Wed Jun 25 21:34:46 2014 - INFO | Exception value: 'Error templating file,
> check cobbler.log for more details'
I dug further and was able to isolate the problem to the
"post_install_network_config_deb" snippet (again this is a Cobbler-provided
file which I'm using unmodified.) If I exclude that snippet from the
preseed_late_default script then the error disappears.
I've had no luck in discerning what about the
post_install_network_config_deb is causing the template eval to choke.
Any help here would be most appreciated.
Russ
9 years, 9 months
Anomaly report.
by Michael Tiernan
Now I'd like to declare this a bug report but I've not proven what's
happened but I've seen some quirks with this.
I took an entire distribution and saved with with two names. First one I
saved as "SciLin_All-x86_64" and then I tried to use it and it worked
"weird" so I loaded the second one with the name
"scilin_everything-x86_64" (notice the case of the names).
When I perform a kickstart with the first one (mixed case) it fails to
find packages and complains about broken repositories. When I use the
second one, (all lower) it works fine. Down right perfectly.
I can't figure out the differences (yet) because I've got other issues
to solve first but I thought I'd share this quirk to let others know.
Here's the distro report:
Name : scilin_everything-x86_64
Architecture : x86_64
TFTP Boot Files : {}
Breed : redhat
Comment :
Fetchable Files : {}
Initrd : /var/www/cobbler/ks_mirror/scilin_everything-x86_64/images/pxeboot/initrd.img
Kernel : /var/www/cobbler/ks_mirror/scilin_everything-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/scilin_everything-x86_64'}
Management Classes : []
OS Version : rhel6
Owners : ['admin']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
Name : SciLin_All-x86_64
Architecture : x86_64
TFTP Boot Files : {}
Breed : redhat
Comment :
Fetchable Files : {}
Initrd : /var/www/cobbler/ks_mirror/SciLin_All-x86_64/images/pxeboot/initrd.img
Kernel : /var/www/cobbler/ks_mirror/SciLin_All-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install) : {}
Kickstart Metadata : {'tree': 'http://@@http_server@@/cblr/links/SciLin_All-x86_64'}
Management Classes : []
OS Version : rhel6
Owners : ['admin']
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Template Files : {}
9 years, 9 months
cobbler support for different distros
by Tim Coote
Hullo
I’m not sure whether this is the right list for this query, or whether it’s more for one of the Fedora lists.
Should my cobbler server be able to handle distros that are newer than the distro hosting the cobbler server? Given that cobbler ought to be able to provision for different distros, I’d have thought that there should be now issue. However, I find that my cobbler server (f18) can deploy f17 distros ok, but for f20 distros, the puppet service does not get enabled/started. Is this expected behaviour? Where does it originate - if it’s in some configuration, rather than code, can I set the configuration separately?
Or am I on a constant path of updating my cobbler server?
tim
9 years, 10 months
Cobbler installation
by Yaniv Telem
Hello all
I would like to use Cobbler as my primary installation server.
My question is : do I need to setup everything from scrath or I can connect to my existing kickstart ?
9 years, 10 months
"cobbler signature update" file out of date?
by Will Dennis
Hi all,
I just updated my Cobbler installation from 2.4.x to 2.6.1 tonight, then as a part of checking things out, did a "cobbler signature report", which reported "11 breeds with 45 total signatures loaded", and which included Ubuntu Trusty. Then (thinking it was a good idea) I did a "cobbler signature update", which worked, but upon doing another "cobbler signature report", I was surprised to see it now reported "10 breeds with 40 total signatures loaded"!! (One of the signatures now missing is Ubuntu Trusty, which I want...)
Here is a screen cap on Pastebin of the process: http://pastebin.com/YE6mZ95G
So now, two questions:
1) Are the signatures in http://www.cobblerd.org/signatures/latest.json out of date for 2.6?
2) How to recover the missing signatures?
Thanks,
Will
9 years, 10 months