-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 16.04 LTS box built with VMware 8.5 stuck at 'Waiting for machine to boot' #7942
Comments
Note that changing the box to |
I've also built Ubuntu 12.04 and 14.04 base boxes with almost identical configurations in the past day and they seem to work fine. |
@geerlingguy Just to make sure I understand, are you seeing the issue only with ubuntu-16.04? Based on your last comment, it seems that new boxes of ubuntu-12.04 and ubuntu-14.04 are working as expected. Just want to confirm that is the case. Thanks! |
@chrisbaldauf - Based on earlier testing, I didn't have this issue (on my personal Mac). Today I booted things up on my work mac and am hitting the same problem on Ubuntu 14.04 with my latest public box build (1.1.4) - https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1404 I'm going to see if I can replicate on my personal Mac... since the exact same box was running fine on VMware before I published it to Atlas :/ Versions:
|
On my personal Mac, I had But 16.04 never boots without the GUI option or opening VMware in either case. |
So, further testing—I updated personal Mac to plugin 4.0.14, and that works fine still. So then I noticed that I'm running VMware Fusion 8.5.0 on my personal Mac (works with any Ubuntu box but 16.04), but on my work laptop I have 8.5.1 (all Ubuntu versions are failing). So it looks like it's definitely not the VMware Fusion Vagrant plugin version, but there are two bugs of some sort or another:
|
Ah, looks like the 8.5.1 issue is here: #7948 The original issue still stands—with 8.5.0, only the Ubuntu 16.04 box won't connect. Let me know if you want me to build it and host a copy so you can download (to save the ~30 min setup and build time if you want to use the Packer config). |
Awesome, thanks for the updates! Don't worry about hosting the box, I'll just build it locally (but thanks!). |
Any updates on this? Did anybody get it to work for Ubuntu 16.04? |
Turns out it works with this packer script: https://github.com/cbednarski/packer-ubuntu The secret is either in the |
I'm washing my hands of VMware for now. VirtualBox is about 90% as fast for what I need, and is surprisingly a lot more stable of late. The 10% performance gain is not worth the crazy amount of effort that has been required to get my boxes all working on VMware (not to mention the fact that I've probably spent 50-100 hours extra time working on a box for a plugin that costs money for software that costs even more money!). I'd rather save 1/3 of my personal OSS donation budget for something that doesn't frustrate me and also benefits only free projects :) |
Washing my hands too! |
Hi there! I believe the underlying issue has to do with what is described in this issue: #8095. I've updated the vmware plugin to start warning about the pcislotnumber and will be transitioning it to not make modifications in the future. Apologies for the frustration around this and please let me know if you are still encountering issues. Cheers! |
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. |
Vagrant version
1.8.6
(usingvagrant-vmware-fusion (4.0.14)
)Host operating system
macOS Sierra 10.12.1
Guest operating system
Ubuntu 16.04.1 LTS (running in VMware Fusion 8.5)
(Packer build here: https://github.com/geerlingguy/packer-ubuntu-1604)
Vagrantfile
See: https://github.com/geerlingguy/packer-ubuntu-1604/blob/master/Vagrantfile
Debug output
https://gist.github.com/geerlingguy/a30efed09f982a0c5bc755bbb1b75eae
Expected behavior
The VM boots, and Vagrant connects and runs configured provisioner(s).
Actual behavior
The VM boots, and Vagrant gets stuck on
Waiting for machine to boot. This may take a few minutes...
.Two important notes:
v.gui = true
in the config, or open VMware Fusion while Vagrant is waiting (e.g. double-click on it in Applications folder), then all the sudden Vagrant connects and continues through to provisioning.Steps to reproduce
References
The text was updated successfully, but these errors were encountered: