Forgot to update but its solved
The rsync mostly succeeds, set -e treats any non‑zero exit code as a fatal error and stops the script.
rsync often returns exit code 23
So adding
rsync -avz /var/ /zdata/var/ || true
Makes it work. I will post the...
You are right. Thank you for the input. I will definitely try your debugging in my script. I havent had a chance to test it yet because I am currently trying to resolve a unmet dependency problem with xfce4 chromium/firefox-esr for my offline...
O
OK so the answer was :
I build a custom bootable iso from Proxmox Automated Installation, with more packages, and a first-boot hook that does some stuff.
And :
The first-boot hook fails silently when doing this :
zfs create zdata/var
rsync...
Hmmm very stange...
I invite you to configure remote logging (for having fresher info if reboots occurs again).
And maybe to subscribe official support from Proxmox.
It happened only one time ?
Ok.
What did you do as special parameters or installs on the servers that doesn't come from PVE ISO installer ?
Did the server already worked on an other OS with any problem ?
Did you look at hardware logs for over-temperature or manual hard reset ?
I understand but it is very difficult to put a diagnostic on this. I saw no evidence in the logs. Maybe somebody will have an idea ?
What is the hardware of your servers ?
Hello.
I think offline is not a concern. The installer uses ISO packages.
Personally, I use the ability to fetch the toml configuration by an URL, very practical.
Did you read all the doc ? https://pve.proxmox.com/wiki/Automated_Installation
Hello.
How many disk do you have per server ?
Is there only one 10Gb network for Ceph ?
Did you made a comparative test with an other OS or on the host ?