-
Notifications
You must be signed in to change notification settings - Fork 45
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
VMware utility driver communications issue when running vagrant up --provider=vmware_desktop in WSL2 #100
Comments
AFAICT I am having the same issue, just with Ubuntu 22.04 under WSL. |
likewise... |
Can we get a bump on this? |
i'm having this same issue on MacOS 14.2.1 (23C71) |
i'm having the same issue Mar 06 11:55:04 PC-0008 systemd[1]: Started Vagrant VMware Utility. |
Same issue here. Seems like perhaps this is a networking problem? vagrant-vmware-utility is bound to localhost (127.0.0.1) port 9922 on the WSL2 host. You can see in the linked Gist (line 336) Vagrant is trying to reach out to 127.0.0.1:9922...unless that's being started up on the WSL2 guest that communication path isn't gonna work IME. FWIW there does seem to be an undocumented VMware provider option for "utility_host" ("utility_port" is documented) but even modifying that to point at the host's IP doesn't work...because the utility isn't bound to a port that can actually listen to anything but localhost traffic. So...do I/we need to also install and run the Vagrant VMware Utility on our WSL2 guests (I'm not sure we'd be able to run that as a "service"...systemd is sketch-ish IME on WSL2 guests)? EDIT: feels like this might end up tied to WSL2's NAT vs. "mirrored" networking, mirrored networking only being avail. in fairly recent versions, etc. |
Vagrant version
Run
vagrant -v
to show the version. If you are not running the latest versionof Vagrant, please upgrade before submitting an issue.
Vagrant VMware plugin version
Run
vagrant plugin list
to show the version. If you are not running the latestversion of the Vagrant VMware plugin, please upgrade before submitting an issue.
Vagrant VMware utility version
To show the version, run
C:\HashiCorp\vagrant-vmware-desktop\bin\vagrant-vmware-utility -v
onWindows systems or
/opt/vagrant-vmware-desktop/bin/vagrant-vmware-utility -v
on non-Windowssystems. If you are not running the latest version of the Vagrant VMware utility, please
upgrade before submitting an issue.
Host operating system
Windows Host:
WSL2 Distribution:
This is the operating system that you run locally.
Guest operating system
This is the operating system you run in the virtual machine.
Windows 10 (gusztavvargadr/windows-10)
Vagrantfile
Please ensure the Vagrantfile provided is a minimal Vagrantfile which contains
only the required configuration to reproduce the behavior. Please note that if
your Vagrantfile contains an excess of configuration unrelated the the reported
issue, or is in a different format, we may be unable to assist with your issue.
Always start with a minimal Vagrantfile and include only the relevant configuration
to reproduce the reported behavior.
Debug output
https://gist.github.com/willdafoe/290fb9f61915f9be5e6023c064dc1797
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.
Expected behavior
Windows 10 VM running in VMWare workstation on the Windows host.
Actual behavior
The following error message:
Steps to reproduce
The text was updated successfully, but these errors were encountered: