Re: cobbler Digest, Vol 38, Issue 24
by schuurma
Hello to all.
I'm/we are using hardlinks to create snapshots van rpm downloads...
We pull daily the rpm's from the internet.
For deploying Fedora we use 3 stages:
1) incoming (repo_mirror) # from the internet, changes daily
2) testing (knmi_test) # copy'd once from incoming to testing
and then frozen !!! this is hardlink'd
3) production (knmi_all) # after acceptance the testing mirror is
copied once to the production repo.
I think cobbler needs some kind of system to make it possible to deploy
"OTAP" --- *Ontwikkeling Test Acceptatie en Productie*,
or *Development, Testing, Acceptance and Production*, (*DTAP*)
For that we must be able to revert back from Production tot
Acceptance/Testing fase...
With kind regards,
~remke
On 08/31/2011 02:00 PM, cobbler-request(a)lists.fedorahosted.org wrote:
> Send cobbler mailing list submissions to
> cobbler(a)lists.fedorahosted.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://fedorahosted.org/mailman/listinfo/cobbler
> or, via email, send a message with subject or body 'help' to
> cobbler-request(a)lists.fedorahosted.org
>
> You can reach the person managing the list at
> cobbler-owner(a)lists.fedorahosted.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of cobbler digest..."
>
>
> Today's Topics:
>
> 1. Re: repo management and snapshots (Gerhardus Geldenhuis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Aug 2011 14:25:11 +0100
> From: Gerhardus Geldenhuis <gerhardus.geldenhuis(a)gmail.com>
> Subject: Re: repo management and snapshots
> To: cobbler mailing list <cobbler(a)lists.fedorahosted.org>
> Message-ID:
> <CAATm_0rnhkUFRXT8=hz4vVoyRM7O_AGX8ZBtpeQ+mymCAZ3DhA(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Thanks for the response.
> I was also thinking about a sym link or hard link approach to save disk
> space. There is a cobbler hard link command mentioned on some of the online
> docs but this is not mentioned in the man page that I was reading but might
> be due to the version I am using. See this hard link flag made me wonder if
> there were already a solution in place. If I put some more thought into
> this... would this be something that is useful other people and could
> potentially be implemented more generically?
>
> Regards
>
> On Tue, Aug 30, 2011 at 12:17 PM, Christian Horn <chorn(a)fluxcoil.net> wrote:
>
>> Hi,
>>
>> On Tue, Aug 30, 2011 at 12:08:44PM +0100, Gerhardus Geldenhuis wrote:
>>> I looked around through the documentation but could not get a description
>> of
>>> how to do "repo" snapshots. I might have missed it or not have a full
>> grasp
>>> or understanding yet but would appreciate anyone sharing thoughts on how
>> to
>>> do it.
>>>
>>> Very simply I want to be able using only cobbler to create a snapshot of
>> a
>>> repository and called it for example RH5.6-Feb which should contain the
>> base
>>> repo plus all updates that has been releases up until that point. I want
>> to
>>> be able to then create monthly snapshots for example and when I build a
>>> server build it against one of these snapshots. If you can already do
>> this
>>> in cobbler I would appreciate some guidance or if not if anyone could
>> share
>>> how they achieve this with cobbler.
>> I think this is not implemented, you should be able to do it yourself for
>> repos that you host (have locally as files):
>> - 'cp -r /part/repo /part/reposnapshot'
>> - 'cobbler repo copy ...' to make the snapshot known to cobbler
>>
>>
>>> You can do this in spacewalk but I am
>>> not sure how much is spacewalk and how much is cobbler and I am keen to
>> not
>>> re-invent the wheel. For various reasons at the moment unfortunately I
>> can't
>>> use spacewalk to manage this so the solution has to be native to cobbler.
>> Cobbler is maintaining the repo just as a whole, spacewalk knows about the
>> packages inside. That way a clone of a channel in spacewalk (what you call
>> snapshot) happens mainly in the database, without creating copies of files.
>>
>> I think you could be fine with the cobbler approach. This one needs more
>> diskspace, yet that could be reduced in creating hardlinks for files that
>> exist in multiple repos.
>>
>>
>> Christian
>> _______________________________________________
>> cobbler mailing list
>> cobbler(a)lists.fedorahosted.org
>> https://fedorahosted.org/mailman/listinfo/cobbler
>>
>
>
12 years, 8 months
Startup errors
by maillists0@gmail.com
I just installed cobbler-2.0.11-2.el5 on CentOS 5.6 using the rpm from
fedora.redhat.com. I get these errors when I run cobblerd -F:
Traceback (most recent call last):
File "/usr/bin/cobblerd", line 91, in main
app.core(api)
File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line 50, in core
do_xmlrpc_tasks(bootapi, settings, xmlrpc_port)
File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line
76, in do_xmlrpc_tasks
do_xmlrpc_rw(bootapi, settings, xmlrpc_port)
File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line
115, in do_xmlrpc_rw
server = remote.CobblerXMLRPCServer(('127.0.0.1', port))
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1742, in __init__
SimpleXMLRPCServer.SimpleXMLRPCServer.__init__(self,args)
File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 473, in __init__
SocketServer.TCPServer.__init__(self, addr, requestHandler)
File "/usr/lib64/python2.4/SocketServer.py", line 330, in __init__
self.server_bind()
File "/usr/lib64/python2.4/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: (99, 'Cannot assign requested address')
Sorta looks like it can't use port 25151 for xml rpc, but lsof says
nothing is listening there. This is a fresh base-only install with
almost nothing running. No selinux. I'm stumped. Suggestions about
where to look next? What the heck is it complaining about?
12 years, 8 months
Specifying a driver module parameter in a cobbler / koan configuration
by Maria Lees
I would like to be able to specify a module parameter (specifically 'rss=0' for an Intel 10GBe NIC) for a system that I am trying to PXE boot. I've not found anything in the documentation specific to module parameters, but have tried "ixgbe.rss=0" as a kernel parameter. I didn't really expect that to work (and it didn't) since the driver is a module rather than compiled into the kernel. Is there a solution that only involves cobbler / kickstart or do I need to build a kernel with the driver compiled in?
Thanks,
Maria
12 years, 8 months
Installing from NFS?
by mad
Hi!
Is it possible to replace the http repositories in the kickstart file
from cobbler with nfs or other sources?
In my case Cobbler does all the work. Import of distros, local mirroring
of repositories and so on. But everything is saved on a NAS.
The NAS is much faster when accessed via nfs directly instead of http
via the cobbler server.
So is it possible to turn this:
url --url=http://cobbler.server/cblr/ks_mirror/os1
repo --name=repo1 --baseurl=http://cobbler.server/cblr/repo_mirror/repo1
Into something like this:
url --url=nfs://nas.server:/ks_mirror/os1
repo --name=repo1 --baseurl=nfs://nas.server:/repo_mirror/repo1
Thank you for any help in advance.
Best regards
mad
12 years, 8 months
repo management and snapshots
by Gerhardus Geldenhuis
Hi
I looked around through the documentation but could not get a description of
how to do "repo" snapshots. I might have missed it or not have a full grasp
or understanding yet but would appreciate anyone sharing thoughts on how to
do it.
Very simply I want to be able using only cobbler to create a snapshot of a
repository and called it for example RH5.6-Feb which should contain the base
repo plus all updates that has been releases up until that point. I want to
be able to then create monthly snapshots for example and when I build a
server build it against one of these snapshots. If you can already do this
in cobbler I would appreciate some guidance or if not if anyone could share
how they achieve this with cobbler. You can do this in spacewalk but I am
not sure how much is spacewalk and how much is cobbler and I am keen to not
re-invent the wheel. For various reasons at the moment unfortunately I can't
use spacewalk to manage this so the solution has to be native to cobbler.
Best Regards
--
Gerhardus Geldenhuis
12 years, 8 months