Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2404.html
Description of problem: ipa-server crashing while trying to preserve admin user in WebUI Version-Release number of selected component (if applicable): ipa-server-4.2.0-12.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1.Navigate "Active users" page. 2.Select admin 3.Click delete button 4.Select preserve radio button 5.Click delete button Actual results: Internal server error pops up after clicking OK button in "operation Error" dialog Expected results: -Detailed message should be relevant to the error in "operation Error" dialog. -"Internal server error" should not occur. -If possible can "preserve" option for admin user be removed/hidden?? Additional info: Attached screenshots /var/log/httpd/error_log [Tue Oct 06 17:57:34.507251 2015] [:error] [pid 22443] ipa: INFO: [jsonserver_session] admin: user_find(u'', sizelimit=0, version=u'2.156', pkey_only=True): SUCCESS [Tue Oct 06 17:57:34.632858 2015] [:error] [pid 22443] [remote 10.70.35.158:120] mod_wsgi (pid=22443): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'. [Tue Oct 06 17:57:34.632943 2015] [:error] [pid 22443] [remote 10.70.35.158:120] Traceback (most recent call last): [Tue Oct 06 17:57:34.632983 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/share/ipa/wsgi.py", line 49, in application [Tue Oct 06 17:57:34.633097 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return api.Backend.wsgi_dispatch(environ, start_response) [Tue Oct 06 17:57:34.633112 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 258, in __call__ [Tue Oct 06 17:57:34.633447 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return self.route(environ, start_response) [Tue Oct 06 17:57:34.633460 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 270, in route [Tue Oct 06 17:57:34.633480 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return app(environ, start_response) [Tue Oct 06 17:57:34.633490 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 808, in __call__ [Tue Oct 06 17:57:34.633504 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.create_context(ccache=ipa_ccache_name) [Tue Oct 06 17:57:34.633513 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 114, in create_context [Tue Oct 06 17:57:34.633611 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.Backend.ldap2.connect(ccache=ccache) [Tue Oct 06 17:57:34.633642 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 63, in connect [Tue Oct 06 17:57:34.633665 2015] [:error] [pid 22443] [remote 10.70.35.158:120] conn = self.create_connection(*args, **kw) [Tue Oct 06 17:57:34.633688 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 149, in create_connection [Tue Oct 06 17:57:34.633835 2015] [:error] [pid 22443] [remote 10.70.35.158:120] client_controls=clientctrls) [Tue Oct 06 17:57:34.633862 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1070, in gssapi_bind [Tue Oct 06 17:57:34.634147 2015] [:error] [pid 22443] [remote 10.70.35.158:120] '', auth_tokens, server_controls, client_controls) [Tue Oct 06 17:57:34.634191 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__ [Tue Oct 06 17:57:34.634268 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.gen.throw(type, value, traceback) [Tue Oct 06 17:57:34.634294 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 983, in error_handler [Tue Oct 06 17:57:34.634316 2015] [:error] [pid 22443] [remote 10.70.35.158:120] raise errors.DatabaseError(desc=desc, info=info) [Tue Oct 06 17:57:34.634352 2015] [:error] [pid 22443] [remote 10.70.35.158:120] DatabaseError: Server is unwilling to perform: Account inactivated. Contact system administrator. [Tue Oct 06 17:57:35.223891 2015] [:error] [pid 22444] ipa: INFO: admin: batch: user_del((u'admin',), preserve=u'true'): EmptyResult [Tue Oct 06 17:57:35.224379 2015] [:error] [pid 22444] ipa: INFO: [jsonserver_session] admin: batch(({u'params': ((u'admin',), {u'preserve': u'true'}), u'method': u'user_del'},), version=u'2.156'): SUCCESS [Tue Oct 06 17:58:24.446789 2015] [:error] [pid 22443] [remote 10.70.35.158:120] mod_wsgi (pid=22443): Exception occurred processing WSGI script '/usr/share/ipa/wsgi.py'. [Tue Oct 06 17:58:24.446836 2015] [:error] [pid 22443] [remote 10.70.35.158:120] Traceback (most recent call last): [Tue Oct 06 17:58:24.446854 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/share/ipa/wsgi.py", line 49, in application [Tue Oct 06 17:58:24.446897 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return api.Backend.wsgi_dispatch(environ, start_response) [Tue Oct 06 17:58:24.446907 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 258, in __call__ [Tue Oct 06 17:58:24.446924 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return self.route(environ, start_response) [Tue Oct 06 17:58:24.446932 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 270, in route [Tue Oct 06 17:58:24.446944 2015] [:error] [pid 22443] [remote 10.70.35.158:120] return app(environ, start_response) [Tue Oct 06 17:58:24.446952 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 808, in __call__ [Tue Oct 06 17:58:24.446964 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.create_context(ccache=ipa_ccache_name) [Tue Oct 06 17:58:24.446972 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 114, in create_context [Tue Oct 06 17:58:24.446986 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.Backend.ldap2.connect(ccache=ccache) [Tue Oct 06 17:58:24.446994 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 63, in connect [Tue Oct 06 17:58:24.447007 2015] [:error] [pid 22443] [remote 10.70.35.158:120] conn = self.create_connection(*args, **kw) [Tue Oct 06 17:58:24.447014 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 149, in create_connection [Tue Oct 06 17:58:24.447028 2015] [:error] [pid 22443] [remote 10.70.35.158:120] client_controls=clientctrls) [Tue Oct 06 17:58:24.447036 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1070, in gssapi_bind [Tue Oct 06 17:58:24.447049 2015] [:error] [pid 22443] [remote 10.70.35.158:120] '', auth_tokens, server_controls, client_controls) [Tue Oct 06 17:58:24.447057 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__ [Tue Oct 06 17:58:24.447070 2015] [:error] [pid 22443] [remote 10.70.35.158:120] self.gen.throw(type, value, traceback) [Tue Oct 06 17:58:24.447089 2015] [:error] [pid 22443] [remote 10.70.35.158:120] File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 983, in error_handler [Tue Oct 06 17:58:24.447102 2015] [:error] [pid 22443] [remote 10.70.35.158:120] raise errors.DatabaseError(desc=desc, info=info) [Tue Oct 06 17:58:24.447117 2015] [:error] [pid 22443] [remote 10.70.35.158:120] DatabaseError: Server is unwilling to perform: Account inactivated. Contact system administrator. (END) - Next: for