Open oscar-vlugt opened 1 year ago
Since we're talking about virtual machines, missing IDE support on the host shouldn't be an issue. The error you're seeing is interesting, though:
kvm: -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101: Bus 'ide.1' not found
There is a dot between ide
and 1
, which shouldn't be there. But only for the first device - ide2
is correct.
I guess that's the actual cause of the error.
I'm afaid it won't get easy to find out where exactly that dot is coming from, but I'll try.
Apart from that it would be nice to be able to assign ISOs or Cloud-Init drives to SCSI, maybe that will be possible at some point.
There is a disk restructure imminent for proxmox-api-go
: https://github.com/Telmate/proxmox-api-go/issues/187#issuecomment-1494165170
This will make it necessary to rewrite the disk handling for the Packer plugin, too. While this alone will be a lot of work, it might also be an opportunity to add SCSI support for CD-ROM drives.
There is a dot between
ide
and1
, which shouldn't be there. But only for the first device -ide2
is correct. I guess that's the actual cause of the error. I'm afaid it won't get easy to find out where exactly that dot is coming from, but I'll try.
Sorry I was wrong, ide.1
seems to be correct, when describing a bus, not a device.
Does QEMU on ARM really have no support for IDE emulation?
Could be because I installed Pimox on it: https://github.com/pimox/pimox7 . Which might not even be a real supported scenario, but I wanted to try it. I came to the conclusion because of https://github.com/pimox/pimox7/issues/7 , which resulted in me just removing the cd/dvd drive from a VM entirely, and it would start after that. It also gives the same error when I manually create the virtual machine, so I don't think it is a plugin problem.
Would love to see a feature to select the bus. Can try searching for the IDE kernel drivers and report back if I find something.
Sadly wasn't able to find another solution then to just deploy it through cloud-init for now. Is the preferred way for me to fill in a feature request on this repository and close this question?
I am trying to use packer on a proxmox cluster running on Raspberry PIs which don't have any IDE support. Normally I would just manually create a virtual machine and then remove the cd/dvd drive and assign SCSI to circumvent the following error:
kvm: -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101: Bus 'ide.1' not found
Huge fan of Packer, and want to roll it out for my ARM images. Is there any possibility for me to add to my pkr.hcl file to set CD/DVD upon creation to use the Bus SCSI instead of IDE?
My packer file contains :