Lost power commands are visible; jobs not started in job_start_timeout fail
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:
1 parent
4b30c91c81
commit
996ecbd89d
6 files changed
+83
-2
No files matched your search
@@ -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...)
|
||||
|
||||
Reference in new issue
Block a user