Hello,
I’m writing this hoping it would be a quicker way to contact Release Engineering.
I encountered a error message while trying to use Rocky Linux on Vagrant with VMWare desktop.
An error occurred causing VMware to cancel the current operation. Details
of the error causing the cancelation:
This virtual machine cannot be powered on because it requires the X86 machine architecture, which is incompatible with this Arm machine architecture host. See KB-84273.
As Rocky provides arm64 images with VMWare provider, I decided to dive deeper and found that the VMX file (which is like a manifest file of a VMWare VM) is malformed.
$ curl -Ls https://dl.rockylinux.org/vault/rocky/9.5/images/aarch64/Rocky-9-Vagrant-VMware.latest.aarch64.box | bsdtar -xO '*.vmx' | grep guestOS
guestOS = "rhel7-64"
If you have a copy of a VMWare Workstation/Fusion, creating an ARM64 Rocky VM would give you this guestOS property instead:
guestOS = "arm-rockyLinux-64"
Although rockyLinux-64
seems to be a rather new addition to VMWare, I’m assuming the lack of arm-
prefix prevented ARM-based hosts to run the Vagrant box. While I wasn’t able to confirm the .vmdk
contained a valid ARM64 image as well, I believe the guestOS section is incorrect as of now.
The VirtualBox situation is similar, where the <Platform>
node is missing to indicate the VM should be run on an ARM64 platform.
$ curl -Ls https://dl.rockylinux.org/vault/rocky/9.5/images/aarch64/Rocky-9-Vagrant-Vbox-9.5-20241118.0.aarch64.box | bsdtar -xO box.ovf | xpath -q -e Envelope/VirtualSystem/vbox:Machine/Platform
(The output is empty)
If you create a VM on ARM64 platform using VirtualBox you should get a <Platform>
node like this:
<Platform architecture="ARM">
<Chipset type="ARMv8Virtual" />
<CPU />
</Platform>
I think these manifest issues are blocking the ARM64 users from using the Vagrant images provided by Rocky Linux.
Please forward this to SIG/Cloud if you know where to contact them. I’ll be happy to provide further information if needed.