Vagrant 1.9.4
Ubuntu 16.10 x86_64
Ubuntu 13.10 x64
Vagrant::Config.run do |config|
# Configure the VM box to use
config.vm.box = 'ubuntu-server'
# config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-12042-x64-vbox4210.box'
config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-1310-x64-virtualbox-puppet.box'
# Configure VM Ram usage
config.vm.customize ["modifyvm", :id,
"--memory", "1024",
"--cpus", "2"
]
# Configure network and port forwarding
config.vm.network :hostonly, "33.33.33.10"
config.vm.forward_port 80, 8080, :auto => true # HTTP
config.vm.forward_port 5433, 5433, :auto => true # Postgresql
config.vm.forward_port 9000, 9000, :auto => true # FPM
#config.vm.forward_port 27017, 27017 # MongoDB
# Configure shared folders
config.vm.share_folder "vagrant-root", "/vagrant", ".", :nfs => true
config.vm.share_folder "www", "/var/www", "..", :nfs => true
config.vm.share_folder "puppet", "/tmp/vagrant-puppet", "puppet", :nfs => true
# Configure provisioning
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
end
end
https://gist.github.com/giancarloandroid/f27cfad52c4b8a9f26b9e354caa52452
Virtual machine started with success
mount.nfs: access denied by server while mounting 33.33.33.1:/home/giancarlo/Documentos/Programacao/Vagrant/vagrant-symfony-psql
INFO interface: Machine: error-exit ["Vagrant::Errors::NFSMountFailed", "The following SSH command responded with a non-zero exit status.\nVagrant assumes that this means the command failed!\n\nmount -o vers=3,udp 33.33.33.1:/home/giancarlo/Documentos/Programacao/Vagrant/vagrant-symfony-psql /vagrant\n\nStdout from the command:\n\n\n\nStderr from the command:\n\nmount.nfs: access denied by server while mounting 33.33.33.1:/home/giancarlo/Documentos/Programacao/Vagrant/vagrant-symfony-psql\n"]
Happening to me as well, it seems like the last it's trimming the ip address from your Vagrantfile
You have 33.33.33.10 but the mount command is using 33.33.33.1
Same here.
Same.
I "fixed" my problem by removing the nfs option.
Same problem here. please help.
same problem
Same here
I've just had this with an Ubuntu 14.04 guest. It seems some versions of mount.nfs default to sec=krb5. Adding sec=sys to mount_options fixed it for me. See Specifying NFS Arguments. Might not be your issue, but worth a try.
This should be resolved in recent versions of Vagrant. If you are still experiencing this issue after upgrading, please create a new issue and I will investigate further.
Cheers!
Can it be caused by this issue: https://stackoverflow.com/questions/20726248/vagrant-error-nfs-is-reporting-that-your-exports-file-is-invalid
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
I "fixed" my problem by removing the nfs option.