Hide Forgot
Description of problem: Test autofs hosts map, happen this error: ls: cannot access /net/hp-dl380pgen8-02-vm-7.lab.bos.redhat.com/tmp: No such file or directory The debug log: Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write failed Bad file descriptor Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write failed Bad file descriptor Nov 17 05:36:48 hp-dl380pgen8-02-vm-7 rpc.mountd[13565]: Caught signal 15, un-registering and exiting. Version-Release number of selected component (if applicable): 2.6.32-671.el6.x86_64 How reproducible: 100%, but only first time boot from installing system can reproduce. Steps to Reproduce: 1. reproducer script: echo "/ *(rw,insecure,async)" >/etc/exports echo "/tmp *(rw,insecure,async)" >> /etc/exports echo "/net -hosts" > /etc/auto.master service autofs start service nfs start ls /net/$HOSTNAME/tmp service autofs stop service nfs stop Actual results: auto mount nfs fail Expected results: auto mount nfs successfully Additional info:
Sorry, Version-Release number of selected component is autofs-5.0.5-126.el6
I'll try and reproduce this and see if I can see what's going on. But rpc.mountd getting a SIGTERM and exiting, likely in middle of servicing a request from automount(8) is a bit suspicious.
(In reply to xiaoli feng from comment #0) > Description of problem: > Test autofs hosts map, happen this error: > > ls: cannot access /net/hp-dl380pgen8-02-vm-7.lab.bos.redhat.com/tmp: No such > file or directory > > The debug log: > > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: > assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write > failed Bad file descriptor > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: > assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write > failed Bad file descriptor > Nov 17 05:36:48 hp-dl380pgen8-02-vm-7 rpc.mountd[13565]: Caught signal 15, > un-registering and exiting. This looks like it is being done on the same host. Is that correct? Can you re-run this test and post the autofs debug log please? Ian
(In reply to Ian Kent from comment #5) > (In reply to xiaoli feng from comment #0) > > Description of problem: > > Test autofs hosts map, happen this error: > > > > ls: cannot access /net/hp-dl380pgen8-02-vm-7.lab.bos.redhat.com/tmp: No such > > file or directory > > > > The debug log: > > > > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: > > assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE > > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write > > failed Bad file descriptor > > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: state.c:627: > > assertion failed: ap->state == ST_READY || ap->state == ST_EXPIRE > > Nov 17 05:35:33 hp-dl380pgen8-02-vm-7 automount[13638]: nextstate:85: write > > failed Bad file descriptor > > Nov 17 05:36:48 hp-dl380pgen8-02-vm-7 rpc.mountd[13565]: Caught signal 15, > > un-registering and exiting. > > This looks like it is being done on the same host. > Is that correct? Yes, on the same host. This test only use one host. > > Can you re-run this test and post the autofs debug log please? > > Ian