Bug 846320
Summary: | Autofs needs port 111 open even for NFS4 mounts. (regression since 6.2) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rik Theys <rik.theys> |
Component: | autofs | Assignee: | Ian Kent <ikent> |
Status: | CLOSED DUPLICATE | QA Contact: | yanfu,wang <yanwang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | AmandaOralie812, berrange, Bert.Deknuydt, dgilbert, fradisel, ikent, ljglmail, Per.t.Sjoholm, rik.theys, uckelman, yanwang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 828265 | Environment: | |
Last Closed: | 2012-09-06 01:42:12 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: |
Description
Rik Theys
2012-08-07 13:12:00 UTC
If the mount options specify nfs4 as the mount type, it should do an NFSv4 no-op instead of trying to contact the portmapper service. NFSv4 doesn't need the portmapper/rpcbind service open in the firewall. Here's the autofs debug output from a failed mount. It seems to indicate no hosts are available, although the host is definitely up but has tcp/rpcbind firewalled. Aug 7 14:33:17 vierre64 automount[22292]: handle_packet: type = 3 Aug 7 14:33:17 vierre64 automount[22292]: handle_packet_missing_indirect: token 8076, name donovan, request pid 22345 Aug 7 14:33:17 vierre64 automount[22292]: attempting to mount entry /esat/donovan Aug 7 14:33:17 vierre64 automount[22292]: lookup_mount: lookup(ldap): looking up donovan Aug 7 14:33:17 vierre64 automount[22292]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) Aug 7 14:33:17 vierre64 automount[22292]: do_bind: lookup(ldap): ldap simple bind returned 0 Aug 7 14:33:17 vierre64 automount[22292]: lookup_one: lookup(ldap): searching for "(&(objectclass=nisObject)(|(cn=donovan)(cn=/)(cn=\2A)))" under "nisMapName=auto.net,ou=Automount,dc=esat,dc=kuleuven,dc=be" Aug 7 14:33:17 vierre64 automount[22292]: lookup_one: lookup(ldap): getting first entry for cn="donovan" Aug 7 14:33:17 vierre64 automount[22292]: lookup_one: lookup(ldap): examining first entry Aug 7 14:33:17 vierre64 automount[22292]: validate_string_len: lookup(ldap): string donovan encoded as donovan Aug 7 14:33:17 vierre64 automount[22292]: lookup_mount: lookup(ldap): donovan -> -fstype=nfs4,nodev,nosuid,intr donovan:/ Aug 7 14:33:17 vierre64 automount[22292]: parse_mount: parse(sun): expanded entry: -fstype=nfs4,nodev,nosuid,intr donovan:/ Aug 7 14:33:17 vierre64 automount[22292]: parse_mount: parse(sun): gathered options: nosymlink,fstype=nfs4,nodev,nosuid,intr Aug 7 14:33:17 vierre64 automount[22292]: parse_mount: parse(sun): dequote("donovan:/") -> donovan:/ Aug 7 14:33:17 vierre64 automount[22292]: parse_mount: parse(sun): core of entry: options=nosymlink,fstype=nfs4,nodev,nosuid,intr, loc=donovan:/ Aug 7 14:33:17 vierre64 automount[22292]: sun_mount: parse(sun): mounting root /esat, mountpoint donovan, what donovan:/, fstype nfs4, options nosymlink,nodev,nosuid,intr Aug 7 14:33:17 vierre64 automount[22292]: mount_mount: mount(nfs): root=/esat name=donovan what=donovan:/, fstype=nfs4, options=nosymlink,nodev,nosuid,intr Aug 7 14:33:17 vierre64 automount[22292]: mount_mount: mount(nfs): nfs options="nodev,nosuid,intr", nosymlink=1, ro=0 Aug 7 14:33:17 vierre64 automount[22292]: get_nfs_info: called with host donovan(10.33.133.6) proto tcp version 0x40 Aug 7 14:33:17 vierre64 automount[22292]: get_nfs_info: nfs v4 rpc ping time: 0.000193 Aug 7 14:33:17 vierre64 automount[22292]: get_nfs_info: host donovan cost 193 weight 0 Aug 7 14:33:17 vierre64 automount[22292]: mount(nfs): no hosts available Aug 7 14:33:17 vierre64 automount[22292]: dev_ioctl_send_fail: token = 8076 Aug 7 14:33:17 vierre64 automount[22292]: failed to mount /esat/donovan Aug 7 14:33:17 vierre64 automount[22292]: handle_packet: type = 3 Aug 7 14:33:17 vierre64 automount[22292]: handle_packet_missing_indirect: token 8077, name donovan, request pid 22345 Aug 7 14:33:17 vierre64 automount[22292]: attempting to mount entry /esat/donovan Aug 7 14:33:17 vierre64 automount[22292]: lookup_mount: lookup(ldap): looking up donovan Aug 7 14:33:17 vierre64 automount[22292]: dev_ioctl_send_fail: token = 8077 Aug 7 14:33:17 vierre64 automount[22292]: failed to mount /esat/donovan This bug was recently fixed in Fedora 17 with version 5.0.6-22. Please backport the relevant patches to the RHEL 6 autofs package. *** This bug has been marked as a duplicate of bug 834641 *** |