Repository navigation
isb 4.1.1: report a NIC incus lost the host side of, pin it after a restart - #81
Merged
Merged
Conversation
…estart
4.1.0's first pass on titan could not pin analytics-capture in org exa:
incus had lost its volatile.eth0.host_name, so changing its running NIC
fails ("Unknown or missing host side veth device"), and an org project
(restricted.containers.lowlevel: block) may not set the key back. The
check retried the PUT every minute.
Now such an instance is not retried: net.failed says what happened, that
isb pins it after its next restart (a restart gives the key back), and how
to pin it without one. capture itself was pinned in place by hand that way
(same PID and address, port 3000 answering).
Tests: a unit test, and tests/ipam.rs loses an instance's host_name, sees
it reported, restarts it and sees it pinned; the test now holds whether or
not an isb serve on the host checks the test org first.
Claude-Session: https://claude.ai/code/session_01LJ21XsZE86ywhpFMvYVWmE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
4.1.0's first address pass on titan couldn't pin
analytics-capture-1-33b3(org exa). incus had lost itsvolatile.eth0.host_name, so live NIC changes fail ("Unknown or missing host side veth device"), and org projects (restricted.containers.lowlevel: block) may not set the key back. The check retried the PUT every minute.Now the check doesn't retry it:
net.failedexplains the problem, says isb pins the instance after its next restart (a restart restores the key), and gives the steps to pin it without one. capture was pinned that way by hand (same PID and address, port 3000 answering, lease STATIC, restriction restored).Tests: a unit test.
tests/ipam.rs(run on titan in a throwaway org) drops an instance's host_name, sees it reported, restarts it and sees it pinned. The test now passes whether or not titan's live daemon checks the test org first.scripts/check.shpasses.https://claude.ai/code/session_01LJ21XsZE86ywhpFMvYVWmE