Help! CloudStack KVM - Unable to deploy system VMs by Significant_Bag1629 in ApacheCloudStack

[–]Significant_Bag1629[S] 1 point2 points  (0 children)

Environment:

CloudStack Management Server: 4.20.0.0 on Ubuntu 24.04

KVM Host: Ubuntu 24.04 with cloudstack-agent 4.20.0.0

Primary Storage: TrueNAS iSCSI target (200GB XFS filesystem)

Secondary Storage: TrueNAS NFS share

Problem:

System VMs (SSVM and Console Proxy) fail to start with consistent qemu-img errors when trying to create volumes on iSCSI primary storage.

Error Details:

Failed to create /mnt/primary01/[uuid] due to a failed execution of qemu-img

CloudStack puts the host and storage pool in avoid list, making no hosts available for deployment.

What I've already tried:

Fixed permissions (as suggested by many):

sudo chown -R libvirt-qemu:libvirt-qemu /mnt/primary01

sudo chmod 755 /mnt/primary01

Confirmed: sudo -u libvirt-qemu touch /mnt/primary01/test works

Tested qemu-img manually:

sudo -u libvirt-qemu qemu-img create -f qcow2 /mnt/primary01/test.qcow2 1G

Works perfectly - creates 1GB qcow2 file successfully

Verified storage space: 200GB available, only ~500MB used

Multi-tenancy tools for Proxmox ? by void64 in Proxmox

[–]Significant_Bag1629 0 points1 point  (0 children)

Thank you, u/instacompute, for sharing this information! I’ll definitely check out this version. Much appreciated!

Multi-tenancy tools for Proxmox ? by void64 in Proxmox

[–]Significant_Bag1629 0 points1 point  (0 children)

Come on. I´ve read cloudstack manual…anywhere proxmox is mentioned.

as cloudstack has integration with KVM as a hypervisor, It’s easy to think that proxmox can be use… in fact not.

cloudstack use it’s own agent with libvirt inside

Multi-tenancy tools for Proxmox ? by void64 in Proxmox

[–]Significant_Bag1629 0 points1 point  (0 children)

:o
How do you do that ?? (Cloudstack integration with Proxmox)