Unable to 'vagrant up' on Mac OS Sonoma with VMware Fusion

Host operating system : M1 - MacOS Sonoma 14.1.1(23B81)

VMware Fusion : 13.5.0 (22583790)

Installed Vagrant Version: 2.4.0 (vagrant_2.4.0_darwin_arm64.dmg)

Vagrant VMware utility version : 1.0.22

Plugin : vagrant-vmware-desktop (3.0.3)

Steps to reproduce

vagrant box add rockylinux/8
vagrant plugin install vagrant-vmware-desktop
vagrant init rockylinux/8
vagrant up

first result :

Vagrant encountered an error while attempting to load the utility
service key file. This error can occur if the Vagrant VMware Utility
has not yet been installed, or if it was installed incorrectly. If
this error persists after running the Vagrant VMware Utility installer
again, please open a new issue at:

Issues · hashicorp/vagrant-vmware-desktop · GitHub

Information about the Vagrant VMware Utility, including installation
instruction, can be found here:

Installation - VMware Provider | Vagrant | HashiCorp Developer

Path: /opt/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt
Error: No such file or directory @ rb_sysopen - /opt/vagrant-vmware-desktop/certificates/vagrant-utility.client.crt

so had to install vagrant-vmware-utility 1.0.22
below is after I did and went ‘vagrant up’ again.

Bringing machine ‘default’ up with ‘vmware_desktop’ provider…
==> default: Cloning VMware VM: ‘rockylinux/8’. This can take some time…
==> default: Checking if box ‘rockylinux/8’ version ‘9.0.0’ is up to date…
==> default: Verifying vmnet devices are healthy…
==> default: Preparing network adapters…
==> default: Starting the VMware VM…
An error occurred while executing vmrun, a utility for controlling
VMware machines. The command and output are below:

Command: [“-T”, “fusion”, “start”, “/Users/Antares/rockylinux8/.vagrant/machines/default/vmware_desktop/c4590a13-eb23-4d1e-915e-5a6837c6000c/Rocky-8-Vagrant-VMware-8.9-20231119.0.aarch64.vmx”, “nogui”, {:notify=>[:stdout, :stderr], :timeout=>45}]

Stdout: 2023-11-30T17:53:40.096| ServiceImpl_Opener: PID 28833
Error: The operation was canceled

Stderr:

Debug output attached

INFO global: Vagrant version: 2.4.0.txt (34.7 KB)

I’m a student and total new here. My tutor had no idea so here is the only place I left where I can ask about this.
Please bear with anything I’ve done wrong.

solved it after I change the box. the boxes rockylinux/8, rockylinux/9 on Vagrant Cloud are incompatible with arm64 & VMware fusion.
Thanks to Yordan for helping me :slight_smile:

  • List item