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.
DescriptionJenny Severance
2011-10-03 13:16:24 UTC
Description of problem:
Trying to get a list of available managed entries returns traceback.
# ipa-managed-entries -l -p <dm_password>
Traceback (most recent call last):
File "/usr/sbin/ipa-managed-entries", line 238, in <module>
sys.exit(main())
File "/usr/sbin/ipa-managed-entries", line 126, in main
managed_entry_definitions_dn, ldap.SCOPE_SUBTREE, filter
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner
return f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 516, in search_s
return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner
return f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 510, in search_ext_s
return self.result(msgid,all=1,timeout=timeout)[1]
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 181, in inner
objtype, data = f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 436, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner
return f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 440, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner
return f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 446, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner
return f(*args, **kargs)
File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 96, in _ldap_call
result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'matched': 'cn=etc,dc=testrelm', 'desc': 'No such object'}
Version-Release number of selected component (if applicable):
ipa-server-2.1.1-101.20111003T0058zgitaaa7c05.el6.x86_64
How reproducible:
Steps to Reproduce:
1. ipa-managed-entries -l -p <dm_password>
2.
3.
Actual results:
see description
Expected results:
list of managed entry DNs that could be enable|disable|status
Additional info:
Fixed upstream.
master: 638a9701724e4cf6cb0e11ad5a8c61b37019c797
ipa-2-2: ac7ec7909367362047bf6868fa28b8c8528c7dca
Note that this traceback occurred because there was no managed entries configuration. This may have due to a bad installation or a bad migration. To test that we catch the error message when we can find no managed entries you'd need to delete the entry cn=Definitions, cn=Managed Entries, cn=etc, $SUFFIX
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No documentation needed.
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.
http://rhn.redhat.com/errata/RHBA-2012-0819.html
Description of problem: Trying to get a list of available managed entries returns traceback. # ipa-managed-entries -l -p <dm_password> Traceback (most recent call last): File "/usr/sbin/ipa-managed-entries", line 238, in <module> sys.exit(main()) File "/usr/sbin/ipa-managed-entries", line 126, in main managed_entry_definitions_dn, ldap.SCOPE_SUBTREE, filter File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner return f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 516, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner return f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 510, in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 181, in inner objtype, data = f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 436, in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner return f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 440, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner return f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 446, in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 204, in inner return f(*args, **kargs) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) ldap.NO_SUCH_OBJECT: {'matched': 'cn=etc,dc=testrelm', 'desc': 'No such object'} Version-Release number of selected component (if applicable): ipa-server-2.1.1-101.20111003T0058zgitaaa7c05.el6.x86_64 How reproducible: Steps to Reproduce: 1. ipa-managed-entries -l -p <dm_password> 2. 3. Actual results: see description Expected results: list of managed entry DNs that could be enable|disable|status Additional info: