Bug 1414302
Summary: | gssproxy does not managing its credential cache properly | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrey Bondarenko <abondare> |
Component: | gssproxy | Assignee: | Robbie Harwood <rharwood> |
Status: | CLOSED DUPLICATE | QA Contact: | Kaleem <ksiddiqu> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | fs-qe, john.devitofranceschi, ssorce, yoyang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-27 21:13:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Comment 1
Andrey Bondarenko
2017-01-18 09:55:35 UTC
What version of gssproxy is this ? Can you provide gssproxy debug logs ? Version of gssproxy - # rpm -q gssproxy gssproxy-0.4.1-7.el7.x86_64 # gssproxy --version 0.4.1 # gssproxy -i -d Debug Enabled Client connected (fd = 11) (pid = 15559) (uid = 0) (gid = 0) (context = system_u:system_r:kernel_t:s0) Client connected (fd = 12) (pid = 2687) (uid = 0) (gid = 0) (context = system_u:system_r:gssd_t:s0) gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15559]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15559]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found It is looking for a ccache for root: ^Z[1] + Stopped gssproxy -i -d # touch /var/lib/gssproxy/clients/krb5cc_0 # fg gssproxy -i -d gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15559]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, Bad format in credentials cache Removing the root ccache: ^Z[1] + Stopped gssproxy -i -d # rm /var/lib/gssproxy/clients/krb5cc_0 # fg gssproxy -i -d gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15559]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15559]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found Most of the time, if I restart gssproxy, it will work: # gssproxy -i -d Debug Enabled Client connected (fd = 11) (pid = 15649) (uid = 0) (gid = 0) (context = system_u:system_r:kernel_t:s0) Client connected (fd = 12) (pid = 15693) (uid = 4767) (gid = 5072) (context = system_u:system_r:gssd_t:s0) gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 4767, socket: (null) gp_rpc_execute: executing 8 (GSSX_INIT_SEC_CONTEXT) for service "nfs-client", euid: 4767, socket: (null) gp_rpc_execute: executing 8 (GSSX_INIT_SEC_CONTEXT) for service "nfs-client", euid: 4767, socket: (null) For about 5 minutes or so: (5 minutes later...) Client connected (fd = 12) (pid = 2687) (uid = 0) (gid = 0) (context = system_u:system_r:gssd_t:s0) gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15649]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15649]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found gp_rpc_execute: executing 6 (GSSX_ACQUIRE_CRED) for service "nfs-client", euid: 0, socket: (null) gssproxy[15649]: (OID: { 1 2 840 113554 1 2 2 }) Unspecified GSS failure. Minor code may provide more information, No credentials cache found jd By the way, in the last example pid 2687 is rpc.gssd. Subsequent testing has indicated that things work just fine as long as rpc.gssd does not connect to gssproxy as a client. Once that happens it seems to be "game over". I just noticed that our RHN server had newer versions of the gssproxy and nfs-utils packages so I updated them. Nearly immediate failures seem to have stopped. I'll test some more. Currently installed versions: # rpm -q gssproxy nfs-utils gssproxy-0.4.1-13.el7.x86_64 nfs-utils-1.3.0-0.33.el7.x86_64 Thanks John. I'll leave this bugzilla open with NEEDINFO and if the problem doesn't recur we'll close it. The new rpms seem to have done the trick. For my own peace of mind, which of the changes that are logged in the changelog fixed the problem? jd (In reply to John Devitofranceschi from comment #9) > The new rpms seem to have done the trick. For my own peace of mind, which > of the changes that are logged in the changelog fixed the problem? Almost certainly it was the fixes for making gssproxy work with 1.14 - two fixes to gssproxy interposer behavior, and one to krb5. (This was bz#1292487 according to the changelog.) Please reopen if the problem recurs. *** This bug has been marked as a duplicate of bug 1292487 *** |