Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle initialization failures inside the VM #1094

Open
Omrigan opened this issue Oct 2, 2024 · 0 comments
Open

Properly handle initialization failures inside the VM #1094

Omrigan opened this issue Oct 2, 2024 · 0 comments

Comments

@Omrigan
Copy link
Contributor

Omrigan commented Oct 2, 2024

Problem description / Motivation

To initialize the runtime we have a bunch of scripts triggered by busybox init or by compute_ctl. Failures in the initialization might go unnoticed and trigger other initialization steps to fail.

This issue is a follow-up for this investigation: https://neondb.slack.com/archives/C06SJG60FRB/p1727851630611959

TLDR: an incompatible tunefs binary failed as a part of the mounts.sh; script terminated early, aborting next mounts steps. This went unnoticed, until the compute failed on a workload.

DoD

  1. Report the failures through alerts/early exit.
  2. Make steps as independent as possible - failure in one feature should not fail other features.

Implementation ideas

We can use neonvm-daemon to do all runtime bootstraping, thus controlling every step and reporting failures/failing healthcheck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant