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

Replaying virtual nodes bootup #51

Open
eduble opened this issue Jul 22, 2020 · 0 comments
Open

Replaying virtual nodes bootup #51

eduble opened this issue Jul 22, 2020 · 0 comments

Comments

@eduble
Copy link
Contributor

eduble commented Jul 22, 2020

Since commit d792215 serial output of nodes is recorded in /var/lib/walt/logs/vnodes, thus they can be replayed with scriptreplay.
It would be better to reuse the logging system for that, because /var/lib/walt/logs/vnodes is only accessible on walt server machine, and using them is not user-friendly.
Instead we could:

  • let the server accept incoming log lines from a local unix socket (using it would avoid loading the network)
  • let walt-virtual-node send log lines there, with logstream serial, when virtual node is run on the server
  • add a command option --replay to walt log show. When used, walt client would follow delays between the first log line and the others. Using this option on logstream serial would allow to "replay" the bootup of a node.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant