I've been trying to get cobbler web going on cobbler-2.0.1-1.el5
(epel-testing) and built from git source on Centos-5.3.   I had
problems right away from the start of an upgrade from 1.6.  I wiped
away 1.6 and any trace of cobbler from the system and am still having
issues.  I've searched google/wiki/mailing lists and not found anybody
else with my issues so I am probably just Doin' It Wrong.

I install cobbler and cobbler-web.

I start Apache.  I have no idea what the default username/password are
for login.  An older article state cobbler/ILoveCobbler, but that
doesn't appear to work.

I remove authentication from the web interface for cobbler.  I get a
Django error.  I figure it might need some form of REMOTE_USER env
variable present so decide not to go too far down this path.

I change the configuration for apache to use a basic htpasswd file.  I
login that way.  I then get a django traceback.

Environment:

Request Method: GET
Request URL: http://x2.stahnkage.com/cobbler_web/
Django Version: 1.1.1
Python Version: 2.4.3
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'cobbler_web']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')


Traceback:
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py"
in get_response
  92.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/usr/share/cobbler/web/cobbler_web/views.py" in index
  58.    html = t.render(Context({

Exception Type: AttributeError at /cobbler_web/
Exception Value: 'NoneType' object has no attribute 'version'

I figure maybe it needed content, and imported a distro.  That didn't
help either.

What am I doing wrong?

I've only changed cobbler_web.conf to have   "AuthUserFile
/etc/httpd/passwd" added.
It appears there is some type of django authentication handler, but I
can't find log of it being executed ever, even before I messed with
apache.


Thanks for any help.

stahnma
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to