[Freeipa-devel] errors while editing groups

David O'Brien david.obrien at redhat.com
Wed Dec 5 03:30:16 UTC 2007


Rob Crittenden wrote:
> David O'Brien wrote:
>> I created half a dozen groups for testing/doc purposes, some with no
>> members. When i try to edit them some curious things happen:
>>
>> 1. I get "500 Internal server error" when I try to deactivate a group[1]
>> 2. sometimes I get "there was a collision" (forget words exactly), but
>> the update occurs anyway.
>> 3. Sometimes I get 'Group update failed: A database error occurred. No
>> such object", but again the update occurred.
>>
>> Mostly I just tried to change the description or name. I think once I
>> saw the name update but not the description? Not very scientific of me...
>>
>> Apart from 1., I couldn't find anything  in the logs to indicate what
>> was happening.
>>
>> [1] (sorry if not all of this is relevant)
>>
>> 2007-12-05 01:45:54,220 ipagui.controllers ERROR CherryPy 500 error (500
>> - Internal Server Error) for request 'POST /group/update'
>> 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 update
>>   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 update
>>   File
>> "/usr/lib/python2.5/site-packages/turbogears/identity/conditions.py",
>> line 235, in require
>>     return fn(self, *args, **kwargs)
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipagui/subcontrollers/group.py",
>>
>> line 299, in update
>>   File "/usr/lib/python2.5/site-packages/ipa/ipaclient.py", line 354, in
>> mark_group_inactive
>>     result = self.transport.mark_group_inactive(cn)
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/funcs.py",
>> line 1290, in mark_group_inactive
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/funcs.py",
>> line 738, in mark_entry_inactive
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/funcs.py",
>> line 357, in get_entry_by_cn
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/funcs.py",
>> line 255, in __get_sub_entry
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/funcs.py",
>> line 236, in __get_entry
>>   File
>> "/var/tmp/ipa-server-0.5.0-1-root-root/usr/share/ipa/ipaserver/ipaldap.py",
>>
>> line 365, in getEntry
>> IPAError65539: no such entry for ('dc=australia,dc=com', 2,
>> '(cn=activated)', None)
>>
> 
> Where did you get your packages? It seems like the class-of-service
> objects didn't get installed.
> 
> rob

from the repo at FC7/i386/2007-11-30_03_01-build/dist

I tried the build from 3rd Dec (I think) but I got errors while
downloading packages. Something about packages not matching expected..?
I didn't write down the error, sorry.


-- 

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/20071205/be728577/attachment.sig>


More information about the Freeipa-devel mailing list