Skip to content

KVM leg: standalone USB-stick rig with no coordinator mines to CI Pithead and serves feed and API on the LAN #4546

Backlog

Description

@pithead-architect

What's the problem

Nothing proves a stick rig runs with no coordinator: mining to a Pithead's stratum as a plain pool with no pairing, while still serving its feed and API on the LAN. rigmedia.sh always runs the paired (RigForge-answered) shape. This is chunk 4 of the split of #4018 and is shared with pithead#4009 ("A KVM leg sets up a rig through 'Another pool' pointed at the CI Pithead's stratum, with no pairing, and reads its feed and API from the LAN"), whose wizard the leg uses. Blocked by pithead#4009.

What it impacts

The standalone stick rig — the owner's 2026-11-10 decision — is a shipped mode with zero automated coverage on the stick layout.

How I found it

Split of #4018 (owner decisions of 2026-11-10); shared with #4009's acceptance criteria.

How important is it

High for 2.1.0; it gates the standalone rig story, but #4009's own leg may land the same coverage — this child exists so it is not lost if that one stays disk-only.

Acceptance criteria

  • A stick-booted rig is set up through the 'Another pool' wizard path pointed at the CI Pithead's stratum, with no pairing; it mines (_rig_mining_up), and its feed and API answer from the LAN (an off-guest reader, not loopback).
  • The leg uses a Pithead only — no outside pool (owner, 2026-11-10).
  • If pithead#4009's own KVM leg already boots a USB-bus stick in this shape, this child adds only the missing assertions and says so in its PR.
  • Tier-1 selftest for the pairing-optional verdict; fixtures clean on failure; rig-battery.md/testing-strategy.md rows updated.

Possible solutions

Parent: #4018

Worker brief: Test tier: tier4-kvm (rigmedia phase), plus a tier-1 selftest. Prereq pithead#4009 (wizard 'Another pool' path, paired boolean) — return blocked naming it if unmerged. Check first whether #4009's own KVM leg already boots the USB-bus stick standalone; if it does, add only missing assertions and note the duplication in the PR, or close with left_out reasoning on the child. Otherwise add a leg: boot the v1 image on the USB bus, set up through 'Another pool' at the CI Pithead's stratum (reuse the remote-pool/CI-Pithead guest shape from tests/os/phases/rig.sh and its helpers; disk=usb, no pairing, paired=false in rig.json), assert _rig_mining_up, an accepted share if the rig phase's pool harness can see it, and read the rig's feed and API from the LAN side (host/virbr, not the guest's loopback), token still required. No outside pool anywhere (owner ruling in #4009). Fail-path cleanup like _rigmedia_fail_cleanup; selftest registered where CI runs it; make lint-file-budget; no comments in edited hunks. Submit tier4-kvm phase rigmedia via bin/bench-submit --base develop-v2.1.0; quote bench-ci evidence unedited.

Activity

  1. added this to the v2.1.0 milestone on Nov 27, 2026
  2. added
    testing
    appliance
    needs-triage
    size:M
    on Nov 27, 2026
  3. added
    bug
    on Nov 27, 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

    appliancebugneeds-triagesize:Mtesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions