#6041 [tracker] idoverrideuser_mod deletes entry during modification
Closed: Fixed None Opened 7 years ago by pvomacka.

When user uses idoverrideuser-mod command on CLI or through WebUI API call, the modification removes the entry and a internal server error occurs.

Steps to reproduce:
1) Add a idview
2) Add User ID override to the ID view created in previous step
3) Go to the User ID override details page
4) Modify a value
5) Save changes

Stack trace from /var/log/httpd/error_log:

[Fri Jul 08 09:52:16.241457 2016] [wsgi:error] [pid 42029] Traceback (most recent call last):
[Fri Jul 08 09:52:16.241460 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 350, in wsgi_execute
[Fri Jul 08 09:52:16.241463 2016] [wsgi:error] [pid 42029]     result = self.Command[name](*args, **options)
[Fri Jul 08 09:52:16.241464 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 446, in __call__
[Fri Jul 08 09:52:16.241466 2016] [wsgi:error] [pid 42029]     ret = self.run(*args, **options)
[Fri Jul 08 09:52:16.241468 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 763, in run
[Fri Jul 08 09:52:16.241470 2016] [wsgi:error] [pid 42029]     return self.execute(*args, **options)
[Fri Jul 08 09:52:16.241471 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipalib/plugins/baseldap.py", line 1527, in execute
[Fri Jul 08 09:52:16.241494 2016] [wsgi:error] [pid 42029]     format=_('the entry was deleted while being modified')
[Fri Jul 08 09:52:16.241497 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipalib/errors.py", line 254, in __init__
[Fri Jul 08 09:52:16.241499 2016] [wsgi:error] [pid 42029]     messages.process_message_arguments(self, format, message, **kw)
[Fri Jul 08 09:52:16.241501 2016] [wsgi:error] [pid 42029]   File "/usr/lib/python2.7/site-packages/ipalib/messages.py", line 57, in process_message_arguments
[Fri Jul 08 09:52:16.241503 2016] [wsgi:error] [pid 42029]     name, format)
[Fri Jul 08 09:52:16.241505 2016] [wsgi:error] [pid 42029] ValueError: non-generic 'MidairCollision' needs format=None; got format=Gettext('the entry was deleted while being modified', domain='ipa', localedir=None)

Affects freeIPA 4.3.1 and 4.4. In freeIPA 4.2.4 modification works correctly.


The same issue is happening for idoverridegroup-mod command, with the same traceback.

After some investigation we deduced that this is caused by a bug in 389-ds, attaching https://fedorahosted.org/389/ticket/48929 and marking as tracker

4.3.2 was released, moving to 4.3.3

slapi-nis bug fixed already.

Metadata Update from @pvomacka:
- Issue assigned to mbabinsk
- Issue set to the milestone: FreeIPA 4.3.3

7 years ago

Login to comment on this ticket.

Metadata