Files
infrastructure/llm-server/host/ansible/roles/workload_accounts
spektr 69930f815a Encoding: Pipeline-Konten, NFS-Mount, Layout und Handover-Simulation umgesetzt und verifiziert.
- workload_accounts: gn-media (GID 970), gn-download (983), gn-dashboard (984);
  gn-media als primäre Gruppe der Pipeline-Konten — AUTH_SYS ueber NFSv4 wirkte
  serverseitig nicht mit Supplementary-Gruppen (Betriebsbefund 30.10.2026);
  Sudoers des Deploy-Kontos auf (ALL:ALL) verbreitert (become_user)
- video_encoding: NFS-Client, Mount-Unit und Pipeline-Layout auf dem Export
  (10.0.0.2:/media/datenhdd3/Encoding -> /var/lib/ghostnet-pipeline, ausserhalb
  der Homes); Layout-Anlage als Dienstkonten wegen root_squash; Verifikation
  der Verzeichnisrechte als gn-encoding (2777/2770/0750/2750, Gruppe 970)
- pve_media_cron: Legacy-Crontab (chown root:root + chmod -R 0777 auf allen
  Medienplatten, alle 10 min) entfernt — haette jedes echte Berechtigungsmodell
  plattgewalzt; Backup unter /var/backups/ghostnet/pve/; verify-production
  prueft das Fehlen ab
- verify-pipeline-handover.yml: Handover-Simulation über alle Identitaeten
  (CT-101-.dlc-Drop -> gn-download -> queue -> gn-encoding -> output/state ->
  gn-dashboard); einmal vollstaendig bestanden (30.10.2026)
- Doku: GNENC-000/001/002, GNAI-017 (6.10/6.11), GNMON-001 auf Stand gebracht

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-30 20:47:42 +01:00
..

Workload accounts

The workload_accounts role creates separate locked service identities for AI Production, AI Testing, video encoding, the download workload (jDownloader2 plus VPN sidecar) and the monitoring dashboard. Each identity receives a stable UID/GID, a non-overlapping subordinate ID range, a private data root, an administrator-managed rootless Quadlet directory and a persistent systemd user manager. The three encoding-pipeline identities (gn-encoding 982, gn-download 983, gn-dashboard 984) share the supplementary group gn-media (GID 970) for the pipeline handover directories (GNENC-002).

Configuration remains owned by root and is readable by the corresponding service group. Workload data and the rootless Podman store belong to the service account. The role verifies that all Podman stores are rootless and use distinct graph roots.

The two AI accounts receive render as an explicit supplementary-group baseline; the three pipeline accounts receive no GPU group. This role does not define containers, networks, schedules or resource limits. Pipeline data directories live on the NFS export and are managed by the video_encoding role under the pipeline mount (GNENC-002 section 4).