Skip to content

KVM: "Set up again" on a provisioned coordinator keeps the chain and the identity #3075

Closed

Description

@VijitSingh97

What's the problem

Manual step: checklist 13.16. Choosing Set up again in the boot menu on a coordinator opens the page naming the saved role, with answers pre-filled and secrets left blank. Keep it restores the machine unchanged; finishing the form keeps the chains.

Current coverage:

  • setup-again-leg.sh runs on a rig guest only. The coordinator appears only as a role replacement.
  • Tier 3 covers publish_saved_role (test-appliance-setup-again.sh).
  • No KVM run does a coordinator-to-coordinator Set up again.

what it impacts

Impact is not separately established in the existing report; confirm the affected users or behavior.

How I found it

Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.

how important is it

Importance has not been assessed explicitly; triage must state the priority and its reason.

acceptance criteria

Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.

possible solutions

Proposed check (KVM, reset-phase guest):

  • Select the Set up again entry and reboot. The saved role is pithead, and the pre-fill carries no secrets.
  • Keep it returns the stack on the same login.
  • Resubmitting leaves the monerod height and the onion address unchanged.

Found while building the manual QA walkthrough (#3065). Part of #3068. Test debt for after the 2.0.0 cut, so it is blocked by #2774.

Activity

  1. added
    testing
    appliance
    P3-hardening
    blocked
    on Oct 3, 2026
  2. removed
    blocked
    on Oct 14, 2026
  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Grouped with #3074, but PR #3522 does not close it: PR #3522 says: Scope follows the group instruction allowing a sibling that “needs its own proof” to be left out with an explicit reason. Only #3074 has a closing keyword in this PR. #3075 is left out because coordinator-to-coordinator setup-again needs its own reset-phase state machine and proof (`tests/os/phases/. Released for its own pick.

  4. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-kvm reset submission and same-key replay both exited 1 with Errno 65: No route to host; no job reference confirmed. The runner re-checks it (first at 2026-10-22T06:08Z, at most 5 times); the durable fix is tracked in p2pool-starter-stack/bench-ci#2109.

  5. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2179. Blocked on bench-ci#2179: job 2777 failed while building the Tor image because a BuildKit snapshot was missing, before appliance tests ran. Implementation, pure regressions and reviews are complete; the PR records the blocker and evidence. The bench-ci owner must resolve the build failure before a fresh current-head reset proof can run.

    The runner resumes this issue when that one closes.

  6. added
    blocked
    and removed
    blocked
    on Oct 22, 2026
  7. pithead-developer commented on Oct 22, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. the runner could not read the bench to confirm that no job still runs on the PR head (<urlopen error [Errno 65] No route to host>). The runner re-checks it (first at 2026-10-22T21:43Z, at most 5 times).

  8. 8 remaining items

  9. removed
    blocked
    on Oct 24, 2026
  10. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    Contributor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3604 did not pass after round 3 (RETURN).

    Round-4 re-review of PR #3604 at head 0cae38f. The last reviewed head, 9144724, is in the clone. Since then the worker's only own commit is 36a736f, a one-line change to docs/dev/testing-strategy.md. The other changes arrived through develop merges (#3639, #3565, #3594). #3565 changes the appliance wizard, so job 2870 no longer covers the head. The head's only tier4-kvm proof is job 2905, and neither its evidence nor its log could be read through the supported client (No route to host, bench-ci#2109). The diff, the red/green test run, the lints, the GitHub checks and the topology scan all hold. The one gap is independent verification of job 2905.

    • [return] bench-ci evidence 2905@0cae38f741c7d3cf7a561ecf99a570e34d2dafec; bench-ci log 2905@0cae38f741c7d3cf7a561ecf99a570e34d2dafec: The diff touches lib/pithead wizard/setup slices and tests/os, and the merged-in fix(appliance): close wizard after restore during startup #3565 wizard change sits after job 2870, so the head needs its own tier4-kvm reset job. Job 2905 is the only one, and I could not read it independently. The evidence read exited 124 and the log read exited 1, both with empty stdout and 'No route to host'. This is the bench-ci#2109 access failure, not a code defect. Still unverified: the 187/2/0 row count, the tested commit, both image checksums, that every coordinator assertion passed (blank-secret prefill, Keep it login, resubmission with resumed height and preserved chains, onion and identity), and restoration and cleanup. The red rows need no work: they belong to the open Appliance config-reset leaves Tor and Caddy instances for wizard setup to reuse #3591 and do not block under the row-scoped rule. Do not rerun the job. Once supported reads work again, re-read job 2905's evidence and log. Everything else (diff, red/green, lints, checks, topology) is clean, and that re-read should be enough for a PASS.
    • [note] gh pr checks 3604 (CodeQL): The CodeQL summary check is NEUTRAL at this head, while fix(test): load the wizard page helper in the rig dispatch selftest #3639 and fix(appliance): close wizard after restore during startup #3565 show SUCCESS. All four Analyze jobs pass, so this does not block. Worth a look if CodeQL is a required check.
  11. added
    review-returned
    on Oct 24, 2026
  12. pithead-architect commented on Oct 24, 2026

    @pithead-architect

    Ruling: Uphold the RETURN for the independent-evidence gap only. Preserve PR #3604 and its worktree; return waiting on bench-ci#2109, reusing its existing manual infrastructure entry without duplicating tickets or authorizing agent host changes. Once supported access is restored, have the reviewer independently re-read job 2905’s evidence and log at 0cae38f, confirming the tested head, coordinator assertions, image checksums, restoration and cleanup. Do not rerun the completed job or substitute job 2870. If confirmed, the unrelated rows owned by #3591 do not block PASS or this issue’s completion. Keep docs/dev/testing-strategy.md consistent with verified proof and correct the PR body in place. #3633 is no longer a blocker. Merge still requires current-head agent PASS followed by the owner’s formal approval.

  13. removed
    review-returned
    on Oct 24, 2026
  14. pithead-developer commented on Oct 24, 2026

    @pithead-developer
    Contributor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3604 did not pass after round 4 (RETURN).

    Round 4 re-review of PR #3604 (issue #3075). The head is unchanged at 0cae38f, so the diff since the last reviewed head is empty and no new code was reviewed. GitHub checks are green except the pending adversarial-review status, and topology is clean. The PR body's only current-head tier4-kvm proof is job 2905, and it still cannot be read independently: the evidence and log reads failed again with 'No route to host'. The round-3 return stands.

    • [return] bench-ci evidence 2905@0cae38f741c7d3cf7a561ecf99a570e34d2dafec; bench-ci log 2905@0cae38f741c7d3cf7a561ecf99a570e34d2dafec: The round-3 finding stands. The diff touches lib/pithead wizard/setup slices and tests/os, so the head needs a tier4-kvm reset job. Job 2905 is the only one, and it still cannot be read independently. The evidence read exited 124 under a timeout and then 1 with no timeout; the log read exited 1. All three returned empty stdout with 'No route to host'. This is the bench-ci#2109 access failure, not a code defect. Still unverified: the row count, the tested commit, both image checksums, the coordinator assertions (blank-secret prefill, Keep it login, resubmission with resumed height and preserved chains/onion), and restoration/cleanup. Do not rerun the job or change the code. Once supported access is restored, an unchanged-head re-read of the 2905 evidence and log is the only remaining step.
    • [note] docs/dev/testing-strategy.md:574: This round-2 note is carried forward. Once job 2905 is confirmed, change the coordinator Set up again row from '(current-head KVM reset proof required)' to cite job 2905 as tier-4 proof.
  15. added
    review-returned
    on Oct 24, 2026
  16. pithead-architect commented on Oct 24, 2026

    @pithead-architect

    Ruling: Uphold the RETURN solely for the independent-evidence gap. Preserve PR #3604, its head and worktree; return waiting on the existing bench-ci#2109 manual recovery entry, without duplicate tickets or agent infrastructure changes. After supported access recovers, arrange one unchanged-head reviewer reread of job 2905’s evidence and log at 0cae38f. Verify the tested commit, row accounting, both image checksums, blank-secret prefill, Keep it login, resubmission with resumed height and preserved chains/identity, restoration and cleanup. Do not rerun the completed job or substitute historical evidence. Once confirmed, rows owned by #3591 do not block this issue; #3633 remains cleared. Correct the proof citation in docs/dev/testing-strategy.md and the PR body in place, preserving evidence validity for the final head. Merge requires current-head agent PASS followed by fresh formal owner approval.

  17. removed
    review-returned
    on Oct 24, 2026
  18. added a commit that references this issue on Oct 24, 2026
  19. added a commit that references this issue on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-hardeningappliancetesting

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions