Hide Forgot
Description of problem: Regression fail: local net map, mount fail Version-Release number of selected component (if applicable): ------------------------------------------------ TimeInfo : 2013-11-26 14:29:25 CaseName : /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled $HOSTNAME : dhcp12-144.nay.redhat.com DistroInfo: RedHatEnterpriseWorkstation 7.0 kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux packageInfo autofs-5.0.7-32.el7.x86_64 ------------------------------------------------ How reproducible: y Steps to Reproduce: 1. ls /net/$HOSTNAME 2. 3. Actual results: ================================================================================ [14:29:31 root@ /root/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled]# ls /net/dhcp12-144.nay.redhat.com ls: cannot access /net/dhcp12-144.nay.redhat.com: No such file or directory :: [ FAIL ] :: Running 'ls /net/dhcp12-144.nay.redhat.com' (Expected 0, got 2) -------------------------------------------------------------------------------- ================================================================================ [14:29:31 root@ /root/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd-v2-disabled]# tail -n60 /var/log/messages Nov 26 14:29:28 dhcp12-144 systemd: Starting NFS Mount Daemon... Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Mount Daemon. Nov 26 14:29:29 dhcp12-144 rpc.mountd[27544]: Version 1.2.9 starting Nov 26 14:29:29 dhcp12-144 systemd: Starting NFS Server... Nov 26 14:29:29 dhcp12-144 kernel: [702719.717101] NFSD: starting 90-second grace period (net ffffffff8196b280) Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Server. Nov 26 14:29:29 dhcp12-144 systemd: Starting NFSv4 ID-name mapping daemon... Nov 26 14:29:29 dhcp12-144 systemd: Starting NFS Remote Quota Server... Nov 26 14:29:29 dhcp12-144 systemd: Started NFS Remote Quota Server. Nov 26 14:29:29 dhcp12-144 systemd: Started NFSv4 ID-name mapping daemon. Nov 26 14:29:29 dhcp12-144 systemd: Starting Automounts filesystems on demand... Nov 26 14:29:29 dhcp12-144 automount[27595]: Starting automounter version 5.0.7-32.el7, master map auto.master Nov 26 14:29:29 dhcp12-144 automount[27595]: using kernel protocol version 5.02 Nov 26 14:29:29 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master files auto.master Nov 26 14:29:29 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null) Nov 26 14:29:29 dhcp12-144 automount[27595]: spawn_mount: mtab link detected, passing -n to mount Nov 26 14:29:29 dhcp12-144 automount[27595]: spawn_umount: mtab link detected, passing -n to mount Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry /misc Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry /net Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master dir /etc/auto.master.d Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(dir): scandir: /etc/auto.master.d Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_master: lookup(file): read entry +auto.master Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master files auto.master Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null) Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_master: reading master sss auto.master Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null) Nov 26 14:29:30 dhcp12-144 automount[27595]: setautomntent: lookup(sss): setautomntent: No such file or directory Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup(file): failed to read included master map auto.master Nov 26 14:29:30 dhcp12-144 automount[27595]: master_do_mount: mounting /misc Nov 26 14:29:30 dhcp12-144 automount[27595]: automount_path_to_fifo: fifo name /run/autofs.fifo-misc Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_map: reading map file /etc/auto.misc Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null) Nov 26 14:29:30 dhcp12-144 automount[27595]: spawn_mount: mtab link detected, passing -n to mount Nov 26 14:29:30 dhcp12-144 automount[27595]: spawn_umount: mtab link detected, passing -n to mount Nov 26 14:29:30 dhcp12-144 automount[27595]: mounted indirect on /misc with timeout 300, freq 75 seconds Nov 26 14:29:30 dhcp12-144 automount[27595]: st_ready: st_ready(): state = 0 path /misc Nov 26 14:29:30 dhcp12-144 automount[27595]: master_do_mount: mounting /net Nov 26 14:29:30 dhcp12-144 automount[27595]: automount_path_to_fifo: fifo name /run/autofs.fifo-net Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_nss_read_map: reading map hosts (null) Nov 26 14:29:30 dhcp12-144 automount[27595]: parse_init: parse(sun): init gathered global options: (null) Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_map: lookup(hosts): read hosts map Nov 26 14:29:30 dhcp12-144 automount[27595]: lookup_read_map: lookup(hosts): map not browsable, update existing host entries only Nov 26 14:29:30 dhcp12-144 automount[27595]: mounted indirect on /net with timeout 300, freq 75 seconds Nov 26 14:29:30 dhcp12-144 automount[27595]: st_ready: st_ready(): state = 0 path /net Nov 26 14:29:30 dhcp12-144 systemd: Started Automounts filesystems on demand. Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet: type = 3 Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet_missing_indirect: token 2, name dhcp12-144.nay.redhat.com, request pid 27632 Nov 26 14:29:31 dhcp12-144 automount[27595]: attempting to mount entry /net/dhcp12-144.nay.redhat.com Nov 26 14:29:31 dhcp12-144 automount[27595]: lookup_mount: lookup(hosts): dhcp12-144.nay.redhat.com -> (null) Nov 26 14:29:31 dhcp12-144 automount[27595]: get_exports: lookup(hosts): fetchng export list for dhcp12-144.nay.redhat.com Nov 26 14:29:31 dhcp12-144 automount[27595]: create_client: hostname lookup failed: Name or service not known Nov 26 14:29:31 dhcp12-144 automount[27595]: create_client: hostname lookup failed: Name or service not known Nov 26 14:29:31 dhcp12-144 automount[27595]: get_exports: lookup(hosts): exports lookup failed for dhcp12-144.nay.redhat.com Nov 26 14:29:31 dhcp12-144 automount[27595]: key "dhcp12-144.nay.redhat.com" not found in map source(s). Nov 26 14:29:31 dhcp12-144 automount[27595]: dev_ioctl_send_fail: token = 2 Nov 26 14:29:31 dhcp12-144 automount[27595]: failed to mount /net/dhcp12-144.nay.redhat.com Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet: type = 3 Nov 26 14:29:31 dhcp12-144 automount[27595]: handle_packet_missing_indirect: token 3, name dhcp12-144.nay.redhat.com, request pid 27632 Nov 26 14:29:31 dhcp12-144 automount[27595]: dev_ioctl_send_fail: token = 3 -------------------------------------------------------------------------------- Expected results: normal Additional info: this issue block the bz928098 regression test.
(In reply to Yin.JianHong from comment #0) > Description of problem: > Regression fail: local net map, mount fail > > Version-Release number of selected component (if applicable): > ------------------------------------------------ > TimeInfo : 2013-11-26 14:29:25 > CaseName : > /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd- > v2-disabled > $HOSTNAME : dhcp12-144.nay.redhat.com > DistroInfo: RedHatEnterpriseWorkstation 7.0 > kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed > Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux > packageInfo > autofs-5.0.7-32.el7.x86_64 I don't understand. The package revision of the RHEL-7 errata is 35 not 32 and I believe this is fixed in that revision. Granted I have a problem with the changelog and the revision number, which claims the revision of the latest change is 36 when it's actually 35 but that's another story. Can you try the revision given in the errata please. Ian
(In reply to Ian Kent from comment #2) > (In reply to Yin.JianHong from comment #0) > > Description of problem: > > Regression fail: local net map, mount fail > > > > Version-Release number of selected component (if applicable): > > ------------------------------------------------ > > TimeInfo : 2013-11-26 14:29:25 > > CaseName : > > /CoreOS/autofs/Regression/bz918843-cannot-browse-net-on-servers-with-mountd- > > v2-disabled > > $HOSTNAME : dhcp12-144.nay.redhat.com > > DistroInfo: RedHatEnterpriseWorkstation 7.0 > > kernelInfo: Linux dhcp12-144.nay.redhat.com 3.10.0-50.el7.x86_64 #1 SMP Wed > > Nov 13 13:00:07 EST 2013 x86_64 x86_64 x86_64 GNU/Linux > > packageInfo > > autofs-5.0.7-32.el7.x86_64 > > I don't understand. > The package revision of the RHEL-7 errata is 35 not 32 and > I believe this is fixed in that revision. > > Granted I have a problem with the changelog and the revision > number, which claims the revision of the latest change is 36 > when it's actually 35 but that's another story. > > Can you try the revision given in the errata please. > > Ian Hi Ian, this is an test on latest pre RTT distro; [root@dhcp12-241 autofs]# vershow autofs- rhel-?7.*20131123 => rel-eng/RHEL-7.0-20131123.0 -> {http://download.devel.redhat.com/rel-eng/RHEL-7.0-20131123.0/compose/Server/x86_64/os/Packages} autofs-5.0.7-32.el7.x86_64.rpm I will test it with the errata package to verify your fix.
verified in autofs-5.0.7-35.el7 http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2013/11/5521/552115/1148190/17567424/TESTOUT.log same as 1029611 *** This bug has been marked as a duplicate of bug 1029611 ***