[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-11-17 Thread Serge Hallyn
I was wrong!  In fact using nfs in place of nfs4 does work on lucid.

So I believe this can all be blamed on nfs4 failure on lucid through
oneiric.

** Summary changed:

- NFS automount using replicated servers doesn't work
+ NFS4 automount using replicated servers doesn't work

** Changed in: autofs5 (Ubuntu)
 Assignee: Serge Hallyn (serge-hallyn) => (unassigned)

** Changed in: autofs5 (Ubuntu)
   Status: New => Fix Released

** Also affects: nfs-utils (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: nfs-utils (Ubuntu)
   Importance: Undecided => Medium

** Description changed:

  Binary package hint: autofs5
+ 
+ [ updated description: mount -t nfs4 server:/mnt /mnt fails through
+ oneiric with -ENODEV from mount.nfs4 ]
  
  In lucid, using autofs5 version 5.0.4-3.1ubuntu5, we are having trouble
  using failover with NFS.  Autofs allows you to specify multiple hosts
  with weighting in its configuration files and will fall back to a
  secondary host if the first host is not available at mount time.
  However, currently on our systems, the mount fails completely.  This
  functionality does work with our RHEL 5 hosts (which use autofs 5.0.1).
  Automounting from a single host does work, but when we supply multiple
  hosts, an strace shows that it's trying to connect to the IP address
  '0.0.0.0', port 0, rather than any of the hosts we specify.
  
  I have attached the full strace output, our /etc/auto.master file, and
  the relevant file from /etc/autofs.d including the multiple hosts.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS4 automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-11-17 Thread Serge Hallyn
On natty, I don't get the 'connect(0.0.0.0)'.  However, the mounts still
fail, and this time it is a bug in nfs.  Even on an oneiric host, if I
do

   mount -t nfs server:/mnt /mnt

I get back ENODEV from mount.nfs4.

On natty, if I switch /etc/auto.mnt to use nfs instead of nfs4, it
succeeds.  I need to retry whether that works there, though I doubt it
will.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-11-17 Thread Serge Hallyn
Reproduced on lucid (with -updates as well as with -proposed)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-11-17 Thread Serge Hallyn
Cannot reproduce this on precise, at least (which has the same autofs
version as oneiric).

I used 3 hosts.  Two had nfs-server installed, one had autofs4 and nfs-
client.  The two nfs servers had a file /mnt/whoami ('master1' on one
and 'master2' on the other) and in /etc/exports had

 /mnt 10.55.60.39(ro)

I first verified that I could mount this on the client by hand.  Then,
on the client, I created a /srv/mnt directory,  /etc/auto.master with:

/-  /etc/auto.mnt  --timeout=600

and /etc/auto.mnt with:

/srv/mnt-fstype=nfs4,proto=tcp,soft,intr,rsize=8192,wsize=8192
10.55.60.33(1),10.55.60.59(5):/mnt

restarted autofs.  Then 'cat /srv/mnt/whoami' on the client showed
'master1'.  Unmounted /srv/mnt on the client, and did 'service nfs-
kernel-server stop' on master1.  Then 'cat /srv/mnt/whoami' on the
client showed 'master2'.

Will try on lucid next.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-11-17 Thread Serge Hallyn
** Changed in: autofs5 (Ubuntu)
 Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-10-26 Thread Dave Walker
This needs to be reproduced and determined if it is resolved on the
current development version.

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/607039/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 607039] Re: NFS automount using replicated servers doesn't work

2011-02-22 Thread Dern
I changed the title of this bug report from

   NFS automount failover doesn't work
to
   NFS automount using replicated servers doesn't work

as I believe it better reflects the problem and saying 'failover' in
combination with may put of the maintainers as autofs isn't supposed to
do real faillover (yet.  correct me if I'm wrong).

Anyway, just trying to increase the chances of somebody actually
noticing this bug report and doing something about it :-)

Nico

** Summary changed:

- NFS automount failover doesn't work
+ NFS automount using replicated servers doesn't work

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in ubuntu.
https://bugs.launchpad.net/bugs/607039

Title:
  NFS automount using replicated servers doesn't work

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs