Hello,
Often, some VMs which have the "start at boot" flag enabled don't start at boot.
They're located on shared storage (iSCSI, NFS or Ceph).
I thought the "startup delay" parameter could be useful, but, according to the documentation : https://pve.proxmox.com/wiki/Virtual_Machine_Startup_and_Shutdown_Behavior , it's not the purpose of this parameter.
The VMs don't start probably because networking took too much time to initialize, thus delaying the shared storage and so on.
The only workaround i found was to create a tiny local container, set "start at boot" to on, and set "startup delay" to (say) 30s, so it leaves enough time for required services to initialize, and then the shared storage VM boot. The sole purpose of this container is to be a timer, it's not a clean solution.
Obviously there should be a better way.
Any idea ?
Thanks
Often, some VMs which have the "start at boot" flag enabled don't start at boot.
They're located on shared storage (iSCSI, NFS or Ceph).
I thought the "startup delay" parameter could be useful, but, according to the documentation : https://pve.proxmox.com/wiki/Virtual_Machine_Startup_and_Shutdown_Behavior , it's not the purpose of this parameter.
The VMs don't start probably because networking took too much time to initialize, thus delaying the shared storage and so on.
The only workaround i found was to create a tiny local container, set "start at boot" to on, and set "startup delay" to (say) 30s, so it leaves enough time for required services to initialize, and then the shared storage VM boot. The sole purpose of this container is to be a timer, it's not a clean solution.
Obviously there should be a better way.
Any idea ?
Thanks