Bug 713604 - [ipa webui] enroll in Role reports internal error
Summary: [ipa webui] enroll in Role reports internal error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-15 22:05 UTC by Yi Zhang
Modified: 2015-01-04 23:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 20:17:20 UTC
Target Upstream Version:


Attachments (Terms of Use)
error dialog box shows ipa internal error (253.13 KB, image/png)
2011-06-15 22:05 UTC, Yi Zhang
no flags Details

Description Yi Zhang 2011-06-15 22:05:30 UTC
Created attachment 504951 [details]
error dialog box shows ipa internal error

Description of problem:
when enroll a group into "Role", Web UI reports internal error. Please check it out the screenshot

Version-Release number of selected component (if applicable):ipa-server-2.0.0-23.el6.i686


How reproducible:


Steps to Reproduce:
1. create a group
2. go to group editing page
3. enroll into any Role (Role is on the left side of panel)
  
Actual results:
dialog box pop up, reports internal error. 

Expected results:


Additional info:

error message in httpd/error_log

[Wed Jun 15 14:57:52 2011] [error] ipa: ERROR: non-public: ValueError: list.remove(x): x not in list
[Wed Jun 15 14:57:52 2011] [error] Traceback (most recent call last):
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 217, in wsgi_execute
[Wed Jun 15 14:57:52 2011] [error]     result = self.Command[name](*args, **options)
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 422, in __call__
[Wed Jun 15 14:57:52 2011] [error]     ret = self.run(*args, **options)
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 728, in run
[Wed Jun 15 14:57:52 2011] [error]     return self.execute(*args, **options)
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/plugins/baseldap.py", line 710, in execute
[Wed Jun 15 14:57:52 2011] [error]     dn, attrs_list, normalize=self.obj.normalize_dn
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py", line 628, in get_entry
[Wed Jun 15 14:57:52 2011] [error]     size_limit=size_limit, normalize=normalize
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/encoder.py", line 188, in new_f
[Wed Jun 15 14:57:52 2011] [error]     return f(*new_args, **kwargs)
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipalib/encoder.py", line 199, in new_f
[Wed Jun 15 14:57:52 2011] [error]     return args[0].decode(f(*args, **kwargs))
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py", line 597, in find_entries
[Wed Jun 15 14:57:52 2011] [error]     (direct, indirect) = self.get_memberof(r[0], memberof, time_limit=time_limit, size_limit=size_limit, normalize=normalize)
[Wed Jun 15 14:57:52 2011] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/plugins/ldap2.py", line 1020, in get_memberof
[Wed Jun 15 14:57:52 2011] [error]     indirect.remove(r[0].lower())
[Wed Jun 15 14:57:52 2011] [error] ValueError: list.remove(x): x not in list
[Wed Jun 15 14:57:52 2011] [error] ipa: INFO: admin.COM: group_show(u'levelone', rights=True, all=True): ValueError

Comment 2 Rob Crittenden 2011-06-16 15:03:30 UTC
Please re-retest using a daily build.

Comment 3 Jenny Severance 2011-06-21 20:17:20 UTC
This is not happening with the lastest IPA server:

]# rpm -qi ipa-server
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.0.99                            Vendor: (none)
Release     : 1.20110621T1617zgitd0af8b2.el6   Build Date: Tue 21 Jun 2011 12:29:22 PM EDT
Install Date: Tue 21 Jun 2011 02:13:13 PM EDT      Build Host: goofy-vm16.dsdev.sjc.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.0.99-1.20110621T1617zgitd0af8b2.el6.src.rpm
Size        : 3257509                          License: GPLv3+
Signature   : (none)
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server
Description :
IPA is an integrated solution to provide centrally managed Identity (machine,
user, virtual machines, groups, authentication credentials), Policy
(configuration settings, access control information) and Audit (events,
logs, analysis thereof). If you are installing an IPA server you need
to install this package (in other words, most people should NOT install
this package).


Note You need to log in before you can comment on or make changes to this bug.