Files
infrastructure/llm-server/llm/ansible/roles/model_store/README.md
T
spektr 89787b0e23 LLM-Server: IPv6 deaktiviert (host_baseline) + Swift-Repin und wget-4-Download nach Live-Befunden
Betreiberentscheidung 31.10.2026 (GNAI-002 Abschnitt 6): Der KI-Host wird
kohärent IPv4-only betrieben. host_baseline verwaltet
/etc/sysctl.d/99-ghostnet-disable-ipv6.conf (all+default), wendet es bei
Änderung an und verifiziert den Laufzeitwert. Anlass: hängender get_url-
Download durch AAAA-Antworten ohne nutzbare IPv6-Route (Messungen im
Dokument; Pi-hole filtert AAAA nicht, der Host nutzt Pi-hole nicht).

model_store nach Live-Befunden: Swift-Repin auf Repository-Revision
98a6100 (alte Revision entfernt, Datei laut Herausgeber-SHA256SUMS
unverändert; GNAI-010 v0.5) und Download über wget -4 mit expliziter
SHA-256-Verifikation vor dem atomaren Move.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-01 17:32:17 +01:00

1.6 KiB
Raw Blame History

model_store

Provides the shared, pinned model store under /var/lib/ghostnet-ai/shared/models (GNAI-010 sections 3 and 4). Weights are large, immutable, non-secret artifacts; every KI environment mounts its profile directory read-only.

Variables

  • model_store_root – root of the shared store (default /var/lib/ghostnet-ai/shared/models).
  • model_store_artifacts – list of pinned artifacts with profile, directory, file, sha256, url, repository, revision, origin and license.
  • model_store_include_vision – additionally provisions the Swift vision projector when true (default false; vision stage only, GNAI-010 section 3.4).
  • model_store_required_free_mib – free-space reserve checked before any pending download (default 71680).

Behaviour

  • Manifest is validated (unique profiles, 64-hex checksums, HTTPS URLs).
  • Directories are root:root 0755, artifact files root:root 0644; a SOURCE.yml provenance record is rendered per directory.
  • Downloads use wget -4 into a hidden .part file, followed by explicit SHA-256 verification; only after the checksum passed is the file moved into place (atomic). IPv4 is forced because the host resolves AAAA first but has no global IPv6 route (dual-stack CDN redirects would hang; observed 31.10.2026).
  • An existing file with a mismatching checksum fails the run; it is never overwritten or used.
  • Check mode downloads nothing; already-present files are still verified.

Tags

models – everything in this role. The service tag of inference_engine also re-verifies present artifacts.