lablup / lablup/backend.ai

Check `mountpoint` readiness on startup with configurable retries and timeouts

Open
#1,847 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.