GitHub user bilalinamdar added a comment to the discussion: CloudStack 4.22 – VM deployment on LINSTOR primary fails during ROOT volume population (qemu-img convert), while volume creation succeeds
I am uploading the logs here. for the kvm's and the mgmt tar cvpzf ~/cskvm0*.logs.tar.gz /var/log/linstor-satellite/ /var/log/linstor-controller/ /var/log/cloudstack/ /var/log/libvirt/ /var/log/syslog /var/log/dmesg /var/log/kern.log tar cvpzf ~/csmgmt01.logs.tar.gz /var/log/cloudstack/ /var/log/syslog /var/log/dmesg /var/log/kern.log [cskvm03.logs.tar.gz](https://github.com/user-attachments/files/24414821/cskvm03.logs.tar.gz) [cskvm02.logs.tar.gz](https://github.com/user-attachments/files/24414823/cskvm02.logs.tar.gz) [cskvm01.logs.tar.gz](https://github.com/user-attachments/files/24414820/cskvm01.logs.tar.gz) [csmgmt01.logs.tar.gz](https://github.com/user-attachments/files/24414822/csmgmt01.logs.tar.gz) Also some settings of linstor root@cskvm01:~# linstor node list ``` ╭────────────────────────────────────────────────────────────────────╮ ┊ Node ┊ NodeType ┊ Addresses ┊ State ┊ ╞════════════════════════════════════════════════════════════════════╡ ┊ cskvm01.poc.local ┊ COMBINED ┊ 10.50.11.101:3366 (PLAIN) ┊ Online ┊ ┊ cskvm02.poc.local ┊ SATELLITE ┊ 10.50.11.102:3366 (PLAIN) ┊ Online ┊ ┊ cskvm03.poc.local ┊ SATELLITE ┊ 10.50.11.103:3366 (PLAIN) ┊ Online ┊ ╰────────────────────────────────────────────────────────────────────╯ ``` linstor sp l root@cskvm01:~# linstor sp l ``` ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ┊ StoragePool ┊ Node ┊ Driver ┊ PoolName ┊ FreeCapacity ┊ TotalCapacity ┊ CanSnapshots ┊ State ┊ SharedName ┊ ╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ┊ DfltDisklessStorPool ┊ cskvm01.poc.local ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ cskvm01.poc.local;DfltDisklessStorPool ┊ ┊ DfltDisklessStorPool ┊ cskvm02.poc.local ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ cskvm02.poc.local;DfltDisklessStorPool ┊ ┊ DfltDisklessStorPool ┊ cskvm03.poc.local ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ cskvm03.poc.local;DfltDisklessStorPool ┊ ┊ lvm-thin-fast ┊ cskvm01.poc.local ┊ LVM_THIN ┊ linstor_lvm_fastpool/lvm_fastpool ┊ 223.35 GiB ┊ 223.35 GiB ┊ True ┊ Ok ┊ cskvm01.poc.local;lvm-thin-fast ┊ ┊ lvm-thin-fast ┊ cskvm02.poc.local ┊ LVM_THIN ┊ linstor_lvm_fastpool/lvm_fastpool ┊ 223.35 GiB ┊ 223.35 GiB ┊ True ┊ Ok ┊ cskvm02.poc.local;lvm-thin-fast ┊ ┊ lvm-thin-fast ┊ cskvm03.poc.local ┊ LVM_THIN ┊ linstor_lvm_fastpool/lvm_fastpool ┊ 223.35 GiB ┊ 223.35 GiB ┊ True ┊ Ok ┊ cskvm03.poc.local;lvm-thin-fast ┊ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ``` # Resource Groups ``` linstor resource-group create my_fast_group \ --storage-pool lvm-thin-fast \ --place-count 2 ``` linstor rg l root@cskvm01:~# linstor rg l ``` ╭──────────────────────────────────────────────────────────────────────╮ ┊ ResourceGroup ┊ SelectFilter ┊ VlmNrs ┊ Description ┊ ╞══════════════════════════════════════════════════════════════════════╡ ┊ DfltRscGrp ┊ PlaceCount: 2 ┊ ┊ ┊ ╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡ ┊ my_fast_group ┊ PlaceCount: 2 ┊ ┊ ┊ ┊ ┊ StoragePool(s): lvm-thin-fast ┊ ┊ ┊ ╰──────────────────────────────────────────────────────────────────────╯ ``` root@cskvm01:~# # On all ``` cat << EOF > /etc/linstor/linstor-client.conf [global] controllers=10.50.11.101 EOF ``` no other parameter is set for linstor drbd. #Current Issue 1) Can't create vm with linstor due to Qemu or Template Error But as a additional disk i can use linstor for existing vm created via nfs. it also migrated to another host without isssue live. can also create standalone volumes with linstor. I only can't create VM's with linstor before this on plain install and linstor as a only primary storage even system vm's where not making up. so this time i used nfs as primary than second primary linstor. VM spinup issue. i think this is mostly due to some template clone / raw / qcow2 issue as per some observation in logs. Update: I tried to deploy vm with ALPINE ISO and linstor and it worked. But it is not working with the default template from the cloudstack wizards (qcow2/img) <img width="1738" height="841" alt="Image" src="https://github.com/user-attachments/assets/e5bb75aa-7e6f-4d7e-a835-c3bb066152a2" /> <img width="1602" height="903" alt="Image" src="https://github.com/user-attachments/assets/3179efc9-755a-42ae-ae60-11c14fbb9d2b" /> root@cskvm01:/var/log/cloudstack/agent# linstor v l ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ┊ Resource ┊ Node ┊ StoragePool ┊ VolNr ┊ MinorNr ┊ DeviceName ┊ Allocated ┊ InUse ┊ State ┊ Repl ┊ ╞═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm01.poc.local ┊ lvm-thin-fast ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ 2.05 MiB ┊ InUse ┊ UpToDate ┊ Established(2) ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm02.poc.local ┊ lvm-thin-fast ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ 2.05 MiB ┊ Unused ┊ UpToDate ┊ Established(2) ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm03.poc.local ┊ DfltDisklessStorPool ┊ 0 ┊ 1000 ┊ /dev/drbd1000 ┊ ┊ Unused ┊ TieBreaker ┊ Established(2) ┊ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm01.poc.local ┊ lvm-thin-fast ┊ 0 ┊ 1001 ┊ /dev/drbd1001 ┊ 2.05 MiB ┊ InUse ┊ UpToDate ┊ Established(2) ┊ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm02.poc.local ┊ DfltDisklessStorPool ┊ 0 ┊ 1001 ┊ /dev/drbd1001 ┊ ┊ Unused ┊ TieBreaker ┊ Established(2) ┊ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm03.poc.local ┊ lvm-thin-fast ┊ 0 ┊ 1001 ┊ /dev/drbd1001 ┊ 2.05 MiB ┊ Unused ┊ UpToDate ┊ Established(2) ┊ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ root@cskvm01:/var/log/cloudstack/agent# root@cskvm01:/var/log/cloudstack/agent# root@cskvm01:/var/log/cloudstack/agent# linstor rd l --show-props Aux/cs-name Aux/cs-vm-name ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ┊ ResourceName ┊ ResourceGroup ┊ Layers ┊ State ┊ Aux/cs-name ┊ Aux/cs-vm-name ┊ ╞═══════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ my_fast_group ┊ DRBD,STORAGE ┊ ok ┊ ROOT-24 ┊ i-2-24-VM ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ my_fast_group ┊ DRBD,STORAGE ┊ ok ┊ fff ┊ ┊ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ root@cskvm01:/var/log/cloudstack/agent# linstor r l ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ ┊ ResourceName ┊ Node ┊ Layers ┊ Usage ┊ Conns ┊ State ┊ CreatedOn ┊ ╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm01.poc.local ┊ DRBD,STORAGE ┊ InUse ┊ Ok ┊ UpToDate ┊ 2026-01-03 14:39:44 ┊ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm02.poc.local ┊ DRBD,STORAGE ┊ Unused ┊ Ok ┊ TieBreaker ┊ 2026-01-03 14:39:41 ┊ ┊ cs-9ae31086-91ac-40d6-9f42-790cb5e0454f ┊ cskvm03.poc.local ┊ DRBD,STORAGE ┊ Unused ┊ Ok ┊ UpToDate ┊ 2026-01-03 14:39:44 ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm01.poc.local ┊ DRBD,STORAGE ┊ InUse ┊ Ok ┊ UpToDate ┊ 2026-01-02 00:35:33 ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm02.poc.local ┊ DRBD,STORAGE ┊ Unused ┊ Ok ┊ UpToDate ┊ 2026-01-02 00:35:33 ┊ ┊ cs-60f8b37f-c085-4477-91b2-55da2d2e1c92 ┊ cskvm03.poc.local ┊ DRBD,STORAGE ┊ Unused ┊ Ok ┊ TieBreaker ┊ 2026-01-02 00:35:33 ┊ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ root@cskvm01:/var/log/cloudstack/agent# GitHub link: https://github.com/apache/cloudstack/discussions/12388#discussioncomment-15442710 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
