Hello,

OS: up-to-date CentOS 8, ipa
versions 4.9.2-4.module_el8.4.0+846+96522ed7.x86_64

I'm getting a traceback in the httpd log when I try to delete a test user.
See below. It appears the ipaUniqueId is missing for the user? I can see
the user with ipa user-show:

[root@ipa-02 /]# ipa user-show tet
  User login: tet
  First name:
  Last name:
  Account disabled: True
  Password: False
  Kerberos keys available: False

But not with ipa user-find:

[root@ipa-02 /]# ipa user-find tet
---------------
0 users matched
---------------
----------------------------
Number of entries returned 0
----------------------------

It also isn't visible in the web interface. How can I delete this user?

[Tue Aug 03 12:22:02.769800 2021] [:warn] [pid 69915:tid 139855196710656]
[client 10.100.120.13:34894] failed to set perms (3140) on file
(/run/ipa/ccaches/ad...@i.tech-lab.io-59LxxO)!, referer:
https://ipa-02.i.tech-lab.io/ipa/xml
[Tue Aug 03 12:22:02.786834 2021] [wsgi:error] [pid 69340:tid
139855208355584] [remote 10.100.120.13:34894] ipa: INFO:
[jsonserver_session] ad...@i.tech-lab.io: ping(): SUCCESS
[Tue Aug 03 12:22:02.790684 2021] [:warn] [pid 69915:tid 139855179925248]
[client 10.100.120.13:34894] failed to set perms (3140) on file
(/run/ipa/ccaches/ad...@i.tech-lab.io-59LxxO)!, referer:
https://ipa-02.i.tech-lab.io/ipa/xml
*[Tue Aug 03 12:22:03.126949 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894 <http://10.100.120.13:34894>]
ipa: ERROR: non-public: KeyError: 'ipauniqueid'*
[Tue Aug 03 12:22:03.127067 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894] Traceback (most recent call
last):
[Tue Aug 03 12:22:03.127075 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/rpcserver.py", line 397, in
wsgi_execute
[Tue Aug 03 12:22:03.127081 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     result = command(*args,
**options)
[Tue Aug 03 12:22:03.127086 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 471, in __call__
[Tue Aug 03 12:22:03.127092 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     return
self.__do_call(*args, **options)
[Tue Aug 03 12:22:03.127133 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 499, in
__do_call
[Tue Aug 03 12:22:03.127140 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     ret = self.run(*args,
**options)
[Tue Aug 03 12:22:03.127145 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 821, in run
[Tue Aug 03 12:22:03.127150 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     return
self.execute(*args, **options)
[Tue Aug 03 12:22:03.127155 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/plugins/user.py", line 802, in
execute
[Tue Aug 03 12:22:03.127160 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     return super(user_del,
self).execute(*keys, **options)
[Tue Aug 03 12:22:03.127165 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/plugins/baseldap.py", line
1678, in execute
[Tue Aug 03 12:22:03.127171 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     delete_entry(pkey)
[Tue Aug 03 12:22:03.127176 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/plugins/baseldap.py", line
1629, in delete_entry
[Tue Aug 03 12:22:03.127181 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     dn = callback(self, ldap,
dn, *nkeys, **options)
[Tue Aug 03 12:22:03.127186 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/plugins/user.py", line 759, in
pre_callback
[Tue Aug 03 12:22:03.127191 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]
remove_ipaobject_overrides(self.obj.backend, self.obj.api, dn)
[Tue Aug 03 12:22:03.127197 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipaserver/plugins/idviews.py", line 700,
in remove_ipaobject_overrides
[Tue Aug 03 12:22:03.127202 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     object_uuid =
entry.single_value['ipaUniqueID']
[Tue Aug 03 12:22:03.127207 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 639, in
__getitem__
[Tue Aug 03 12:22:03.127212 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     value = self._entry[name]
[Tue Aug 03 12:22:03.127217 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 514, in
__getitem__
[Tue Aug 03 12:22:03.127222 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     return
self._get_nice(name)
[Tue Aug 03 12:22:03.127227 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 481, in
_get_nice
[Tue Aug 03 12:22:03.127233 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     name =
self._get_attr_name(name)
[Tue Aug 03 12:22:03.127237 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipapython/ipaldap.py", line 477, in
_get_attr_name
[Tue Aug 03 12:22:03.127243 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     name = self._names[name]
[Tue Aug 03 12:22:03.127248 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]   File
"/usr/lib/python3.6/site-packages/ipapython/ipautil.py", line 656, in
__getitem__
[Tue Aug 03 12:22:03.127276 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]     return super(CIDict,
self).__getitem__(key.lower())
[Tue Aug 03 12:22:03.127295 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894] KeyError: 'ipauniqueid'
[Tue Aug 03 12:22:03.127309 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894]
[Tue Aug 03 12:22:03.127736 2021] [wsgi:error] [pid 69338:tid
139855208355584] [remote 10.100.120.13:34894] ipa: INFO:
[jsonserver_session] ad...@i.tech-lab.io: user_del/1(['tet'],
version='2.240'): InternalError



-- 
Tiemen Ruiten
Infrastructure Engineer
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to