cluster-api-provider-proxmox icon indicating copy to clipboard operation
cluster-api-provider-proxmox copied to clipboard

Support for configuring Cloud-Init CD-ROM bus type (SCSI instead of default IDE)

Open filatof opened this issue 4 months ago • 0 comments

Problem

When using this provider on ARM64 systems (e.g., Orange Pi 5, Raspberry Pi with QEMU), VM creation fails due to the default Cloud-Init CD-ROM being attached to the IDE bus. ARM64 VMs created with the virt machine type do not support IDE devices, causing the following error: kvm: -device ide-cd,bus=ide.0,unit=0,…: Bus ‘ide.0’ not found TASK ERROR: start failed: QEMU exited with code 1 Currently, the Cluster API Provider for Proxmox does not offer a way to customize the bus type for the Cloud-Init ISO. The only workaround is to manually delete the IDE CD-ROM and reattach the ISO as SCSI via the Proxmox UI, which breaks automation and defeats the purpose of using Cluster API.

Feature Request

Please add a configurable option in the ProxmoxMachineTemplate (e.g., cloudInitCDROMBus or similar) to specify the bus type for the Cloud-Init ISO, allowing us to use scsi instead of the unsupported ide.

Suggested API example

apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: ProxmoxMachineTemplate
spec:
  template:
    spec:
      cloudInitCDROMBus: scsi

Additional context

This issue affects all ARM64 users using QEMU’s virt machine type, which is the standard approach for running lightweight clusters on ARM boards using Proxmox + CAPMox.

Thank you in advance!

filatof avatar Jul 29 '25 18:07 filatof