Bug 1057934
| Summary: | NFS access failures and hang up from fast mounting | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | JianHong Yin <jiyin> | |
| Component: | autofs | Assignee: | Ian Kent <ikent> | |
| Status: | CLOSED DUPLICATE | QA Contact: | Filesystem QE <fs-qe> | |
| Severity: | high | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.0 | CC: | bfields, jlayton, rwheeler, steved, tao | |
| Target Milestone: | rc | Keywords: | Regression, TestBlocker | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 128966 | |||
| : | 1084391 (view as bug list) | Environment: | ||
| Last Closed: | 2014-02-25 17:32:25 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: | 1063752, 1065155 | |||
| Bug Blocks: | 1084391 | |||
|
Comment 1
JianHong Yin
2014-01-26 03:40:29 UTC
Quoting from a ten year old bug is confusing to say the least. The old bug may be relevant but you haven't provided any information to support that. Or any information at all really. How about you post a full autofs debug log to start with. (In reply to Ian Kent from comment #5) > Quoting from a ten year old bug is confusing to say the least. > The old bug may be relevant but you haven't provided any > information to support that. Or any information at all really. > > How about you post a full autofs debug log to start with. OK. I has rewrite the test case, add more debug info in TESTOUTPUT. ... the result: https://beaker.engineering.redhat.com/jobs/583043 https://beaker.engineering.redhat.com/jobs/583045 The full test log: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/01/5830/583045/1209104/18806159/TESTOUT.log (In reply to Yin.JianHong from comment #7) > https://beaker.engineering.redhat.com/jobs/583045 > > The full test log: > http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/01/5830/583045/ > 1209104/18806159/TESTOUT.log This log isn't that useful. More than two thirds of it is missing. This does sound like reserved port exhaustion. You have configured the system to have 500 reserved ports usable so if reserved ports are being used by autofs or mount.nfs then you won't get 500 successful mounts, it will be some number less than that. It depends on how many reserved ports are used when each mount is done and how slowly the mounts take to complete. If mounting itself is slow you may get more mounts as the reserved ports become available for re-use after the wait timeout. There are two things we can do to get more information. First, check what MOUNT_WAIT in the autofs configuration. If it is not set to -1 then set it to -1 and re-run the test. If you get more successful mounts then perhaps autofs is using reserved ports and I can have a look at that. Second, capture the output of "netstat --inet" and check how many ports are in a TIME_WAIT state. You need to do this when mounts start failing or the TIME_WAIT may expire and we won't get a true picture of what's happening. This will tell us if we actually do have a reserved port exhaustion problem. Ian Ian If not change the /proc/sys/sunrpc/{min,max}_resvport
(use the default value), get the same result:
https://beaker.engineering.redhat.com/jobs/584051
And the test run in RHEL6 works fine:
https://beaker.engineering.redhat.com/jobs/584089
I open the rpcdebug switch: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/02/5889/588967/1220463/19039857/TESTOUT.log The /var/log/messages in latest two mount:(/test/341, /test/342) ------------------------------------------------------- Feb 7 06:50:26 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): mounted ibm-ls21-03.rhts.eng.bos.redhat.com:/export/341 on /test/341 Feb 7 06:50:26 ibm-ls21-04 automount[11844]: dev_ioctl_send_ready: token = 680 Feb 7 06:50:26 ibm-ls21-04 automount[11844]: mounted /test/341 Feb 7 06:50:26 ibm-ls21-04 kernel: [13479.816394] RPC: looking up Generic cred Feb 7 06:50:26 ibm-ls21-04 kernel: [13479.843039] RPC: new task initialized, procpid 12037 Feb 7 06:50:26 ibm-ls21-04 kernel: [13479.875900] RPC: allocated task ffff880228198100 Feb 7 06:50:26 ibm-ls21-04 kernel: [13479.906675] RPC: 8739 __rpc_execute flags=0x80 Feb 7 06:50:27 ibm-ls21-04 kernel: [13479.933861] RPC: 8739 call_start nfs4 proc ACCESS (sync) Feb 7 06:50:27 ibm-ls21-04 kernel: [13479.966200] RPC: 8739 call_reserve (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13479.992822] RPC: 8739 reserved req ffff880227d0ac00 xid 3dc27c3f Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.029319] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.067902] RPC: 8739 call_reserveresult (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.097646] RPC: 8739 call_refresh (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.124270] RPC: 8739 refreshing UNIX cred ffff88020f61b900 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.158160] RPC: 8739 call_refreshresult (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.187906] RPC: 8739 call_allocate (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.215040] RPC: 8739 allocated buffer of size 3228 at ffff8801182bf000 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.255186] RPC: 8739 call_bind (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.280236] RPC: 8739 call_connect xprt ffff88012968e000 is connected Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.319338] RPC: 8739 call_transmit (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.346481] RPC: 8739 xprt_prepare_transmit Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.372054] RPC: 8739 rpc_xdr_encode (status 0) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.399713] RPC: 8739 marshaling UNIX cred ffff88020f61b900 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.433611] RPC: 8739 using AUTH_UNIX cred ffff88020f61b900 to wrap rpc data Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.476351] RPC: 8739 xprt_transmit(172) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.500414] RPC: xs_tcp_send_request(172) = 172 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502607] RPC: xs_tcp_data_ready... Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502608] RPC: xs_tcp_data_recv started Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502610] RPC: reading TCP record fragment of length 124 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502610] RPC: reading XID (4 bytes) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502611] RPC: reading reply for XID 3dc27c3f Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502612] RPC: reading CALL/REPLY flag (4 bytes) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502612] RPC: read reply XID 3dc27c3f Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502614] RPC: XID 3dc27c3f read 116 bytes Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502615] RPC: xprt = ffff88012968e000, tcp_copied = 124, tcp_offset = 124, tcp_reclen = 124 Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502616] RPC: 8739 xid 3dc27c3f complete (124 bytes received) Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.502619] RPC: xs_tcp_data_recv done Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.878438] RPC: 8739 xmit complete Feb 7 06:50:27 ibm-ls21-04 kernel: [13480.899881] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:28 ibm-ls21-04 kernel: [13480.938440] RPC: 8739 call_status (status 124) Feb 7 06:50:28 ibm-ls21-04 kernel: [13480.965578] RPC: 8739 call_decode (status 124) Feb 7 06:50:28 ibm-ls21-04 kernel: [13480.992718] RPC: 8739 validating UNIX cred ffff88020f61b900 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.026627] RPC: 8739 using AUTH_UNIX cred ffff88020f61b900 to unwrap rpc data Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.070401] RPC: 8739 call_decode result 0 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.095452] RPC: wake_up_first(ffff8802172d2a98 "NFSv4.0 transport Slot table") Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.142351] RPC: 8739 return 0, status 0 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.166367] RPC: 8739 release task Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.187270] RPC: freeing buffer of size 3228 at ffff8801182bf000 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.226368] RPC: 8739 release request ffff880227d0ac00 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.257665] RPC: wake_up_first(ffff88012968e320 "xprt_backlog") Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.296241] RPC: rpc_release_client(ffff8801276d1800) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.329623] RPC: 8739 freeing task Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.350556] RPC: looking up Generic cred Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.377160] RPC: new task initialized, procpid 12037 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.410018] RPC: allocated task ffff880228198000 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.440784] RPC: 8740 __rpc_execute flags=0x80 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.467968] RPC: 8740 call_start nfs4 proc GETATTR (sync) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.500826] RPC: 8740 call_reserve (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.527443] RPC: 8740 reserved req ffff880227d0ac00 xid 3ec27c3f Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.563943] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.602519] RPC: 8740 call_reserveresult (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.632259] RPC: 8740 call_refresh (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.658879] RPC: 8740 looking up UNIX cred Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.683941] RPC: looking up UNIX cred Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.709016] RPC: 8740 refreshing UNIX cred ffff88020f61b900 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.742895] RPC: 8740 call_refreshresult (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.772636] RPC: 8740 call_allocate (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.799777] RPC: 8740 allocated buffer of size 3228 at ffff88011919d000 Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.839912] RPC: 8740 call_bind (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.864971] RPC: 8740 call_connect xprt ffff88012968e000 is connected Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.904280] RPC: 8740 call_transmit (status 0) Feb 7 06:50:28 ibm-ls21-04 kernel: [13481.931417] RPC: 8740 xprt_prepare_transmit Feb 7 06:50:29 ibm-ls21-04 kernel: [13481.957016] RPC: 8740 rpc_xdr_encode (status 0) Feb 7 06:50:29 ibm-ls21-04 kernel: [13481.984654] RPC: 8740 marshaling UNIX cred ffff88020f61b900 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.018554] RPC: 8740 using AUTH_UNIX cred ffff88020f61b900 to wrap rpc data Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.061290] RPC: 8740 xprt_transmit(164) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085320] RPC: xs_tcp_send_request(164) = 164 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085552] RPC: xs_tcp_data_ready... Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085554] RPC: xs_tcp_data_recv started Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085556] RPC: reading TCP record fragment of length 188 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085556] RPC: reading XID (4 bytes) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085558] RPC: reading reply for XID 3ec27c3f Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085558] RPC: reading CALL/REPLY flag (4 bytes) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085559] RPC: read reply XID 3ec27c3f Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085561] RPC: XID 3ec27c3f read 180 bytes Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085562] RPC: xprt = ffff88012968e000, tcp_copied = 188, tcp_offset = 188, tcp_reclen = 188 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085564] RPC: 8740 xid 3ec27c3f complete (188 bytes received) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.085567] RPC: xs_tcp_data_recv done Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.462936] RPC: 8740 xmit complete Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.484337] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.522911] RPC: 8740 call_status (status 188) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.550048] RPC: 8740 call_decode (status 188) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.577203] RPC: 8740 validating UNIX cred ffff88020f61b900 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.611090] RPC: 8740 using AUTH_UNIX cred ffff88020f61b900 to unwrap rpc data Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.654869] RPC: 8740 call_decode result 0 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.679923] RPC: wake_up_first(ffff8802172d2a98 "NFSv4.0 transport Slot table") Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.726827] RPC: 8740 return 0, status 0 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.750843] RPC: 8740 release task Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.771752] RPC: freeing buffer of size 3228 at ffff88011919d000 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.810840] RPC: 8740 release request ffff880227d0ac00 Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.842138] RPC: wake_up_first(ffff88012968e320 "xprt_backlog") Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.880722] RPC: rpc_release_client(ffff8801276d1800) Feb 7 06:50:29 ibm-ls21-04 kernel: [13482.914333] RPC: 8740 freeing task Feb 7 06:50:30 ibm-ls21-04 kernel: [13482.935270] RPC: new task initialized, procpid 12037 Feb 7 06:50:30 ibm-ls21-04 kernel: [13482.968123] RPC: allocated task ffff88012993bc00 Feb 7 06:50:30 ibm-ls21-04 kernel: [13482.998892] RPC: 8741 __rpc_execute flags=0x80 Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.026085] RPC: 8741 call_start nfs4 proc READDIR (sync) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.058934] RPC: 8741 call_reserve (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.085563] RPC: 8741 reserved req ffff880227d0ac00 xid 3fc27c3f Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.122058] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.160633] RPC: 8741 call_reserveresult (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.190372] RPC: 8741 call_refresh (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.216996] RPC: 8741 refreshing UNIX cred ffff88020f61b900 Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.250893] RPC: 8741 call_refreshresult (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.280629] RPC: 8741 call_allocate (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.307770] RPC: 8741 allocated buffer of size 7400 at ffff880129b4c000 Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.347920] RPC: 8741 call_bind (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.372967] RPC: 8741 call_connect xprt ffff88012968e000 is connected Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.412071] RPC: 8741 call_transmit (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.439204] RPC: 8741 xprt_prepare_transmit Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.464785] RPC: 8741 rpc_xdr_encode (status 0) Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.492443] RPC: 8741 marshaling UNIX cred ffff88020f61b900 Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.526342] RPC: 8741 using AUTH_UNIX cred ffff88020f61b900 to wrap rpc data Feb 7 06:50:30 ibm-ls21-04 kernel: [13483.569080] RPC: 8741 xprt_transmit(188) Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593143] RPC: xs_tcp_send_request(188) = 188 Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593366] RPC: xs_tcp_data_ready... Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593368] RPC: xs_tcp_data_recv started Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593369] RPC: reading TCP record fragment of length 68 Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593370] RPC: reading XID (4 bytes) Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593371] RPC: reading reply for XID 3fc27c3f Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593371] RPC: reading CALL/REPLY flag (4 bytes) Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593372] RPC: read reply XID 3fc27c3f Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593373] RPC: XID 3fc27c3f read 60 bytes Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593374] RPC: xprt = ffff88012968e000, tcp_copied = 68, tcp_offset = 68, tcp_reclen = 68 Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593375] RPC: 8741 xid 3fc27c3f complete (68 bytes received) Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.593379] RPC: xs_tcp_data_recv done Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.967890] RPC: 8741 xmit complete Feb 7 06:50:31 ibm-ls21-04 kernel: [13483.989348] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.027904] RPC: 8741 call_status (status 68) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.054516] RPC: 8741 call_decode (status 68) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.081134] RPC: 8741 validating UNIX cred ffff88020f61b900 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.115041] RPC: 8741 using AUTH_UNIX cred ffff88020f61b900 to unwrap rpc data Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.158828] RPC: 8741 call_decode result 8 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.183868] RPC: wake_up_first(ffff8802172d2a98 "NFSv4.0 transport Slot table") Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.230778] RPC: 8741 return 0, status 8 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.254781] RPC: 8741 release task Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.275683] RPC: freeing buffer of size 7400 at ffff880129b4c000 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.314777] RPC: 8741 release request ffff880227d0ac00 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.346074] RPC: wake_up_first(ffff88012968e320 "xprt_backlog") Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.384653] RPC: rpc_release_client(ffff8801276d1800) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.418033] RPC: 8741 freeing task Feb 7 06:50:31 ibm-ls21-04 automount[11844]: handle_packet: type = 3 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: handle_packet_missing_indirect: token 683, name 342, request pid 12575 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: attempting to mount entry /test/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: lookup_mount: lookup(file): looking up 342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: lookup_mount: lookup(file): 342 -> ibm-ls21-03.rhts.eng.bos.redhat.com:/export/& Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): expanded entry: ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): gathered options: Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): dequote("ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342") -> ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): core of entry: options=, loc=ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: sun_mount: parse(sun): mounting root /test, mountpoint 342, what ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342, fstype nfs, options (null) Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): root=/test name=342 what=ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342, fstype=nfs, options=(null) Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: called with host ibm-ls21-03.rhts.eng.bos.redhat.com(10.16.67.13) proto 6 version 0x40 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: nfs v4 rpc ping time: 0.000163 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: host ibm-ls21-03.rhts.eng.bos.redhat.com cost 163 weight 0 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: prune_host_list: selected subset of hosts that support NFS4 over TCP Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): calling mkdir_path /test/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): calling mount -t nfs ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 /test/342 Feb 7 06:50:31 ibm-ls21-04 automount[11844]: spawn_mount: mtab link detected, passing -n to mount Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.586291] RPC: creating nfs client for ibm-ls21-03.rhts.eng.bos.redhat.com (xprt ffff88012968e000) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.644487] RPC: creating UNIX authenticator for client ffff880118f3f000 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.687765] RPC: creating GSS authenticator for client ffff8801293cdc00 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.730571] RPC: new task initialized, procpid 12579 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.763410] RPC: allocated task ffff8802290c9000 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.794192] RPC: 8742 __rpc_execute flags=0x80 Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.821363] RPC: 8742 call_start nfs4 proc LOOKUP_ROOT (sync) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.856263] RPC: 8742 call_reserve (status 0) Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.882883] RPC: 8742 reserved req ffff880227d0ac00 xid 40c27c3f Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.919383] RPC: wake_up_first(ffff88012968e190 "xprt_sending") Feb 7 06:50:32 ibm-ls21-04 kernel: [13484.957958] RPC: 8742 call_reserveresult (status 0) Feb 7 06:50:32 ibm-ls21-04 kernel: [13484.987691] RPC: 8742 call_refresh (status 0) Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.014314] RPC: 8742 looking up RPCSEC_GSS cred Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.042489] RPC: looking up RPCSEC_GSS cred Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.070669] RPC: gss_create_cred for uid 0, flavor 390005 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.106287] RPC: gss_create_upcall for uid 0 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.134988] RPC: AUTH_GSS upcall failed. Please check user daemon is running. Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.177718] RPC: 8742 call_refreshresult (status -13) Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.208497] RPC: 8742 call_refreshresult: refresh creds failed with error -13 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.251757] RPC: 8742 return 0, status -13 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.276813] RPC: 8742 release task Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.297718] RPC: 8742 release request ffff880227d0ac00 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.329016] RPC: wake_up_first(ffff88012968e320 "xprt_backlog") Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.367590] RPC: rpc_release_client(ffff880118f3f000) Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.400968] RPC: 8742 freeing task Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.421867] RPC: creating GSS authenticator for client ffff8801293cdc00 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.464609] RPC: destroying GSS authenticator ffff8801193b6798 flavor 390005 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.509954] RPC: new task initialized, procpid 12579 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.542798] RPC: allocated task ffff8802290c9000 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.573583] RPC: 8743 __rpc_execute flags=0x80 Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.600726] RPC: 8743 sleep_on(queue "NFSv4.0 transport Slot table" time 4308152897) Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.647622] RPC: 8743 added to queue ffff8802172d2a98 "NFSv4.0 transport Slot table" Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.694513] RPC: 8743 sync task going to sleep Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.728035] RPC: gss_free_cred cred=ffff8802286746c0 Feb 7 06:50:47 ibm-ls21-04 logger: 2014-02-07 06:50:47 /usr/bin/rhts-test-runner.sh 30087 13500 hearbeat... (In reply to Yin.JianHong from comment #17) > I open the rpcdebug switch: > > http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/02/5889/588967/ > 1220463/19039857/TESTOUT.log > > The /var/log/messages in latest two mount:(/test/341, /test/342) > ------------------------------------------------------- snip ... > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: handle_packet: type = 3 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: > handle_packet_missing_indirect: token 683, name 342, request pid 12575 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: attempting to mount entry > /test/342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: lookup_mount: lookup(file): > looking up 342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: lookup_mount: lookup(file): > 342 -> ibm-ls21-03.rhts.eng.bos.redhat.com:/export/& > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): > expanded entry: ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): > gathered options: > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): > dequote("ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342") -> > ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: parse_mount: parse(sun): core > of entry: options=, loc=ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: sun_mount: parse(sun): > mounting root /test, mountpoint 342, what > ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342, fstype nfs, options (null) > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): > root=/test name=342 what=ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342, > fstype=nfs, options=(null) > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: called with host > ibm-ls21-03.rhts.eng.bos.redhat.com(10.16.67.13) proto 6 version 0x40 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: nfs v4 rpc ping > time: 0.000163 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: get_nfs_info: host > ibm-ls21-03.rhts.eng.bos.redhat.com cost 163 weight 0 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: prune_host_list: selected > subset of hosts that support NFS4 over TCP > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): > calling mkdir_path /test/342 > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: mount_mount: mount(nfs): > calling mount -t nfs ibm-ls21-03.rhts.eng.bos.redhat.com:/export/342 > /test/342 Mount command, no GSS auth in that ... > Feb 7 06:50:31 ibm-ls21-04 automount[11844]: spawn_mount: mtab link > detected, passing -n to mount > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.586291] RPC: creating nfs > client for ibm-ls21-03.rhts.eng.bos.redhat.com (xprt ffff88012968e000) > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.644487] RPC: creating UNIX > authenticator for client ffff880118f3f000 > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.687765] RPC: creating GSS > authenticator for client ffff8801293cdc00 So why is this happening .... > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.730571] RPC: new task > initialized, procpid 12579 > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.763410] RPC: allocated task > ffff8802290c9000 > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.794192] RPC: 8742 __rpc_execute > flags=0x80 > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.821363] RPC: 8742 call_start > nfs4 proc LOOKUP_ROOT (sync) > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.856263] RPC: 8742 call_reserve > (status 0) > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.882883] RPC: 8742 reserved req > ffff880227d0ac00 xid 40c27c3f > Feb 7 06:50:31 ibm-ls21-04 kernel: [13484.919383] RPC: > wake_up_first(ffff88012968e190 "xprt_sending") > Feb 7 06:50:32 ibm-ls21-04 kernel: [13484.957958] RPC: 8742 > call_reserveresult (status 0) > Feb 7 06:50:32 ibm-ls21-04 kernel: [13484.987691] RPC: 8742 call_refresh > (status 0) > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.014314] RPC: 8742 looking up > RPCSEC_GSS cred > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.042489] RPC: looking up > RPCSEC_GSS cred > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.070669] RPC: > gss_create_cred for uid 0, flavor 390005 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.106287] RPC: > gss_create_upcall for uid 0 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.134988] RPC: AUTH_GSS upcall > failed. Please check user daemon is running. Ummm .... no surprise there since GSS isn't being used or asked for so it's probably not set up. > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.177718] RPC: 8742 > call_refreshresult (status -13) > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.208497] RPC: 8742 > call_refreshresult: refresh creds failed with error -13 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.251757] RPC: 8742 return 0, > status -13 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.276813] RPC: 8742 release task > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.297718] RPC: 8742 release > request ffff880227d0ac00 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.329016] RPC: > wake_up_first(ffff88012968e320 "xprt_backlog") > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.367590] RPC: > rpc_release_client(ffff880118f3f000) > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.400968] RPC: 8742 freeing task > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.421867] RPC: creating GSS > authenticator for client ffff8801293cdc00 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.464609] RPC: destroying GSS > authenticator ffff8801193b6798 flavor 390005 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.509954] RPC: new task > initialized, procpid 12579 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.542798] RPC: allocated task > ffff8802290c9000 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.573583] RPC: 8743 __rpc_execute > flags=0x80 > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.600726] RPC: 8743 sleep_on(queue > "NFSv4.0 transport Slot table" time 4308152897) Mmmm ... added to a wait queue ... but waiting for what! Is it this that waits forever? Why is the wait not abandoned when the mount process is terminated? > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.647622] RPC: 8743 added to queue > ffff8802172d2a98 "NFSv4.0 transport Slot table" > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.694513] RPC: 8743 sync task > going to sleep > Feb 7 06:50:32 ibm-ls21-04 kernel: [13485.728035] RPC: gss_free_cred > cred=ffff8802286746c0 > Feb 7 06:50:47 ibm-ls21-04 logger: 2014-02-07 06:50:47 > /usr/bin/rhts-test-runner.sh 30087 13500 hearbeat... Help me out here folks .... Ian I create a new nfs test case: reproduce this bug: /CoreOS/nfs-utils/Regression/fast-mount https://beaker.engineering.redhat.com/jobs/590762 So this is not an autofs bug, instead nfs-kernel or nfs-utils. Please reopen if this is not a duplicate. *** This bug has been marked as a duplicate of bug 1063752 *** |