Skip to content

Vagrant vmware provider fails to work with Fusion Tech Preview #22

@fatso83

Description

@fatso83

Hi, I am running an Apple Silicon Macbook (ARM) and found out that VirtualBox does not work on that platform. I then learned that VMWare released a Tech Preview of Fusion for ARM last month, and so I was hopeful in getting that to work with Vagrant, as you provide a VMWare provider.

I followed all the steps for installing the provider and you can see from the output that it seems to work. I then proceeded to follow the Getting Started guide (skipping the install of VirtualBox). You could also see my own notes when doing this. All seemed fine up until the last steps:

$ vagrant init hashicorp/bionic64

$ vagrant up --provider vmware_desktop
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

When running with the debug output, it seems as if it could not find any image matching the supplied image. I am not that familiar with Vagrant, but I assumed it might have to do with the image needing to specifically work with VMWare? So I searched vagrant images for anything support vmware and tried both "generic/ubuntu2104" and "roboxes/ubuntu2104" which both were tagged vmware. No luck there either; they all erred with something like this in the debug output

 WARN vagrantfile: Performing lookup with initial values roboxes/ubuntu2104 with version
 INFO box_collection: Box not found: roboxes/ubuntu2104 (vmware_desktop, vmware_fusion, vmware_workstation)

The following is info following the Bug template

$ vagrant -v
Vagrant 2.2.18

carlerik at carl-eriks-air in ~/dev/dotfiles (master)
$ vagrant plugin list
vagrant-vmware-desktop (3.0.1, global)
  - Version Constraint: > 0

carlerik at carl-eriks-air in ~/dev/dotfiles (master)
$ /opt/vagrant-vmware-desktop/bin/vagrant-vmware-utility -v
1.0.20

carlerik at carl-eriks-air in ~/dev/dotfiles (master)
$ uname -a
Darwin carl-eriks-air.lan 21.1.0 Darwin Kernel Version 21.1.0: Sat Sep 11 12:27:45 PDT 2021; root:xnu-8019.40.67.171.4~1/RELEASE_ARM64_T8101 arm64

Debug output

https://gist.github.com/fatso83/7da6c48debb4b48333feab90b44964d8

Expected behavior

That it fired up a vm as described in getting started

Actual behavior

It erred with

Vagrant encountered an unexpected communications error with the
Vagrant VMware Utility driver.

Steps to reproduce

  1. Use a M1 Mac (arm)
  2. Install the Fusion Tech Preview
  3. vagrant init hashicorp/bionic64
  4. vagrant up --provider vmware_desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions