{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/bento/issues/388","repository_url":"https://api.github.com/repos/chef/bento","labels_url":"https://api.github.com/repos/chef/bento/issues/388/labels{/name}","comments_url":"https://api.github.com/repos/chef/bento/issues/388/comments","events_url":"https://api.github.com/repos/chef/bento/issues/388/events","html_url":"https://github.com/chef/bento/issues/388","id":92730210,"number":388,"title":"opscode-centos-7.1 Virtualbox box not able to NFS mount","user":{"login":"andytson","id":199783,"avatar_url":"https://avatars.githubusercontent.com/u/199783?v=3","gravatar_id":"","url":"https://api.github.com/users/andytson","html_url":"https://github.com/andytson","followers_url":"https://api.github.com/users/andytson/followers","following_url":"https://api.github.com/users/andytson/following{/other_user}","gists_url":"https://api.github.com/users/andytson/gists{/gist_id}","starred_url":"https://api.github.com/users/andytson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andytson/subscriptions","organizations_url":"https://api.github.com/users/andytson/orgs","repos_url":"https://api.github.com/users/andytson/repos","events_url":"https://api.github.com/users/andytson/events{/privacy}","received_events_url":"https://api.github.com/users/andytson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/bento/labels/Developing","name":"Developing","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"legal90","id":4846154,"avatar_url":"https://avatars.githubusercontent.com/u/4846154?v=3","gravatar_id":"","url":"https://api.github.com/users/legal90","html_url":"https://github.com/legal90","followers_url":"https://api.github.com/users/legal90/followers","following_url":"https://api.github.com/users/legal90/following{/other_user}","gists_url":"https://api.github.com/users/legal90/gists{/gist_id}","starred_url":"https://api.github.com/users/legal90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legal90/subscriptions","organizations_url":"https://api.github.com/users/legal90/orgs","repos_url":"https://api.github.com/users/legal90/repos","events_url":"https://api.github.com/users/legal90/events{/privacy}","received_events_url":"https://api.github.com/users/legal90/received_events","type":"User","site_admin":false},"assignees":[{"login":"legal90","id":4846154,"avatar_url":"https://avatars.githubusercontent.com/u/4846154?v=3","gravatar_id":"","url":"https://api.github.com/users/legal90","html_url":"https://github.com/legal90","followers_url":"https://api.github.com/users/legal90/followers","following_url":"https://api.github.com/users/legal90/following{/other_user}","gists_url":"https://api.github.com/users/legal90/gists{/gist_id}","starred_url":"https://api.github.com/users/legal90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legal90/subscriptions","organizations_url":"https://api.github.com/users/legal90/orgs","repos_url":"https://api.github.com/users/legal90/repos","events_url":"https://api.github.com/users/legal90/events{/privacy}","received_events_url":"https://api.github.com/users/legal90/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2015-07-02T20:41:05Z","updated_at":"2016-07-09T16:17:07Z","closed_at":"2016-07-09T16:17:07Z","body":"It seems a change has been done in a build of opscode-centos-7.1 that is causing for some reason, the private network static ip to not be assigned before vagrant mounts nfs. This causes nfs to fail.\r\n\r\nChecking the ip address assignment after the failure shows the static ip isn't assigned. An ifdown and ifup of the private network adapter introduces the static IP.\r\n\r\nThis wasn't an issue in an earlier opscode-centos-7.1 build (if you did one before that, or it was just me manually building the working one before you released it), nor opscode-centos-7.0.\r\n\r\nUsing vboxsf, the static ip is assigned to the private network adapter after boot.\r\n\r\nSteps to recreate\r\n\r\n* import opscode-centos-7.1\r\n* vagrant init opscode-centos-7.1\r\n* edit Vagrantfile to add a private network with a static ip of 33.33.33.15, and add a synced folder with NFS\r\n* vagrant up\r\n\r\ncauses:\r\n```\r\n==> default: Machine booted and ready!\r\n==> default: Checking for guest additions in VM...\r\n==> default: Configuring and enabling network interfaces...\r\n==> default: Exporting NFS shared folders...\r\n==> default: Preparing to edit /etc/exports. Administrator privileges will be required...\r\nPassword:\r\n==> default: Mounting NFS shared folders...\r\nThe following SSH command responded with a non-zero exit status.\r\nVagrant assumes that this means the command failed!\r\n\r\nmount -o 'vers=3,udp' 33.33.33.1:'/Users/andy' /vagrant\r\n\r\nStdout from the command:\r\n\r\n\r\n\r\nStderr from the command:\r\n\r\nmount.nfs: access denied by server while mounting 33.33.33.1:/Users/andy\r\n```"}}
{"actor":{"display_login":"cheeseplus"}}