Dev_REL2_043026: k-gamingcom first bring-up — 3 install bugs + mTLS certs needed #10
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lab Host: k-gamingcom
Branch:
Dev_REL2_043026Date: 2026-04-30
Operator: elliott
Bugs Found and Fixed
All three bugs hit during first
scripts/install-lab-host.shrun onk-gamingcom. Fixed in branchDev_REL2_043026.Bug 1 —
pycdlibin wrong dependency groupFile:
pyproject.tomlpycdlibwas listed under[dependency-groups] devbutinstall-lab-host.shonly installs main deps into the service venv.build_cidata.pyfailed on first install withModuleNotFoundError: No module named pycdlib. The in-guest agent ISO was not built.Fix: Move
pycdlib>=1.14to thedependencieslist.Bug 2 —
vm/images/directory not created in install root before symlinkingFile:
scripts/install-lab-host.shThe install script tries to symlink the Alpine qcow2 and cidata ISO into
$INSTALL_ROOT/vm/images/, but that directory is never created. Theln -sf ... || truesilently fails. Result: every episode exits withrc=1within 15 s becauselaunch_demo.shcannot find the image.Fix: Add
install -d -o cis490 -g cis490 -m 0755 $INSTALL_ROOT/vm/imagesbefore the symlink calls.Bug 3 —
cis490_doctor.pymodule import + subprocess CWDFile:
tools/cis490_doctor.pyTwo issues:
a. The doctor does
from exploits.modules import load_module_configsinline (not in a subprocess), butsys.pathdoes not include the repo root. Sincepackage = false, nothing is installed into site-packages. The import fails withNo module named exploits, giving a false red row in the report.b. The
check_end_to_endfunction runspython -m shipper --pingvia subprocess withoutcwdset. The shipper module is only importable when CWD is the repo root. The subprocess inherits whatever the caller's CWD is, causingNo module named shipper.Fix a: Insert
repo_rootintosys.pathat the start ofmain().Fix b: Pass
cwd="/opt/cis490"to the_run()call for the shipper ping. Also addcwdparameter to_run()helper.Remaining Items (Operator Action Required)
sudo /home/max/.env/wg-pki/scripts/deploy-cis490-cert.sh k-gamingcom <wg_ip>collector.wgDNS10.100.0.1 collector.wg bootstrap.wgto/etc/hosts(permanent fix: run wg-enroll)cis490-shipperservice/etc/cis490/certs/Verified Working
cis490-orchestratorruns 7 concurrent Tier-2 KVM episodes (rc=0, ~130 s each)telemetry-proc.jsonl,telemetry-qmp.jsonl,telemetry-guest.jsonl,labels.jsonl,events.jsonl,done.marker/var/lib/cis490/data/episodes/after first wavecis490-orchestratorsystemd unit enabled withRestart=alwaysfor continuous generationDoctor Summary (post-fix)
Remaining fails: mTLS certs (3 files missing), shipper service inactive, shipper ping FileNotFoundError. All blocked on Pi cert issuance.
Fixes merged to main in
95ac56a(Dev_REL2_043026 fast-forward).New lab-host first-boot should now show the doctor row green for tier3 module catalog and survive past the build_cidata step.