On Fri, May 11, 2012 at 11:21 AM,  <rg...@mediageneral.com> wrote:
> Hey Guys,
>
>
>
> We have been using cobbler from last yr, and we were on version 2.0.X, after
> I upgraded to 2.2.2 I am getting sync fail with following msg. Any Clue ?
>
>
>
> Exception occured: cobbler.cexceptions.CX
>
> Exception value: 'Cannot find config file setting for: module'
>
> Exception Info:
>
>   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 89, in run
>
>     rc = self._run(self)
>
>    File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 184, in
> runner
>
>     return
> self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
>
>    File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 701, in sync
>
>     return sync.run()
>
>    File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 155,
> in run
>
>     utils.run_triggers(self.api, None,
> "/var/lib/cobbler/triggers/sync/post/*", logger=self.logger)
>
>    File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 916, in
> run_triggers
>
>     rc = m.run(api, arglist, logger)
>
>    File
> "/usr/lib/python2.4/site-packages/cobbler/modules/sync_post_restart_services.py",
> line 32, in run
>
>     which_dns_module  =
> module_loader.get_module_from_file("dns","module",just_name=True).strip()
>
>    File "/usr/lib/python2.4/site-packages/cobbler/module_loader.py", line
> 91, in get_module_from_file
>
>     raise CX(_("Cannot find config file setting for: %s") % field)
>
>
>
> !!! TASK FAILED !!!

Typically when someone changes from 2.0 to 2.2 there is a
misconfiguration in the modules.conf that you are missing this
section:

[tftpd]
module = manage_in_tftpd

If you have a modules.conf and a modules.conf.rpmnew I would compare them.

That being said yours seems to be more geared towards the dns module.
So I would still think that you have those two files and need to
compare them, just that your issue might be towards the dns section
instead.

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

Reply via email to