incus-contrib/incusos/examples
Maarten 088baf6807 Fix IncusOS deploy: eliminate crontab bug and TPM corruption
Root cause #1: force_reboot triggers SysRq-B intermediate boot that
races with IncusOS state initialization, causing ~50% crontab bug rate.
Fix: omit force_reboot from seed — VM sits at "please remove media"
after install, blockstat detects idle cleanly, no intermediate boot.
Validated: 15/15 PASS (100%) on 4-core VMs.

Root cause #2: 90s boot timeout was too short for first-boot sysext
download under load. Premature retry hard-stops the VM during first
boot, corrupting the TPM encryption key permanently. Fix: increase
boot timeout to 180s (60s sleep + 120s polling).

Changes:
- incusos-proxmox: remove --force-reboot from seed generation, increase
  boot timeout from 90s to 180s, update retry comments
- incusos-seed: add --ip/--gateway/--dns flags for static IP seeds,
  add network.yaml generation
- observe-deploy: add --no-force-reboot flag, --runs N mode, VLAN
  support, scrub_schedule health check, 1s screenshot interval
- lab configs: add static IPs for VLAN 69 (192.168.102.x/22)
- proxmox.yaml.example: add vlan, gateway, dns fields
- CLAUDE.md: document findings, boot timeout, TPM corruption risk

Tested: single VM, 3-node cluster, OC + 3 nodes — all 100% success.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:50:02 +01:00
..
incus-cluster-node.yaml Implement end-to-end IncusOS Proxmox deployment via API 2026-02-19 15:26:58 +01:00
incus-standalone.yaml Implement end-to-end IncusOS Proxmox deployment via API 2026-02-19 15:26:58 +01:00
lab-advanced.yaml Add macOS support, multi-lab lifecycle, extended testing, and migration docs 2026-02-20 23:41:06 +01:00
lab-cluster.yaml Fix IncusOS deploy: eliminate crontab bug and TPM corruption 2026-02-22 21:50:02 +01:00
lab-networking.yaml Add VLAN 69 support, OVN networking guide, and lab-networking config 2026-02-22 13:28:03 +01:00
lab-oc-deploy.yaml Add Operations Center hands-on testing, hybrid deployment, and comprehensive guide 2026-02-20 22:55:48 +01:00
lab-oc-nodes.yaml OC v0.3.0 comprehensive test: retry logic, auto-heal, apply_defaults validation 2026-02-21 21:41:34 +01:00
lab-oc.yaml Fix IncusOS deploy: eliminate crontab bug and TPM corruption 2026-02-22 21:50:02 +01:00
lab-replace.yaml Add advanced migration testing, cluster lifecycle, and clustering guide 2026-02-20 18:46:55 +01:00
lab-single.yaml Fix IncusOS deploy: eliminate crontab bug and TPM corruption 2026-02-22 21:50:02 +01:00
my-test.yaml Add advanced migration testing, cluster lifecycle, and clustering guide 2026-02-20 18:46:55 +01:00
network-static.yaml Fix IncusOS deploy: eliminate crontab bug and TPM corruption 2026-02-22 21:50:02 +01:00
ops-center.yaml Initial Commit 2026-02-18 14:04:05 +01:00
proxmox-lab.yaml Add lab validation tooling: doctor check, deep cleanup, lab-test script 2026-02-19 22:00:05 +01:00
proxmox-minimal.yaml Add lab validation tooling: doctor check, deep cleanup, lab-test script 2026-02-19 22:00:05 +01:00
proxmox.yaml.example Fix IncusOS deploy: eliminate crontab bug and TPM corruption 2026-02-22 21:50:02 +01:00