What version did you upgrade from?  The 2.2 chain introduced the python
tftp server and if your old modules.conf didn't have the tftp entry you
would fail to load.

http://www.mail-archive.com/[email protected]/msg01295.html

-greg

On Thu, Dec 15, 2011 at 13:45, Phil Dougherty <[email protected]>wrote:

> I made the changes you suggested to config.py and am now getting this
> error:
>
>
> [root@cobbler1 cobbler]# /etc/init.d/cobblerd start
> Starting cobbler daemon: Traceback (most recent call last):
>   File "/usr/bin/cobblerd", line 76, in main
>     api = cobbler_api.BootAPI(is_cobblerd=True)
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 130, in
> __init__
>     self.deserialize()
>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 873, in
> deserialize
>     return self._config.deserialize()
>   File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 263, in
> deserialize
>     serializer.deserialize(item)
>   File "/usr/lib/python2.4/site-packages/cobbler/serializer.py", line 122,
> in deserialize
>     rc = storage_module.deserialize(obj,topological)
>   File
> "/usr/lib/python2.4/site-packages/cobbler/modules/serializer_catalog.py",
> line 232, in deserialize
>     obj.from_datastruct(datastruct)
>   File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 159,
> in from_datastruct
>     self.add(item)
>   File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 277,
> in add
>     self.lite_sync = action_litesync.BootLiteSync(self.config,
> logger=logger)
>   File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py", line
> 54, in __init__
>     self.tftpd       = module_loader.get_module_from_file(
>   File "/usr/lib/python2.4/site-packages/cobbler/module_loader.py", line
> 96, in get_module_from_file
>     raise CX(_("Failed to load module for %s/%s") % (category,field))
> CX: 'Failed to load module for tftpd/module'
>                                                            [  OK  ]
>
>
> On Thu, Dec 15, 2011 at 1:50 PM, Phil Dougherty 
> <[email protected]>wrote:
>
>>  Hello,
>>
>> I am trying to upgrade cobbler to the 2.2.1-1.el5 version from
>> epel-testing because I would like to have support to import ubuntu ISO's.
>>
>> When I try to start cobbler I am getting the following error message.
>> Could this be related to my crusty old python 2.4 version perhaps?
>>
>> [root@cobbler1 cobbler]# /etc/init.d/cobblerd start
>> Starting cobbler daemon: Traceback (most recent call last):
>>   File "/usr/bin/cobblerd", line 76, in main
>>     api = cobbler_api.BootAPI(is_cobblerd=True)
>>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 130, in
>> __init__
>>     self.deserialize()
>>   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 873, in
>> deserialize
>>     return self._config.deserialize()
>>   File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 266, in
>> deserialize
>>     raise CX("serializer: error loading collection %s. Check
>> /etc/cobbler/modules.conf" % item.collection_type())
>> CX: 'serializer: error loading collection distro. Check
>> /etc/cobbler/modules.conf'
>>                                                            [  OK  ]
>> [root@cobbler1 cobbler]# ps auxw|grep cobbler
>> avahi     1428  0.0  0.0  22508  1132 ?        Ss   Dec06   0:00
>> avahi-daemon: running [cobbler1.local]
>> root     11866  0.0  0.0  61176   748 pts/0    S+   13:45   0:00 grep
>> cobbler
>>
>> Operating system is CentOS 5.5 64bit.
>>
>> The only post that I have found that looks to be related is this one.
>> https://fedorahosted.org/pipermail/cobbler-devel/2011-July/002275.html
>>
>> Is there another version that is perhaps more stable that includes the
>> support I am looking for?
>>
>> I appreciate any help that can be provided.
>>
>>
>> --
>> Phil Dougherty
>> Sent with Sparrow <http://bit.ly/sigsprw>
>>
>>
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to