Commit af88093
committed
sushy_emulator: healthcheck + restart on failure
In adoption jobs the sushy_emulator stops working somewhere in
the job run. We see errors raised from python libvirt library:
- `libvirt: XML-RPC error : Cannot write data: Broken pipe`
- `libvirt: XML-RPC error : internal error: client socket is closed`
This change adds a healthcheck to the podman pod, probe the service
every 30 seconds, and trigger a container restart on two failures.
Jira: OSPRH-156861 parent 83c519f commit af88093
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments