[Freeipa-devel] Internal Server Error on Add User, Delegations and Self Service

David O'Brien david.obrien at redhat.com
Thu Nov 29 00:01:21 UTC 2007


Rob Crittenden wrote:
> David O'Brien wrote:
>> I've just updated my server and client on F7, 32-bit.
>>
>> Apart from the webUI being a bit reluctant to authorize[1] all seems to
>> be working so far, but I get "An unexpected error occured (sic) HTTP
>> Error Message: 500 - Internal Server Error" when I try to use Add User
>> or Self Service. I'm logged in as admin running on the server.
>>
>> When I click Manage Policy, and then click IPA Policy, I get the same
>> error.
>>
>> The other pages appear to work ok. I can add a user from the command
>> line; there were no objections to anything there.
>>
>> I'm using the 2007-11-20_09_31 build.
>>
>> [1]I'm not sure if it was the various restarts of services or the time
>> lag while I did it all, but the first few times I tried to connect to
>> the server I got Kerberos authentication errors, even though I had a
>> ticket, FF was set up properly, etc. I tried a couple of kdestroys and
>> kinits again, and it eventually connected.
>>
>> Anyone else encountered this or know what would cause it?
> 
> Can you post a snippet from /var/log/ipa_error.log?
> 
> rob

sure, and in my next life I'll remember to do this sort of thing myself  :(

tail -50 /var/log/ipa_error.log
  File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line
105, in _run
    self.main()
  File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line
254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in edit
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 344, in expose
    *args, **kw)
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.5/site-packages/turbogears/database.py", line
312, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 359, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 386, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/turbogears/errorhandling.py",
line 72, in try_call
    return func(self, *args, **kw)
  File "<string>", line 3, in edit
  File
"/usr/lib/python2.5/site-packages/turbogears/identity/conditions.py",
line 235, in require
    return fn(self, *args, **kwargs)
  File
"/var/tmp/freeipa-server-0.4.1-2-root-root/usr/share/ipa/ipagui/subcontrollers/user.py",
line 307, in edit
  File
"/var/tmp/freeipa-server-0.4.1-2-root-root/usr/share/ipa/ipagui/subcontrollers/user.py",
line 42, in load_custom_fields
    pass
AttributeError: IPAClient instance has no attribute 'get_custom_fields'
2007-11-28 16:43:45,881 ipagui.controllers ERROR CherryPy 500 error (500
- Internal Server Error) for request 'GET /user/edit/'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line
105, in _run
    self.main()
  File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line
254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in edit
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 344, in expose
    *args, **kw)
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.5/site-packages/turbogears/database.py", line
312, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 359, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.5/site-packages/turbogears/controllers.py",
line 386, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.5/site-packages/turbogears/errorhandling.py",
line 72, in try_call
    return func(self, *args, **kw)
  File "<string>", line 3, in edit
  File
"/usr/lib/python2.5/site-packages/turbogears/identity/conditions.py",
line 235, in require
    return fn(self, *args, **kwargs)
  File
"/var/tmp/freeipa-server-0.4.1-2-root-root/usr/share/ipa/ipagui/subcontrollers/user.py",
line 307, in edit
  File
"/var/tmp/freeipa-server-0.4.1-2-root-root/usr/share/ipa/ipagui/subcontrollers/user.py",
line 42, in load_custom_fields
    pass
AttributeError: IPAClient instance has no attribute 'get_custom_fields'

Let's know if you need more.
thanks
-- 

David O'Brien <mailto:daobrien at redhat.com>
RHCT
PGP-KeyID: 0x443CBA7B


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20071129/8759e566/attachment.sig>


More information about the Freeipa-devel mailing list