#7139 Traceback is seen when modification is done for user from ID Views - Default Trust View Tab.
Closed: fixed 4 years ago by stsymbal. Opened 6 years ago by pvomacka.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1487564

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Install Trust with AD from cli
2. Add trusted AD user to default trust view cli
3. Enable debug=true in /etc/ipa/default.conf
4. Navigate to ID Views | Select Default trust View and select the user.
5. Click on the Refresh button on the LHS

Actual results:
[Fri Sep 01 05:43:45.892454 2017] [:error] [pid 15262] ipa: DEBUG: WSGI
wsgi_dispatch.__call__:
[Fri Sep 01 05:43:45.892730 2017] [:error] [pid 15262] ipa: DEBUG: WSGI
jsonserver_session.__call__:
[Fri Sep 01 05:43:45.969951 2017] [:error] [pid 15262] ipa: DEBUG: Created
connection context.ldap2_94339510799440
[Fri Sep 01 05:43:45.970213 2017] [:error] [pid 15262] ipa: DEBUG: WSGI
jsonserver.__call__:
[Fri Sep 01 05:43:45.970459 2017] [:error] [pid 15262] ipa: DEBUG: WSGI
WSGIExecutioner.__call__:
[Fri Sep 01 05:43:46.006398 2017] [:error] [pid 15262] ipa: DEBUG: raw:
user_show(u'aduser1@test.qe', version=u'2.228')
[Fri Sep 01 05:43:46.007161 2017] [:error] [pid 15262] ipa: DEBUG:
user_show(u'aduser1@test.qe', rights=False, all=False, raw=False,
version=u'2.228', no_members=False)
[Fri Sep 01 05:43:46.012263 2017] [:error] [pid 15262] ipa: DEBUG: retrieving
schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-TESTRELM-TEST.socket
conn=<ldap.ldapobject.SimpleLDAPObject instance at 0x55cd22e47368>
[Fri Sep 01 05:43:46.666613 2017] [:error] [pid 15262] ipa: DEBUG: WSGI
wsgi_execute PublicError: Traceback (most recent call last):
[Fri Sep 01 05:43:46.666677 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 367, in
wsgi_execute
[Fri Sep 01 05:43:46.666692 2017] [:error] [pid 15262]     result =
command(*args, **options)
[Fri Sep 01 05:43:46.666715 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 447, in __call__
[Fri Sep 01 05:43:46.666746 2017] [:error] [pid 15262]     return
self.__do_call(*args, **options)
[Fri Sep 01 05:43:46.666759 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 475, in __do_call
[Fri Sep 01 05:43:46.666771 2017] [:error] [pid 15262]     ret =
self.run(*args, **options)
[Fri Sep 01 05:43:46.666784 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 797, in run
[Fri Sep 01 05:43:46.666797 2017] [:error] [pid 15262]     return
self.execute(*args, **options)
[Fri Sep 01 05:43:46.666810 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipaserver/plugins/baseldap.py", line 1321, in
execute
[Fri Sep 01 05:43:46.666823 2017] [:error] [pid 15262]
self.obj.handle_not_found(*keys)
[Fri Sep 01 05:43:46.666836 2017] [:error] [pid 15262]   File
"/usr/lib/python2.7/site-packages/ipaserver/plugins/baseldap.py", line 759, in
handle_not_found
[Fri Sep 01 05:43:46.666857 2017] [:error] [pid 15262]     'pkey': pkey,
'oname': self.object_name,
[Fri Sep 01 05:43:46.667048 2017] [:error] [pid 15262] NotFound:
aduser1@test.qe: user not found
[Fri Sep 01 05:43:46.667063 2017] [:error] [pid 15262]
[Fri Sep 01 05:43:46.667471 2017] [:error] [pid 15262] ipa: INFO:
[jsonserver_session] admin@TESTRELM.TEST: user_show(u'aduser1@test.qe',
version=u'2.228'): NotFound

Expected results: Fix the traceback and also the error, NotFound

Additional info: The above traceback is seen even when we add UID/GID/Gecos
fields.

Metadata Update from @pvomacka:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1487564

6 years ago

Metadata Update from @pvomacka:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1487564

6 years ago

Metadata Update from @pvomacka:
- Issue assigned to pvomacka

6 years ago

Metadata Update from @pvomacka:
- Issue set to the milestone: None
- Issue tagged with: webui

6 years ago

Metadata Update from @pvoborni:
- Assignee reset
- Issue untagged with: webui
- Issue priority set to: normal
- Issue set to the milestone: FreeIPA 4.7

6 years ago

Metadata Update from @rcritten:
- Issue set to the milestone: FreeIPA 4.7.1 (was: FreeIPA 4.7)

5 years ago

FreeIPA 4.7 has been released, moving to FreeIPA 4.7.1 milestone

master:

  • 881ec5a WebUI: Fix 'user not found' traceback on user ID override details page

ipa-4-7:

  • cbb276d WebUI: Fix 'user not found' traceback on user ID override details page

ipa-4-6:

  • 5c56bb4 WebUI: Fix 'user not found' traceback on user ID override details page

Metadata Update from @stsymbal:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata