On Mon, 23 Mar 2009, Michael DeHaan wrote:
Tom Diehl wrote:
Hi,
I just upgraded from cobbler.noarch 1.2.9-1.el5 to cobbler - 1.4.3-4.el5.noarch.
After the upgrade I cannot access the distros, profiles, etc. from the webgui. Below is an example of the traceback I get: Mod_python error: "PythonHandler index"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req)
File "/var/www/cobbler/web/index.py", line 130, in handler content = func( **form )
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 162, in distro_list return self.__render( 'distro_list.tmpl', {
File "/usr/lib/python2.4/site-packages/cobbler/webui/CobblerWeb.py", line 102, in __render return str(tmpl)
File "/usr/lib64/python2.4/site-packages/Cheetah/Template.py", line 982, in __str__ def __str__(self): return getattr(self, mainMethName)()
File "/usr/lib/python2.4/site-packages/cobbler/webui/master.py", line 247, in respond self.body(trans=trans)
File "_usr_share_cobbler_webui_templates_distro_list_tmpl.py", line 124, in body
NotFound: cannot find 'name' while searching for 'distro.name'
Did you upgrade using yum?
Yes! The only way to fly! I got the rpm from epel testing.
rpm with --force or --noscripts would be a bad thing to do, for instance.
I would never do that but I understand you had to ask. :-)
There may be more information in /var/log/cobbler/*.log (look towards the bottom for other traceback info).
I just tried it again and selected distros from the webui, the following is what showed up in the cobbler log:
2009-03-23 12:58:09,954 - api - login attempt; user(cobbler) 2009-03-23 12:58:09,955 - api - authenticate; ['cobbler', True] 2009-03-23 12:58:09,955 - api - login succeeded; user(cobbler) 2009-03-23 12:58:09,958 - api - calling authorize for resource ['/cobbler/web/', None, None]; user(cobbler) 2009-03-23 12:58:09,958 - api - authorization result: True; user(?) 2009-03-23 12:58:10,125 - api - get_distros; user(?)
I can put the whole log up on the web server for you to look at if you think it will be useful.
Is there some kind of debug mode I need to enable?
Regards,