#2777 Operations Error when using invalid data to add automount location
Closed: Invalid None Opened 11 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=824013 (Red Hat Enterprise Linux 6)

Description of problem:
Using invalid daat when adding and deleting an automount locations throws
Operations Error:

Add an automount location - C:
# ipa automountlocation-add C
----------------------------
Added automount location "C"
----------------------------
  Location: C

Delete it:
# ipa automountlocation-del
Location: C
ipa: ERROR: Operations error:

Verify if 'C' was deleted:
# ipa automountlocation-find
----------------------------
1 automount location matched
----------------------------
  Location: default
----------------------------
Number of entries returned 1
----------------------------

'C' is not listed...so maybe it was deleted inspite of the error. Add it again:
# ipa automountlocation-add C
ipa: ERROR: automount location with name "C" already exists


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-14.el6.x86_64

How reproducible:
always

Steps to Reproduce:
listed above

Actual results:
allows location to be added, deleted with Operations error, cannot readd

Expected results:
if data is invalid - indicate that and do not allow to be added

Additional info:
httpd/error_log:
[Tue May 22 10:34:49 2012] [error] ipa: INFO: admin@TESTRELM.COM:
automountlocation_add(u'C', all=False, raw=False, version=u'2.34'): SUCCESS
[Tue May 22 10:35:02 2012] [error] ipa: INFO: admin@TESTRELM.COM: ping():
SUCCESS
[Tue May 22 10:35:06 2012] [error] ipa: INFO: Unhandled LDAPError: {'desc':
'Operations error'}
[Tue May 22 10:35:06 2012] [error] ipa: INFO: admin@TESTRELM.COM:
automountlocation_del((u'C',), continue=False): DatabaseError
[Tue May 22 10:35:21 2012] [error] ipa: INFO: admin@TESTRELM.COM: ping():
SUCCESS
[Tue May 22 10:35:23 2012] [error] ipa: INFO: admin@TESTRELM.COM:
automountlocation_find(None, all=False, raw=False, version=u'2.34',
pkey_only=False): SUCCESS
[Tue May 22 10:39:04 2012] [error] ipa: INFO: admin@TESTRELM.COM: ping():
SUCCESS

dirsrv/errors:
22/May/2012:10:48:43 -0400] slapd_ldap_sasl_interactive_bind - Error: could not
perform interactive bind for id [] mech [GSSAPI]: LDAP error 49 (Invalid
credentials) (SASL(-13): authentication failure: GSSAPI Failure:
gss_accept_sec_context) errno 0 (Success)
[22/May/2012:10:48:43 -0400] slapi_ldap_bind - Error: could not perform
interactive bind for id [] mech [GSSAPI]: error 49 (Invalid credentials)

Moving my tickets back to free-to-take pool.

This looks as an intermittent error I was no longer able to reproduce with current FreeIPA/IdM versions:

# ipa automountlocation-add C
----------------------------
Added automount location "C"
----------------------------
  Location: C

# ipa automountlocation-del
Location: C
------------------------------
Deleted automount location "C"
------------------------------

If you still reproduce the issue with current FreeIPA/IdM versions, please feel free to reopen the bug.

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Login to comment on this ticket.

Metadata