Hello,
We are in the process of installing and configuring 4 clusters of 3 nodes and automating templates creation using Packer.
We have a strange behaviour where for some clusters Packer template creation works fine and for others we are faced with a bug during the boot process.
First, some data:
* PVE version 7.1.10 on Debian Bullseye 11.2
* Debian and PVE installed by our servers provider
* some nodes may have been installed directly on PVE 7, others upgraded from PVE 6
* configuration should be the same on every node (done automatically or following some procedure)
* all clusters are connected to a iSCSI LUN with a LVM storage on top of it
The boot bug:
* Packer runs a QEMU virtual machine which boots on Debian ISO, then it 'types' keys to simulate a human typing on a keyboard. For Debian it means running "Esc" then "install..." to run an automated installation from a preseed file
* on some clusters, before booting on the ISO file, I see a boot menu asking to choose between Virtio-ISCSI, DVD/CD, IPXE and another one
* when this boot menu appears, key sequence break and boot on the ISO file do not occur
When I look at the VM Packer creates, I see:
* Hardware:
* Hard disk is scsi0
* SCSI Controller is Virtio SCSI
* CD/DVD Drive is ide2
* Options:
* Boot order: scsi0, ide2, net0
Boot order seems coherent with the hardware.
I see the same on clusters where Packer build is successful.
Do you have any idea what can be the reason for different behaviours between clusters which seems identically configured?
How can I solve this boot problem? I saw posts talking about setting boot order in Packer, but the option I see 'scsi0,ide2,net0' seems to be the right one.
We are in the process of installing and configuring 4 clusters of 3 nodes and automating templates creation using Packer.
We have a strange behaviour where for some clusters Packer template creation works fine and for others we are faced with a bug during the boot process.
First, some data:
* PVE version 7.1.10 on Debian Bullseye 11.2
* Debian and PVE installed by our servers provider
* some nodes may have been installed directly on PVE 7, others upgraded from PVE 6
* configuration should be the same on every node (done automatically or following some procedure)
* all clusters are connected to a iSCSI LUN with a LVM storage on top of it
The boot bug:
* Packer runs a QEMU virtual machine which boots on Debian ISO, then it 'types' keys to simulate a human typing on a keyboard. For Debian it means running "Esc" then "install..." to run an automated installation from a preseed file
* on some clusters, before booting on the ISO file, I see a boot menu asking to choose between Virtio-ISCSI, DVD/CD, IPXE and another one
* when this boot menu appears, key sequence break and boot on the ISO file do not occur
When I look at the VM Packer creates, I see:
* Hardware:
* Hard disk is scsi0
* SCSI Controller is Virtio SCSI
* CD/DVD Drive is ide2
* Options:
* Boot order: scsi0, ide2, net0
Boot order seems coherent with the hardware.
I see the same on clusters where Packer build is successful.
Do you have any idea what can be the reason for different behaviours between clusters which seems identically configured?
How can I solve this boot problem? I saw posts talking about setting boot order in Packer, but the option I see 'scsi0,ide2,net0' seems to be the right one.
Last edited: