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

VMware Utility driver causes issues when starting VM #71

Open
jensdeweerdt opened this issue May 2, 2023 · 3 comments
Open

VMware Utility driver causes issues when starting VM #71

jensdeweerdt opened this issue May 2, 2023 · 3 comments
Labels

Comments

@jensdeweerdt
Copy link

Vagrant version

Vagrant 2.3.4

Vagrant VMware plugin version

vagrant-vmware-desktop 3.0.1
vagrant-vmware-utility 1.0.21

Host operating system

Occuring on both Apple M1 Pro and Apple M2 Pro with MacOS Monteray and MacOS Ventura

Guest operating system

CentOS Stream 9

Expected behaviour

A VM is started

Actual behaviour

I am receiving the following errors on a regular basis:

An error was encountered while generating the current list of
available VMware adapters in use on this system.

Get "http://localhost:49211/api/vmnet": GET http://localhost:49211/api/vmnet giving up after 5 attempt(s): Get "http://localhost:49211/api/vmnet": dial tcp [::1]:49211: connect: connection refused

Please resolve any problems reported in the error message above and
try again.

and

Vagrant encountered an unexpected communications error with the Vagrant VMware Utility driver. Please try to run the command again. If this error persists, please contact support@hashicorp.com

Temporary fix

We have a temporary fix for this by doing the following two commands:

sudo launchctl unload -w /Library/LaunchDaemons/com.vagrant.vagrant-vmware-utility.plist
sudo launchctl load -w /Library/LaunchDaemons/com.vagrant.vagrant-vmware-utility.plist

I have seen this issue a couple of times already but seems there is not a solution yet. I am having to do this workaround on a regular basis and would be nice to see this fixed permanently.

@fonsambrooskbc
Copy link

I tried uninstalling vagrant, restarting my mac, installing vagrant, unloading and then loading and that didnt work.

@chrisroberts
Copy link
Member

chrisroberts commented May 16, 2023

@jensdeweerdt @fonsambrooskbc Can you please try installing the latest release of the utility and see if that resolves your issue?

@chrisroberts chrisroberts added the waiting-reply Waiting for response label May 16, 2023
@fonsambrooskbc
Copy link

fonsambrooskbc commented May 17, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants