jiangcuo / Proxmox-Port

Proxmox VE arm64 riscv64 loongarch64
GNU Affero General Public License v3.0
545 stars 27 forks source link

--scsi0 local:cloudinit won't work with qm set or create #72

Closed mzhaqs closed 2 months ago

mzhaqs commented 3 months ago

Describe the bug --scsi0 local:cloudinit used to work fine before the recent update

To Reproduce qm create 90107 --name pimox-1-kube-vm-1 --ostype l26 --cpu host --scsihw virtio-scsi-pci --scsi0 local:cloudinit --boot order=virtio0 --onboot 1 --bios ovmf --efidisk0 local:0

Error unable to parse directory volume name 'cloudinit'

Expected behavior VM should get created

Screenshots N/A

ENV (please complete the following information):

Additional context I can create an IDE drive but don't how to use it with my raspy 4 b 8 gb. Also seems to be working in PVE 7 on bullseye

jiangcuo commented 3 months ago

This issue exist on x86_64 too.

nikos445 commented 3 months ago

any workaround?

mzhaqs commented 3 months ago

I just moved to 7 for now. But I believe rolling back to 8.1.3 will work as well.

nikos445 commented 2 months ago

I used Sata for cloud-init it worked (maybe a workaround for some people)...

Also when booting from ISO/CD then the SCSI of IMG that you boot shall be set to no. 2 when created or else it wont boot.

jiangcuo commented 2 months ago

This issue has been fixed in the new commit. https://git.proxmox.com/?p=qemu-server.git;a=commit;h=7e2065956f4cc5c15f947f0df431f46861b0a0c0

mzhaqs commented 2 months ago

Issue seems to still exist. This is from a fresh installation. image

SuperKali commented 2 months ago

@mzhaqs @jiangcuo I have the same problem, on nanopc t6 only on the fresh installation the second node not have this problem

SuperKali commented 2 months ago

image

SuperKali commented 2 months ago

@jiangcuo @mzhaqs I had to compile myself the qemu-server and add this https://github.com/jiangcuo/qemu-server/commit/7e2065956f4cc5c15f947f0df431f46861b0a0c0 on the branch arm64, now work fine, can you apply this patch and release it on the repo? image

For arm64 users can use this package compiled by me at the moment: qemu-server_8.1.1+port3_arm64.zip