Lost power commands are visible; jobs not started in job_start_timeout fail
CI / agent (push) Successful in 3s
CI / site (push) Successful in 2s
CI / go (push) Successful in 37s

pxeBoot dropped the errors of its BMC calls, so a command lost while the
rack or region restarted produced an empty, success-looking event and the
job waited forever. Errors now go into the event (pxe boot failed), and a
watchdog fails jobs the machine has not started within job_start_timeout
(default 30m: real servers take 4-5 minutes to POST, longer in bulk).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-28 19:23:38 +01:00
1 parent 4b30c91c81
commit 996ecbd89d
6 files changed
+83 -2

No files matched your search

+1
View File
@@ -725,6 +725,7 @@ func serve(cfgPath string) error {
if err := app.startIPAM(); err != nil {
return fmt.Errorf("ipam: %w", err)
}
go app.jobWatchdog()
handler := app.routes()
if cfg.TLSListen != "" {
names := append([]string{}, cfg.TLSNames...)