Skip to content
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

Commands Not in Installer of VMWare Fusion 8.5.8 Pro #8916

Closed
JackTiber opened this issue Aug 25, 2017 · 7 comments
Closed

Commands Not in Installer of VMWare Fusion 8.5.8 Pro #8916

JackTiber opened this issue Aug 25, 2017 · 7 comments

Comments

@JackTiber
Copy link

Please note that the Vagrant issue tracker is reserved for bug reports and
enhancements. For general usage questions, please use the Vagrant mailing list:
https://groups.google.com/forum/#!forum/vagrant-up. Thank you!

Vagrant version

Vagrant v1.9.8

Host operating system

macOS Sierra 10.12.6

Guest operating system

Ubuntu 16.04 Server LTS

Vagrantfile

Vagrant.configure("2") do |config|
config.ssh.insert_key = 'false'
config.ssh.password = 'vagrant'
config.ssh.port = '22'
config.ssh.keys_only = 'false'
config.vm.box = "test"
["vmware_workstation", "vmware_fusion"].each do |vmware_provider|
config.vm.provider(vmware_provider) do |vmware|
vmware.whitelist_verified = true
end
end
config.vm.provider "vmware_fusion" do |v|
v.gui = true
end
end

Please note, if you are using Homestead or a different Vagrantfile format, we
may be unable to assist with your issue. Try to reproduce the issue using a
vanilla Vagrantfile first.

Debug output

Provide a link to a GitHub Gist containing the complete debug output:
https://www.vagrantup.com/docs/other/debugging.html. The debug output should
be very long. Do NOT paste the debug output in the issue, just paste the
link to the Gist.

https://gist.github.com/JackTiber/ab3614029cbc2f7dcd1ac131484018aa

Expected behavior

Vagrant should be able to connect to VM.

Actual behavior

Vagrant hangs on trying to resolve IP of VM while running vmrun list or getIpAddress commands, which return as not in installer, restoring original environment...

Steps to reproduce

  1. I am trying to boot a vmx build that is made into a box with the post-processor. It has minimal libraries / items provisioned, and from the debug log this looks to be more in the vagrant VMware plugin than in the box itself. I have tried editing the path and it failed the up command. I can call the vmrun list by running ' /Applications/VMware\ Fusion.app/Contents/Library/vmrun list' in a shell.

References

Are there any other GitHub issues (open or closed) that should be linked here?
For example:
Not that I have found. LOT of Googling going on over here.

@william-voyek
Copy link

I'm experiencing the same issue. I get it running again with:
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop && sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start

It seems like the networking isn't getting taken care of properly.

@chrisroberts
Copy link
Member

Are you able to reproduce this behavior with any publicly available boxes?

@JackTiber
Copy link
Author

Honestly have not tried a ton of public vagrant boxes, but it did reproduce itself using the below packer template repo by @geerlingguy.

https://github.com/geerlingguy/packer-ubuntu-1604 - if you are trying this, you will need to update the iso url and checksums, otherwise the template is fine.

He has another thread running that it looks like to be on the same subject that goes a bit deeper into why vagrant hangs at Waiting to Boot, but I didn't discover that until yesterday. Looks like this has been an open issue since last Oct. and has to do with VMware's systemd processes.

geerlingguy/packer-boxes#13

Using Virtualbox, the custom box boots easily, so I have resigned myself to using VB for the time being and waiting till someone at Hasicorp or VMware address this in an update.

@william-voyek
Copy link

I'm using Laravel Homestead: https://github.com/laravel/homestead. It's the only vagrant box I'm using.

@JackTiber
Copy link
Author

Makes sense. We need to have some custom boxes setup for repetitive development environments. I managed to get this working, although tracking down the exact reason to why it is working is minimal as I only changed the preseed.cfg to allow for full-update to the installed packages on the box. Amazingly, this either corrected an issue that was keeping VMware from listing the IPv4 of the box or fixed something in Ubuntu that was causing that as well.

No idea, but zero edits to the actual template for that exception.

@chrisroberts
Copy link
Member

Hi there,

Thanks for reporting this bug. I'm sure this was a real issue when originally reported (our fault for not looking sooner!) but there have been multiple Vagrant releases since the original report. I'm going to close this issue now and request you reopen the issue if you're still experiencing this problem. I'm sorry this wasn't looked at earlier ☹️

Cheers!

@ghost
Copy link

ghost commented Mar 30, 2020

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.

@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants