I’m trying to build the box Zelec/manjarolinux
.
However I get this error
[folaht@pjehrsohmehj Vagrant]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
...
==> default: Deleting the machine folder
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp 192.168.121.1:/home/folaht/Vagrant /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported
It sounds like you need some tweaking on your nfs server. See below:
opened 07:59AM - 09 Apr 18 UTC
closed 08:45PM - 21 May 20 UTC
synced-folders/nfs
needs-repro
Lately me and my coworkers are sharing same problems when we try to vagrant up o… ur virtual machines. Some times is working, sometimes not (totally random behaviour). Sometimes it doesn't work for whole day and next day starts magically working again, even thought no changes where made on host machine (no update, nothing).
Maybe this has something to do with macOS version, since my coworker (which hasn't updated maxOS to high sierra), haven't faced that issue for now.
### Vagrant version
Vagrant 2.0.3
### Host operating system
macOS High Sierra
Version: 10.13.3 (17D102)
### Guest operating system
Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-143-generic x86_64)
### Vagrantfile
```ruby
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider :virtualbox do |vb|
vb.name = "myapp platform"
vb.customize ["modifyvm", :id, "--memory", 8288, "--cpus", "1"]
end
config.vm.box = "ubuntu/trusty64"
config.vm.hostname = "myapp-dev"
config.vm.synced_folder "/Users/<username>/workspace/myapp", "/home/vagrant", create: true, type: "nfs", nfs_udp: false
config.hostmanager.enabled = true
config.vbguest.auto_update = true
config.hostmanager.manage_host = true
config.hostmanager.manage_guest = false
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = false
config.hostmanager.ip_resolver = proc do |vm, resolving_vm|
if vm.communicate.ready?
result = ""
vm.communicate.execute("ifconfig eth1") do |type, data|
result << data if type == :stdout
end
end
(ip = /inet addr:(\d+\.\d+\.\d+\.\d+)/.match(result)) && ip[1]
end
config.vm.define "myapp" do |node|
node.vm.hostname = "myapp-dev"
node.vm.network :private_network, type: 'dhcp'
node.hostmanager.aliases = %w(myapp.test)
end
end
```
### Debug output
https://gist.github.com/valjar/a93744ec2e78cf4ab925ba1c36fdc0b8
### Expected behaviour
Vagrant should boot and mount nfs shared folders
### Actual behaviour
Vagrant boots but it doesn't mount nfs shared folders
### Steps to reproduce
1. vagrant up
To me it looks like the same problems as #7646, but:
- I have deleted exports file
- I have deleted and recreated hosts file
- Firewall is turned OFF
- I have restarted Nfsd service and its running
Still not working...
Is this known bug on macOS High Sierra? Can you help me figure out why is this happening and how to solve a problem. If you need any additional informations please let me know and I will provide. Thank you!
*UPDATE*
Users with Ubuntu OS are also experiencing same problem from time to time.
Hope that helps!
3 Likes
system
Closed
1 September 2021 20:01
3
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.