Bug 692469
Summary: | Replica install fails after step for "enable GSSAPI for replication" | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Namita Soman <nsoman> | |
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> | |
Status: | CLOSED ERRATA | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.1 | CC: | dpal, jgalipea, mgregg, rcritten, yzhang | |
Target Milestone: | rc | Keywords: | screened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | ds-replication-1.2.8-0.10.rc5.el6 | Doc Type: | Bug Fix | |
Doc Text: |
when installing a replica (using the ipa-replica-install command), GSSAPI errors similar to the following might be returned:
[07/Apr/2011:10:46:23 -0400] slapi_ldap_bind - Error: could not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error)
[07/Apr/2011:10:46:23 -0400] NSMMReplicationPlugin - agmt="cn=meToipaqa64vmb.testrelm" (ipaqa64vmb:389): Replication bind with GSSAPI auth failed: LDAP error -2 (Local error) (SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_496' not found))
These messages can be safely ignored.
|
Story Points: | --- | |
Clone Of: | ||||
: | 692937 694571 (view as bug list) | Environment: | ||
Last Closed: | 2011-05-19 14:41:28 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 692937 | |||
Bug Blocks: | 694571, 702988 | |||
Attachments: |
Description
Namita Soman
2011-03-31 12:22:34 UTC
Created attachment 489057 [details]
Replica Install Log
Can you see if there are any logged errors in /var/log/dirsrv/slapd-TESTRELM/errors? Created attachment 489183 [details]
tail of /var/log/dirsrv/slapd-TESTRELM/errors
It is failing trying to convert the replication agreement to use SASL/GSSAPI. We ran into a similar problem when Simo first implemented this but the 389-ds team made a change to allow this. Will follow up with them. According to Rich this looks like this bug was introduced in rc2 with cc578f1 Bug 668909 - Can't modify replication agreement in some cases. To ssh://git.engineering.redhat.com/srv/git/users/rmeggins/ds.git cc42a22..8a1e5ea RHEL-6 -> RHEL-6 commit 8a1e5ea17ca9696e3cabca3fc14a066fab361309 Author: Rich Megginson <rmeggins> Date: Fri Apr 1 12:44:23 2011 -0600 Created attachment 490264 [details]
/var/log/dirsrv/slapd-TESTRELM/errors from slave machine
Tested using ds-replication-1.2.8.0-1.el6.x86_64 But the replica install hung. when ipareplica-install.log goes through this step - 2011-04-06 08:13:32,846 DEBUG [7/9]: enable GSSAPI for replication didn't see any errors in this log... but /var/log/dirsrv/slapd-TESTRELM/errors, at that time has - [06/Apr/2011:08:15:30 -0400] set_krb5_creds - Could not get initial credentials for principal [ldap/qe-blade-05.testrelm@TESTRELM] in keytab [WRFILE:/etc/krb5.keytab]: -1765328228 (Cannot contact any KDC for requested realm) [06/Apr/2011:08:15:30 -0400] slapd_ldap_sasl_interactive_bind - Error: could not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error) (SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_496' not found)) [06/Apr/2011:08:15:30 -0400] slapi_ldap_bind - Error: could not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error) [06/Apr/2011:08:15:30 -0400] - Waiting for 4 database threads to stop [06/Apr/2011:08:15:31 -0400] - All database threads now stopped and /var/log/messages also has- Apr 6 08:13:39 qe-blade-05 ns-slapd: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_496' not found) (In reply to comment #10) > Tested using ds-replication-1.2.8.0-1.el6.x86_64 > But the replica install hung. > > when ipareplica-install.log goes through this step - > 2011-04-06 08:13:32,846 DEBUG [7/9]: enable GSSAPI for replication > didn't see any errors in this log... > > but /var/log/dirsrv/slapd-TESTRELM/errors, at that time has - > [06/Apr/2011:08:15:30 -0400] set_krb5_creds - Could not get initial credentials > for principal [ldap/qe-blade-05.testrelm@TESTRELM] in keytab > [WRFILE:/etc/krb5.keytab]: -1765328228 (Cannot contact any KDC for requested > realm) > [06/Apr/2011:08:15:30 -0400] slapd_ldap_sasl_interactive_bind - Error: could > not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error) > (SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code > may provide more information (Credentials cache file '/tmp/krb5cc_496' not > found)) > [06/Apr/2011:08:15:30 -0400] slapi_ldap_bind - Error: could not perform > interactive bind for id [] mech [GSSAPI]: error -2 (Local error) > [06/Apr/2011:08:15:30 -0400] - Waiting for 4 database threads to stop > [06/Apr/2011:08:15:31 -0400] - All database threads now stopped > > and /var/log/messages also has- > Apr 6 08:13:39 qe-blade-05 ns-slapd: GSSAPI Error: Unspecified GSS failure. > Minor code may provide more information (Credentials cache file > '/tmp/krb5cc_496' not found) This is not the same error. This looks like a different bug. It looks as though the KDC is not available at this time. Created attachment 490308 [details]
new install log when using ds-replication-1.2.8-0.10.rc5.el6
The issue originally reported when opening this bug has been addressed. So marking this "verified". Opening new bug (bug 694156) to follow up on the next error thrown when installing replica. 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: During Replica installation, you may see GSSAPI errors. You can ignore these errors. <example> [07/Apr/2011:10:46:23 -0400] slapi_ldap_bind - Error: could not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error) [07/Apr/2011:10:46:23 -0400] NSMMReplicationPlugin - agmt="cn=meToipaqa64vmb.testrelm" (ipaqa64vmb:389): Replication bind with GSSAPI auth failed: LDAP error -2 (Local error) (SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_496' not found)) </example> Can you really ignore these errors? Note that MMR using SASL/GSSAPI will not work until you restart the server, then these errors will be gone. This installer restarts 389-ds at the end of installation so it should be fine. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,6 +1,6 @@ -During Replica installation, you may see GSSAPI errors. You can ignore these errors. +when installing a replica (using the ipa-replica-install command), GSSAPI errors similar to the following might be returned: -<example> [07/Apr/2011:10:46:23 -0400] slapi_ldap_bind - Error: could not perform interactive bind for id [] mech [GSSAPI]: error -2 (Local error) [07/Apr/2011:10:46:23 -0400] NSMMReplicationPlugin - agmt="cn=meToipaqa64vmb.testrelm" (ipaqa64vmb:389): Replication bind with GSSAPI auth failed: LDAP error -2 (Local error) (SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Credentials cache file '/tmp/krb5cc_496' not found)) -</example>+ +These messages can be safely ignored. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0820.html ds-replication is no longer a component of rhel. folding back to 389-ds-base. |