Skip to content

Build the range on gandalf #421

Open
0 of 1 issue completed
Open

Description

@Gerrrt

ifrit, the offensive range's host, decided by ADR-0017 ("Buy ifrit for
IOPS and keep the range disposable") and specced there. #96 closed on the
decision and the runbook, and the purchase lost its tracker — the roadmap
still ends its entry with "what is left is the purchase itself and the
build", and ADR-0015 still says "ifrit is unpurchased". Same shape as
#102 → #404 and #95 → #413; this is the tracker.

What is decided (ADR-0017)

  • Form: a quiet SFF or mini box, not rack-mounted, one NIC, on a Green
    (VLAN 30) access port of neo and an outlet on the PDU.
  • Disk: NVMe. Not a spindle, not a mirror — the range is disposable by
    decision and gets no backups and no PBS.
  • RAM: two socketed slots, 32 GB fitted; the second slot is the fix if
    four concurrent targets and a BloodHound ingest do not fit — "a memory
    kit rather than a machine".
  • Address: VLAN 30, per ADR-0014; the attack VM is its only dual-homed
    guest, the targets sit on a bridge with no physical port.

What it waits on

ADR-0017 and build-the-playground.md §0 put three things ahead of it, and
they are now: #101's estate (the domain, #414, and the SOC stack, #266/#267)
— an attack VM pointed at an uninstrumented estate teaches nothing; #234's
tripwire (armed and verified 2026-09-08); #235 (decided, the iLO stays, and
the BMC hardened 2026-09-09). So the purchase is gated on #414 being built,
and is the last purchase on the estate's list, not the next.

Order of work

  1. Buy it, to the spec above, when Build the lab Windows domain on Saruman (ADR-0029) #414's domain is up. The two SM863a SSDs
    bought under Fit the two SSDs in Saruman, and re-derive what the spindles decided #418 are for Saruman, not this box; Fit the two SSDs in Saruman, and re-derive what the spindles decided #418 says the range
    still needs NVMe of its own.
  2. build-the-playground.md §1–§9: rack, the two bridges, move Saruman
    to 10.0.30.20, close the management plane, the attack VM, the targets,
    the four properties, prove a leak reports itself.
  3. The optional Loki rule from ADR-0014 (a 172.30.30.0/24 source logged
    as a block on igc0.30) lands here, once the subnet is real.

Purchases this needs

The box. Nothing else — and a memory kit only if 32 GB proves short.

Activity

  1. added a commit that references this issue on Sep 9, 2026
  2. added this to the Wave 5 — last milestone on Sep 11, 2026
  3. Gerrrt commented on Sep 17, 2026

    @Gerrrt
    OwnerAuthor

    2026-09-17 — the gate read, and the documents reconciled. No purchase, no build.

    The gate, as it stands today

    State
    #414 — the lab domain Open. Wave 2. This is the gate
    #266 / #267 — the SOC stack Open. Wave 2, behind the domain
    #101 — the umbrella Open, and not a thing anyone builds; the two rows above are what it means here
    #234 — the ImaginationLAN tripwire Closed. Armed and verified 2026-09-08
    #235 — does shiva stay on VLAN 30 Closed. Decided 2026-09-08 (ADR-0033); the hardening it owed done 2026-09-09

    So the purchase is still gated on #414, and is still the last on the estate's
    list rather than the next. Nothing was bought and nothing was built.

    What did land — #490

    The half of this issue that does not need the hardware: three documents that
    still described the purchase through the closed #96.

    • docs/roadmap.md — the Infrastructure entry was keyed to Procure ifrit and build the playground — after the main network is finished #96 and ended
      "What is left is the purchase itself and the build", which reads as though
      the money were the next thing to spend. Re-keyed to this issue, with the gate
      written out as above. The file had been contradicting itself since this issue
      was opened: Everything still to buy at the top already said "the last
      purchase on this list, not the next".
    • docs/runbooks/build-the-playground.md — §0's prerequisite table read as
      three open to-dos, two of which had been closed for over a week. It gains a
      State column, so a reader arriving on build day does not re-arm the
      tripwire or re-harden the BMC, and the blocking moves into a paragraph beneath
      the table where it cannot be skimmed past.
    • docs/runbooks/build-the-lab-guest.md — Saruman .20 is after this
      issue, not after Procure ifrit and build the playground — after the main network is finished #96.

    Left alone on purpose

    • ADR-0015's "ifrit is unpurchased" — still true. It stops being true on
      the day the box is bought, and that is the right time to touch it.
    • The buy list and its One more, later paragraph — already correct, and
      check_buy_list ties both to README's count.
    • The #96 references in ADR-0014, -0017, -0029, -0031 and the Decide whether the lab VLAN needs egress filtering #86 Done
      entry
      — history, and correct as history (ADR-0001).
    • ADR-0014's optional Loki rule (a 172.30.30.0/24 source logged as a block
      on igc0.30) — still step 3 of the order of work above, once the subnet is
      real. It was considered for authoring ahead of the hardware, the way
      stacks/sensitive/ was authored ahead of trinity, and deliberately not:
      §9 already proves the property by hand on build day, and a rule that cannot
      fire until a subnet exists is not something this estate keeps.
    • A candidate-machine shortlist — ADR-0017 and the roadmap both say the
      model, CPU and disk are chosen at the till and named only afterwards, in
      hardware.md. Pricing them now would be stale by the time Build the lab Windows domain on Saruman (ADR-0029) #414 clears.

    make lint and make check-docs both pass, with check_docs' output identical
    to the baseline — no counted fact moved.

  4. added a commit that references this issue on Sep 17, 2026
  5. Gerrrt commented on Sep 26, 2026

    @Gerrrt
    OwnerAuthor

    2026-09-26: The domain is up (#414, six guests since 2026-09-25), but step 1's "when #414's domain is up" isn't the whole gate. build-the-playground.md §0 and roadmap.md also want the SOC, and #266 and #267 are both open. This is still the last purchase, not the next. The roadmap's buy-list line now says so (#670).

  6. Gerrrt commented on Oct 1, 2026

    @Gerrrt
    OwnerAuthor

    2026-10-01 — the gate is clear, and a shortlist for the box. Nothing bought.

    The gate

    #266 and #267 both closed 2026-09-27, so the SOC half of the gate in the 2026-09-26 comment above is met. With #414, #234 and #235 already done, nothing blocks step 1. roadmap.md and §0 of build-the-playground.md still say the SOC is not built. They are not touched here.

    Shortlist

    These are eBay asking prices checked live on 2026-10-01. Sold-price history sits behind a login, so they are not comps. "All-in" means the price to reach ADR-0017's 32 GB.

    # Unit Shipped To 32 GB All-in Why
    1 Lenovo M80q (Gen 1), i7-10700T, 1×16 GB, 256 GB NVMe $262.63 One 16 GB DDR4-3200 SO-DIMM (estimated ~$50–65) ~$315–330 8C/16T and an Intel I219-LM. The seller states 1×16 GB, so the second slot is free. Lenovo 135 W adapter included. 30-day returns, seller pays. Best Offer. 3 available
    2 HP EliteDesk 800 G6 Mini, i7-10700T, 16 GB / 256 GB $244.90 2×16 kit (~$120–130), since the stick layout is not stated ~$340–375 Has the quietest reputation of the group. Two M.2 slots. Adapter included. 30-day returns, seller pays
    3 Lenovo M70q Gen 2, i7-11700T, 16 GB / 256 GB $269.99 2×16 kit ~$395 1-year warranty. The adapter is probably included but needs confirming
    — Lenovo M90q, i5-10500T, 32 GB / 512 GB $244.88 — ~$245 6C/12T and Intel. Seen once and not re-found, so unverified
    — Lenovo P340 Tiny, 32 GB, r/homelabsales (PA) $300 — $300 Seen in search snippets only; Reddit blocked a direct read

    For reference, the first pass picked an HP 800 G6 Mini with 32 GB fitted at $449. #1 beats it by about $120 with the same CPU and NIC.

    Ruled out, and why

    • Dell OptiPlex 7080 Micro. Repeated owner reports describe the fan as turbine-loud at low load, and BIOS updates and fan swaps did not fix it reliably. ADR-0017 fixes quiet as a requirement that cannot be retrofitted.
    • The AMD units: HP 805 G6 (4750GE, $305, no returns), Newegg's ProDesk 405 G8 ($269.99) and the Lenovo M75q Gen 2. They have good CPUs but use Realtek RTL8111 NICs, and r8169 on PVE 8/9 has a known pattern of transmit timeouts that take the host offline. ADR-0017 allows one NIC, and on that NIC sits the boundary ADR-0014 depends on, so it is the wrong part to economise on.
    • Retailers outside eBay. Amazon Renewed, Back Market, PCLiquidations and Micro Center asked $460–$1,150 for the same hardware. Dell Refurbished has no 7080 or 7090 Micro stock, and no October codes have been posted.

    What the RAM market changes

    DDR4 SO-DIMM prices are up about 3× since early 2025, and used 2×16 kits now start at about $120. Even so, units sold with 32 GB fitted ask more than that premium, so a 16 GB unit plus RAM is the cheaper path. A unit that ships 1×16 with a free slot is cheaper still. That is the case ADR-0017's "second slot" argument already makes, now applied at purchase.

    For the build, whichever unit is bought

    • The I219 hardware-unit hang. e1000e on the I219 is known to stall TX under load. The usual fix is post-up /sbin/ethtool -K <iface> tso off gso off in /etc/network/interfaces. This belongs in build-the-playground.md.
    • Intel AMT. If the firmware exposes it, disable it in MEBx. Otherwise it is a management plane on VLAN 30 that ADR-0014 does not account for.
    • Wi-Fi. Disable it in firmware or pull the card. ADR-0017 allows one NIC, and every candidate above ships with Wi-Fi.

    Per ADR-0017 and the roadmap, the model, CPU and disk are recorded in hardware.md once the box is bought, along with ADR-0015's "ifrit is unpurchased". None of that moves on a shortlist.


    Generated by Claude Code

  7. Gerrrt commented on Oct 6, 2026

    @Gerrrt
    OwnerAuthor

    2026-10-05: ifrit is bought. It's a Lenovo ThinkCentre M80q Micro, refurbished: eBay item 800466163205, "Lenovo ThinkCentre M80q Micro i7-10700T 2GHz 8GB 256GB SSD". It hasn't been delivered yet.

    It matches ADR-0017's form: a quiet 1-litre Tiny, socketed RAM and NVMe. Lenovo's PSREF sheet for this generation (https://psref.lenovo.com/syspool/Sys/PDF/ThinkCentre/ThinkCentre_M80q/ThinkCentre_M80q_Spec.pdf) says:

    • Memory: two DDR4 SO-DIMM slots, DDR4-2666/2933, up to 64 GB.
    • Storage: one M.2 2280 SSD slot, PCIe 3.0 x4 (the second M.2 slot is for WLAN), plus a 2.5" bay.
    • Power: an external adapter, 65, 90 or 135 W.

    Still to buy before it meets ADR-0017

    Part Pick Note
    2 × 16 GB DDR4 SO-DIMM Crucial CT2K16G4SFRA32A (3200, runs at 2933) Replaces the 8 GB it ships with. Prices are inflated right now (~$190–230 against a ~$138 average)
    1 TB NVMe WD Red SN700 1 TB (WDS100T1R0C) Replaces the 256 GB drive, because there is one SSD slot. It is Gen3 like the slot, has a DRAM cache and is rated for 2,000 TBW, which suits the range's snapshot reverts
    1U mount A 19" mount for the ThinkCentre Tiny that holds the power brick ifrit takes U10 in the 27U rack plan (#918). A ProDesk Mini tray is not assumed to fit a Tiny

    Once these are fitted, this issue's build steps can run.

  8. 19 remaining items

  9. Gerrrt commented on Nov 12, 2026

    @Gerrrt
    OwnerAuthor

    Split out: Sliver on ragnarok is now #1481, a sub-issue of this one in the last milestone. ragnarok itself was rebuilt by OpenTofu on 2026-11-12 (#1464) and passed scripts/finish-attack-vm.sh.


    Generated by Claude Code

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

    featureA new capability or a change

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions