On Mon, May 25, 2020 at 3:46 AM Sebastian Berlin <sebastian.ber...@wikimedia.se> wrote: > >> ==> default: Exporting NFS shared folders... >> ==> default: Preparing to edit /etc/exports. Administrator privileges will >> be required... >> ==> default: Mounting NFS shared folders... >> The following SSH command responded with a non-zero exit status. >> Vagrant assumes that this means the command failed! >> >> mount -o vers=3,udp,noatime,rsize=32767,wsize=32767,async >> 192.168.122.1:/srv/mediawiki-vagrant /vagrant >> >> Stdout from the command: >> >> >> >> Stderr from the command: >> >> mount.nfs: mount to NFS server '192.168.122.1:/srv/mediawiki-vagrant' >> failed: RPC Error: Unable to receive > > > Running vagrant destroy -f && vagrant up doesn't help. > > The instance is "wikispeech-wiki-buster" in project "wikispeech". It's using > image debian-10.0-buster.
Looking around on wikispeech-wiki-buster.wikispeech.eqiad.wmflabs, I can see that Vagrant was able to setup the appropriate /etc/exports entry for the server side of this. We have seen some amount of instability with NFS & MediaWiki-Vagrant in the past. This time I have a hunch that the problem was the client (the LXC container that MediaWiki-Vagrant is managing) trying to mount the share before the NFS server on the hosting instance was ready. I did `vagrant ssh` to enter the container followed by `sudo mount -t nfs 192.168.122.1:/srv/mediawiki-vagrant /vagrant` and the share mounted correctly. I can't guarantee that things will work correctly following a restart of the LXC container or the hosting instance, but for now it is working. Sorry I don't have a more satisfying answer for you. Vagrant + LXC + NFS can be a bit of a pain. Bryan -- Bryan Davis Technical Engagement Wikimedia Foundation Principal Software Engineer Boise, ID USA [[m:User:BDavis_(WMF)]] irc: bd808 _______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly lab...@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud