action #59382
closedopenqaworker-arm-1 is down, was automatically power cycled by grafana+gitlab, no reaction, power cycled again, SOL is unresponsive
0%
Description
Observation¶
https://gitlab.suse.de/openqa/grafana-webhook-actions/-/jobs/138117 was triggered after the alarm that arm-1 is down on 2019-11-11 but it seems arm-1 never came back according to https://stats.openqa-monitor.qa.suse.de/d/WDopenqaworker-arm-1/worker-dashoard-openqaworker-arm-1?orgId=1&refresh=1m&from=now-7d&to=now
Suggestions¶
We should escalate the alert when recovery fails or at least try again multiple times until we see some response, e.g. extend https://gitlab.suse.de/openqa/grafana-webhook-actions to add "sol activate" and see if there is any response and ping the host.
Updated by okurz over 5 years ago
- Status changed from New to In Progress
- Assignee set to okurz
- Priority changed from Urgent to Normal
I did manual power cycle
and sol activate
but no response. Tried with power off
and power on
, no response … or so I thought. The machine actually came back after power off
and power on
and a waiting time of about 5 minutes, responding on ping but no respone on SOL. Machine is back up again.
My suggestions:
timeout -k 5 600 sh -c "until ping -c1 $MACHINE; do :; done"
after the power cycle, if not responding trypower off
andpower on
and ping again- After ping succeeds probe ssh, e.g.
timeout -k 5 300 sh -c "until nc -vz -w 1 $MACHINE 22; do :; done"
. Consider it success if ssh probe returns successful
Updated by okurz over 5 years ago
- Status changed from In Progress to Feedback
- Target version set to Current Sprint
Updated by okurz over 5 years ago
- Status changed from Feedback to Resolved
merged. Let's see what it brings the next time.