feat(komodo): park-lab stack on its own 7070 (server park-lab, all modules); wiki: GRUB CLASS lines, dell-wmi-sysman admin password
Build & push images / images (push) Successful in 2m56s

- resources.toml: repoint the park-lab stack from art-docker-station to the
  dedicated park-lab Periphery; drop the shared-host port remaps
  (HTTP_PORT/SERVER_PORT/VISION_HOST_PORT); entitle every registered module
  (parking,validation,carwash); pin TAG=stage-9659373 (park-2's image).
- appliance-provisioning §5: both CLASS= lines in /etc/grub.d/10_linux work
  for --unrestricted (the else-branch interpolates the first); submenu stays
  restricted; conffile note.
- appliance-provisioning §1: authentication/Admin/is_enabled=1 means a BIOS
  admin password IS set; writes without it fail "Operation not supported",
  wrong ones "Permission denied"; feed it via read -rs.
- fleet-deployment-komodo: park-lab back on a dedicated box (2026-10-20),
  preflight list (docker group, periphery enable + linger, reboot so the user
  manager picks up the group), destroy the old stack on the previous host.
This commit is contained in:
2026-10-20 17:15:35 +02:00
parent 005447f938
commit e842f036e2
4 changed files with 55 additions and 22 deletions
+16 -16
View File
@@ -120,17 +120,22 @@ BACKUP_KEY=[[park_2_backup_key]]
"""
##############################################################################
# Stack — the LAB BENCH (not a booth): a spare Linux box with the field printer and
# whatever device is under investigation, so a booth bug can be reproduced on the booth's
# exact image before touching a real site. Same compose files + pinned TAG as the staging
# booths. Review outbox under its OWN id (booth-lab) — never a
# booth's identity, so bench crops stay separable on the collector. Its own secrets. See wiki/decisions/fleet-deployment-komodo.md.
# Stack — the LAB BENCH (not a booth): a dedicated OptiPlex 7070 provisioned like a booth
# (LUKS + TPM, Secure Boot, GRUB edit-lock, Periphery `park-lab`, 2026-10-20) with the
# field printer and whatever device is under investigation, so a booth bug can be
# reproduced on the booth's exact image before touching a real site. Same compose files +
# pinned TAG as the staging booths; the ONLY member entitled to EVERY module, so each
# feature the solution offers can be exercised here. Review outbox under its OWN id
# (booth-lab) — never a booth's identity, so bench crops stay separable on the collector.
# Its own secrets. (2026-10-08 → 2026-10-20 it ran on the shared art-docker-station with
# HTTP_PORT/SERVER_PORT/VISION_HOST_PORT remapped; a dedicated host needs none of that.)
# See wiki/decisions/fleet-deployment-komodo.md.
##############################################################################
[[stack]]
name = "park-lab"
[stack.config]
server = "art-docker-station"
server = "park-lab"
git_provider = "git.infra.msai.al"
git_account = "komodo"
repo = "mca/parking_solution"
@@ -145,17 +150,12 @@ environment = """
REGISTRY=git.infra.msai.al/mca/parking_solution
# Lab: pinned to the SAME stage-<sha> as the booth whose bug is being reproduced (bump
# alongside it). A lab may float, but a reproduction must run the booth's exact image.
TAG=stage-32b4d9e
# The lab stack runs on art-docker-station (2026-10-08), a SHARED host: :80 is another service's
# and :3000 / :8089 may be too. These three move every host binding (Caddy listen, host-net
# server, vision loopback publish); the UI is then http://<station>:8080/. Booth stacks leave
# them unset and keep :80 → :3000. See docker-compose.prod.yml + Caddyfile.
HTTP_PORT=8080
SERVER_PORT=3100
VISION_HOST_PORT=8189
TAG=stage-9659373
COOKIE_SECURE=0
# Entitled to Car Wash too, so the wash-desk printer role and till can be exercised on the bench.
MODULES_ENTITLED=parking,carwash
# EVERY registered module (apps/server/src/modules + @parking/shared MODULES): parking,
# validation (the Bar), carwash. The compose default is only parking,validation, so the full
# set must be spelled out. The site admin still activates within this set in Setup → Site.
MODULES_ENTITLED=parking,validation,carwash
# Review outbox ON for the bench too, under its OWN pseudonymous id (booth-lab) and its own
# secret — never a real booth's — so lab crops are separable on the collector (per-booth stats,
# the export's booth column) and the reviewer can label bench junk "unusable".