Hi all, just upgraded Cobbler on a RHEL5 box. On the previous 1.6.6 upgrade I 
went to 2.2.1 (latest at the time), but built a whole new box with RHEL6.
Anyways, I got a problem I've never seen before right out of the gate. I know 
I've got to work on all the wsgi and /etc/settings, etc. stuff, but the first 
hurdle seems to be getting cobbler to even run:

[root@rts-cobbler ~]# /etc/init.d/cobblerd start
Starting cobbler daemon: Traceback (most recent call last):
  File "/usr/bin/cobblerd", line 19, in ?
    import cobbler.cobblerd as app
  File "/usr/lib/python2.4/site-packages/cobbler/cobblerd.py", line 34, in ?
    import api as cobbler_api
  File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 29, in ?
    import action_sync
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 45, in ?
    import cobbler.module_loader as module_loader
ImportError: No module named module_loader

The files are there, but Cobbler doesn't appear to see them.
[root@rts-cobbler ~]# ls -l 
/usr/lib/python2.4/site-packages/cobbler/module_loader.py*
-rw-r--r-- 1 root root 3370 Jun 17 20:22 
/usr/lib/python2.4/site-packages/cobbler/module_loader.py
-rw-r--r-- 1 root root 3632 Jun 17 20:58 
/usr/lib/python2.4/site-packages/cobbler/module_loader.pyc
-rw-r--r-- 1 root root 3632 Jun 17 20:58 
/usr/lib/python2.4/site-packages/cobbler/module_loader.pyo

I suck at Python. A colleague suggested installing Pylint, but I can't get that 
to work either.
Anybody got any ideas for me? Am I missing some deps or something? Got the RPM 
from EPEL5.



*******************************************************
This message (including any files transmitted with it) may contain confidential 
and/or proprietary information, is the property of Interactive Data Corporation 
and/or its subsidiaries, and is directed only to the addressee(s). If you are 
not the designated recipient or have reason to believe you received this 
message in error, please delete this message from your system and notify the 
sender immediately. An unintended recipient's disclosure, copying, 
distribution, or use of this message or any attachments is prohibited and may 
be unlawful. 
*******************************************************
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to