Check `mountpoint` readiness on startup with configurable retries and timeouts
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
depends on #1845
- [ ] When the agent starts, perform the mountpoint check.\* [ ] It should be retried for a configurable number.
- [ ] It should be done within a configurable length of the total timeout including all retries.
- [ ] Once failed (timeout or all retries exhausted), publish `MonitoringAlarmEvent` (refs #1845) to indicate the agent is not usable.
- [ ] Until all mountpoints become fully ready, we could use `ai.backend.common.sd_notify` to inform the systemd that we're ready or not, for further indication to server admins.
JIRA Issue: BA-157
Contributor guide
Assessment
This issue has not been assessed yet.