{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/8096","repository_url":"https://api.github.com/repos/mitchellh/vagrant","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8096/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8096/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8096/events","html_url":"https://github.com/mitchellh/vagrant/issues/8096","id":194297334,"number":8096,"title":"Private network comes up with no IPv4 address without manual restart","user":{"login":"rupert654","id":459011,"avatar_url":"https://avatars.githubusercontent.com/u/459011?v=3","gravatar_id":"","url":"https://api.github.com/users/rupert654","html_url":"https://github.com/rupert654","followers_url":"https://api.github.com/users/rupert654/followers","following_url":"https://api.github.com/users/rupert654/following{/other_user}","gists_url":"https://api.github.com/users/rupert654/gists{/gist_id}","starred_url":"https://api.github.com/users/rupert654/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rupert654/subscriptions","organizations_url":"https://api.github.com/users/rupert654/orgs","repos_url":"https://api.github.com/users/rupert654/repos","events_url":"https://api.github.com/users/rupert654/events{/privacy}","received_events_url":"https://api.github.com/users/rupert654/received_events","type":"User","site_admin":false},"labels":[{"id":25816,"url":"https://api.github.com/repos/mitchellh/vagrant/labels/bug","name":"bug","color":"e11d21","default":true},{"id":140642719,"url":"https://api.github.com/repos/mitchellh/vagrant/labels/guest/redhat","name":"guest/redhat","color":"5319e7","default":false},{"id":425128607,"url":"https://api.github.com/repos/mitchellh/vagrant/labels/networking","name":"networking","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mitchellh/vagrant/milestones/26","html_url":"https://github.com/mitchellh/vagrant/milestone/26","labels_url":"https://api.github.com/repos/mitchellh/vagrant/milestones/26/labels","id":2177622,"number":26,"title":"1.9.2","description":"","creator":{"login":"chrisroberts","id":266674,"avatar_url":"https://avatars.githubusercontent.com/u/266674?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":2,"state":"open","created_at":"2016-12-06T00:32:03Z","updated_at":"2016-12-08T21:54:04Z","due_on":null,"closed_at":null},"comments":27,"created_at":"2016-12-08T10:19:55Z","updated_at":"2017-01-03T17:29:51Z","closed_at":null,"body":"### Vagrant version\r\nI'm running Vagrant 1.8.6. This is not the latest version but I can't run 1.8.7 due to #8024 , nor 1.90 due to #8088 .\r\n\r\n### Host operating system\r\nWindows 7\r\n\r\n### Guest operating system\r\nCentOS 7\r\n\r\n### Vagrantfile\r\n```ruby\r\nVagrant.configure(2) do |config|\r\n  config.vm.box = 'puppetlabs/centos-7.2-64-puppet-enterprise'\r\n\r\n  config.vm.define :master do |master|\r\n    master.vm.network :private_network, ip: '10.20.1.10'\r\n  end\r\n\r\n  config.vm.define :node do |node|\r\n    node.vm.network :private_network, ip: '10.20.1.11'\r\n  end\r\nend\r\n```\r\n\r\n### Expected behavior\r\nEach VM should have assigned the IP addresses specified in the Vagrantfile.\r\n\r\n### Actual behavior\r\nNo IP address appears to be assigned. However, an IP address is assigned after restarting.\r\n\r\n### Steps to reproduce\r\n1. Log into one of the nodes\r\n`vagrant ssh master`\r\n\r\n2. Verify that the IP address is actually being configured\r\n```\r\ncat /etc/sysconfig/network-scripts/ifcfg-enp0s8\r\n#VAGRANT-BEGIN\r\n# The contents below are automatically generated by Vagrant. Do not modify.\r\nNM_CONTROLLED=no\r\nBOOTPROTO=none\r\nONBOOT=yes\r\nIPADDR=10.20.1.10\r\nNETMASK=255.255.255.0\r\nDEVICE=enp0s8\r\nPEERDNS=no\r\n#VAGRANT-END\r\n```\r\n\r\n3. But no IP address is actually assigned (note there is no inet value):\r\n```\r\nifconfig -a\r\nenp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet6 fe80::a00:27ff:fe8b:416d  prefixlen 64  scopeid 0x20<link>\r\n        ether 08:00:27:8b:41:6d  txqueuelen 1000  (Ethernet)\r\n        RX packets 66  bytes 21226 (20.7 KiB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 65  bytes 11106 (10.8 KiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n```\r\n\r\n4. Now exit and restart\r\n```\r\nexit\r\nvagrant halt master\r\nvagrant up master\r\n```\r\n\r\n5. Check the IP again and its working (note the inet value is not present and correct):\r\n```\r\nvagrant ssh master\r\nifconfig -a\r\nenp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500\r\n        inet 10.20.1.10  netmask 255.255.255.0  broadcast 10.20.1.255\r\n        inet6 fe80::a00:27ff:fe8b:416d  prefixlen 64  scopeid 0x20<link>\r\n        ether 08:00:27:8b:41:6d  txqueuelen 1000  (Ethernet)\r\n        RX packets 9  bytes 3078 (3.0 KiB)\r\n        RX errors 0  dropped 0  overruns 0  frame 0\r\n        TX packets 21  bytes 1586 (1.5 KiB)\r\n        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0\r\n```\r\n\r\n### References\r\nIt seems very similar to #2968. However, that has been fixed in a previous version."},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/270171294","html_url":"https://github.com/mitchellh/vagrant/issues/8096#issuecomment-270171294","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/8096","id":270171294,"user":{"login":"mikefaille","id":978196,"avatar_url":"https://avatars.githubusercontent.com/u/978196?v=3","gravatar_id":"","url":"https://api.github.com/users/mikefaille","html_url":"https://github.com/mikefaille","followers_url":"https://api.github.com/users/mikefaille/followers","following_url":"https://api.github.com/users/mikefaille/following{/other_user}","gists_url":"https://api.github.com/users/mikefaille/gists{/gist_id}","starred_url":"https://api.github.com/users/mikefaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikefaille/subscriptions","organizations_url":"https://api.github.com/users/mikefaille/orgs","repos_url":"https://api.github.com/users/mikefaille/repos","events_url":"https://api.github.com/users/mikefaille/events{/privacy}","received_events_url":"https://api.github.com/users/mikefaille/received_events","type":"User","site_admin":false},"created_at":"2017-01-03T17:29:51Z","updated_at":"2017-01-03T17:29:51Z","body":"@Artistan Allright, for NFS issues, try to start vagrant as root/sudoers. If it don't fix your case, I suggest you to open new issue describing your case."}}
{"actor":{"display_login":"mikefaille"}}