Files
ProxmoxVE/misc
CanbiZ (MickLesk) 8901eabd63 fix(build): improve resilience for top Proxmox error codes (209, 215, 118, 206)
- Exit 209 (container creation failed): Detect CTID collision when
  pct create fails with 'already exists' and auto-retry with next
  available ID instead of aborting

- Exit 215 (ghost state): Add 10s polling loop for pct list visibility
  after successful pct create to handle pmxcfs sync delays in clusters,
  instead of failing immediately

- Exit 118 (no IP after timeout): Increase IP wait from 20s fixed to
  60 attempts with progressive backoff (1s/2s/3s intervals, ~100s max),
  giving slow DHCP servers and cold-start containers more time

- Exit 206 (CTID already in use): Auto-reassign to next available
  container ID instead of hard-failing when a late collision is detected
  in create_lxc_container()

These four error codes account for ~15% of all installation failures
(~1200 errors in analytics). The fixes add automatic recovery for race
conditions and timing issues that users cannot control.
2026-04-07 20:00:51 +02:00
..