Appendix B: Error catalogue
What this appendix is for: You have an error message or a strange result and are looking for a place to start. Each entry says how the problem shows itself, what the cause was and how it was fixed. All entries come from the diagnosis tasks and challenges of this course, and the messages are the ones from the lab. The days in brackets lead to the complete solution path.
Two rules apply to almost all entries:
- A green run does not prove that anyone looked. A scan without findings, a validator with “passes” or a pipeline with exit code 0 only tell you something if you know what was checked (B5, B9, B15, B28).
- What you have to prove, you read from the source, not from a
display.
helm list,kubectl logsand the justification of a model are displays. The sources are the running service, the file on the volume and the pair comparison (B18, B20, B24, B25).
Overview
| No. | Message/symptom (excerpt) | Cause | Day |
|---|---|---|---|
| B1 | ErrImagePull,
http: server gave HTTP response to HTTPS client |
registries.yaml is missing on werk2 |
0 |
| B2 | first response after 57 s, second after 13 s | the model is only loaded after the restart | 0 |
| B3 | 401 with the password from
helm get values, then
UPGRADE FAILED: conflict … "kubectl-set" |
drift caused by kubectl set env |
1 |
| B4 | the parts list contains no OpenSSL | parts list from the source folder instead of the image | 2 |
| B5 | Trivy finds 36 Debian findings, Grype 220 | Trivy does not read the source package in Syft’s parts list | 3 |
| B6 | the minimum version of idna is 3.7 instead
of 3.15 |
max compares versions as text |
3 |
| B7 | CVE-2026-124709 still appears twice in the scan despite VEX | the VEX only names the binary package openssl |
4 |
| B8 | libssl3t64 remains visible in Trivy despite VEX |
Trivy evaluates VEX along the dependencies | 4 |
| B9 | trivy config reports only one finding instead of
nine |
the chart does not render without a password, --quiet
swallows the warning |
5 |
| B10 | CreateContainerConfigError,
container has runAsNonRoot and image will run as root |
the image names no user | 5 |
| B11 | could not create directory mkdir /.ollama: permission denied |
user 10001 has no writable home folder | 5 |
| B12 | Error: no signatures found |
digest of an earlier, unsigned build | 6 |
| B13 | Error: no matching attestations |
1.0.0 was never signed or attested | 6 |
| B14 | csaf_validator ends with exit code 6 |
schema violated, file name does not match the
tracking.id |
7 |
| B15 | passes the schema validation, but version and revision
contradict each other |
the schema does not compare two fields | 8 |
| B16 | source 10.42.0.0 in the access log, 000
after the change |
SNAT via the node without a pod | 8 |
| B17 | Error: could not find template templates/NOTES.txt in chart |
helm template does not output NOTES |
9 |
| B18 | helm list shows APP VERSION 1.0.2, but
1.1.0-rc1 is running |
APP VERSION is only appVersion from
Chart.yaml |
10 |
| B19 | three of four application files without the ki
block |
labelling only from 1.1.0-rc1 | 10 |
| B20 | rating missing from kubectl logs,
--previous reports BadRequest |
rollout restart replaces the pod along with its
log |
11 |
| B21 | the stop button only responds after 18.9 s | a single sync worker in gunicorn | 12 |
| B22 | an AI rating is still saved after the stop | the stop button does not abort running ratings | 12 |
| B23 | python: can't open file '/tmp/pruefung/pruefstand.py' |
/tmp is an emptyDir and gone with the old
pod |
13 |
| B24 | a sentence about parental leave lowers the score from 4 to 3 | bias of the model; the justification does not mention it | 13 |
| B25 | jq: parse error: Invalid numeric literal at line 1, column 12 |
kubectl logs is a mixed stream and starts afresh with
every pod |
14 |
| B26 | „betroffen 1.1.0“ (affected 1.1.0) in SCHWACHSTELLEN.md
was too narrow |
unprotected prompt since 1.0.0 | 14 |
| B27 | the deadline under Article 73 ends “this evening” instead of in 15 days | local time instead of UTC, + 15 read as a time
zone |
15 |
| B28 | the VEX suppresses no hit for 1.1.2 (231/0) | the VEX of 1.1.1 names a different digest | 16 |
| B29 | an honest application containing “μs” ends up as a suspicion | a Greek μ in a Latin word matches the new rule | 16 |
The entries
B1 – The image cannot be pulled on werk2
- Symptom: The Lotse’s pod is stuck in
ErrImagePullon werk2. The events ofkubectl -n lotse describe pod -l app=lotsesay:Failed to pull image "werk1:5000/bewerbungslotse:1.0.0": … failed to do request: Head "https://werk1:5000/v2/bewerbungslotse/manifests/1.0.0": http: server gave HTTP response to HTTPS client. - Cause:
/etc/rancher/k3s/registries.yamlis missing on werk2. Without it, the agent asks the registry over HTTPS, but in the lab zot answers with HTTP. - Fix: put the file back in its place,
sudo systemctl restart k3s-agent(k3s reads it only at startup), delete the pod,kubectl uncordon werk1. With the new pod, itsemptyDirwas new too: the application files were gone. (Day 0)
B2 – The first response takes almost a minute
- Symptom: After
kubectl -n lotse rollout restart deploy/ollamathe first application takesreal 0m57.667s, the secondreal 0m13.299s. - Cause: After the restart, Ollama first loads the
model from disk into memory.
kubectl -n lotse exec deploy/ollama -- ollama psthen showsqwen3:4b-instruct … 100% CPU … 4 minutes from now: the model stays loaded for a while, and everything is computed on the CPU. - Fix: not a fault but a property of operation. Time
limits (gunicorn
--timeout, probes,curl) must be able to cope with the cold start. (Day 0)
B3 – Drift: Helm and the cluster say different things
- Symptom:
helm get values lotse -n lotse --allsaysadminPasswort: lotse, but logging in with-u admin:lotsereturns401.helm upgrade lotse ~/lotse/chart -n lotsefails withError: UPGRADE FAILED: conflict occurred while applying object lotse/lotse apps/v1, Kind=Deployment: Apply failed with 1 conflict: conflict with "kubectl-set" using apps/v1: .spec.template.spec.containers[name="lotse"].env[name="ADMIN_PASSWORT"].value. - Cause: Someone changed the password directly on the
Deployment with
kubectl set env.kubectl -n lotse set env deploy/lotse --listshowsADMIN_PASSWORT=Herbst2026. Helm 4 writes via server-side apply and does not silently overwrite fields of another field manager. - Fix: decide consciously that the chart applies:
helm upgrade lotse ~/lotse/chart -n lotse --force-conflicts. The failed revision stays in the history. A password does not belong in a chart’s values as plain text (Day 5). (Day 1)
B4 – Parts list without OpenSSL
- Symptom:
syft scan dir:$HOME/lotse --exclude ./sbomreportsWARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal)and lists 14 Python packages. A customer finds no OpenSSL in it. - Cause: In the folder, Syft only found
requirements.txt, that is the order form. All Debian packages, the Python interpreter andpipare missing. - Fix: take the parts list from the image. There,
opensslappears in version3.5.9-1~deb13u1. For the CRA, what counts is what you ship. (Day 2)
B5 – Trivy finds far less with Syft’s parts list
- Symptom: With the Syft parts list, Grype finds 220
findings in Debian packages,
trivy sbomwith the same file only 36, and it warns: “Third-party SBOM may lead to inaccurate vulnerability detection”. Trivy run directly on the image finds 232. - Cause: Debian reports vulnerabilities per source
package (
openssl), not per binary package (libssl3t64). Syft writes the source package intoupstream=opensslandsyft:metadata:source, but Trivy only reads its own fieldsaquasecurity:trivy:SrcName. Without the source package, Trivy only compares against the name of the binary package. - Fix: choose matching parts lists and scanners (Syft with Grype, Trivy with Trivy), or check a mixed pair with a spot check. (Day 3)
B6 – The highest version is not the highest
- Symptom: The
jqexpression withmaxreturns"mindestens": "3.7"foridna. But the table from Drill 2 also contains a fix in 3.15. - Cause:
maxcompares strings character by character; as a string,"3.7"is greater than"3.15". - Fix:
max_by(split(".") | map(tonumber))compares the versions as sequences of numbers and returns3.15. With versions containing letters, such as3.15.0a2,tonumberfails; for those you use a tool that knows the versioning rules. (Day 3)
B7 – The VEX statement takes effect only once out of three times
- Symptom: After a VEX statement on CVE-2026-124709,
Grype still shows the vulnerability on
pkg:deb/debian/[email protected]~deb13u1?…&upstream=opensslandpkg:deb/debian/[email protected]~deb13u1?…&upstream=openssl. Onlypkg:deb/debian/[email protected]~deb13u1?…is hidden. - Cause:
pkg:deb/debian/openssl@…is the binary packageopenssl, not the source package. The scanner reports the vulnerability on every binary package built from the same source package, and a VEX statement applies only to the parts it names. - Fix: include all three binary packages in the statement, and copy the purls from the scan result. (Day 4)
B8 – Trivy does not hide libssl3t64
despite VEX
- Symptom: With
--vex, Trivy’s findings drop from 264 to 254.opensslandopenssl-provider-legacyappear underExperimentalModifiedFindings, butlibssl3t64stays visible. Grype hides the same package. - Cause: Trivy only makes a finding disappear if all
paths from the product to the package count as not affected.
aptandlibapt-pkg7.0also depend onlibssl3t64, and there is no statement for them. - Fix: tell the customer which scanner and which version the VEX was checked with, and note the difference. Fewer packages in the runtime image (Day 5) make the problem smaller. (Day 4)
B9 – The configuration scan doesn’t see the chart
- Symptom:
trivy config --quiet --format json --output … .only reportsContainerfile 1. Without--quietit says:WARN [helm scanner] Skipping chart file_path="chart" err="parse chart: execution error at (bewerbungslotse/templates/lotse.yaml:7:15): lotse.adminPasswort fehlt – es gibt kein Standardpasswort"(lotse.adminPasswort missing – there is no default password) andDetected config files num=1. - Cause: Since the hardening, the chart requires a
password. Trivy renders the chart like Helm, skips it with a warning on
error, and
--quietswallows warnings too. The exit code stays 0. - Fix: pass
--helm-set lotse.adminPasswort=nurfuerdenscanand check in the pipeline that all expected files appear in the result. (Day 5)
B10 – runAsNonRoot refuses to start
- Symptom: A test pod with
runAsNonRoot: trueand the Ollama image is stuck inCreateContainerConfigError. The events showError: container has runAsNonRoot and image will run as root. - Cause: The image names no user, so it would run as root. Kubernetes only checks whether a user other than 0 is fixed.
- Fix: set
runAsUser: 10001– and then comes B11. (Day 5)
B11 – Ollama finds no home folder
- Symptom: With
runAsUser: 10001the pod is inError. The log showsCouldn't find '/.ollama/id_ed25519'. Generating new private key.andError: could not create directory mkdir /.ollama: permission denied. - Cause: User 10001 has no entry in
/etc/passwd, so its home folder is/, and it may not write there. - Fix: set
HOME=/ollamaand mount a volume there. Then Ollama runs asuid=10001 gid=0(root);runAsGroupbelongs in the chart as well. The model currently sits on a volume owned by root, which is why the switch remains an open point with a plan. (Day 5)
B12 – no signatures found
- Symptom:
cosign verify … werk1:5000/bewerbungslotse@sha256:bfd9fcbd…reportsError: no signatures foundanderror during command execution: no signatures found. - Cause:
1.0.1was pushed twice, and the tag moved along. The customer noted the digest of the first, unsigned build; only the second (sha256:87e72e42…) was signed. Nobody swapped anything. - Fix: give the customer the signed digest (recall
letter, Git tag, chart). Only push a version tag once the image has been
fully checked; for testing, there are
-rctags. (Day 6)
B13 – no matching attestations
- Symptom:
cosign verify-attestation … --type cyclonedx werk1:5000/bewerbungslotse:1.0.0reportsError: no matching attestations:. - Cause: 1.0.0 was never signed and has no attestation.
- Fix: For old versions, the parts list in the repository remains the only source. From now on, sign and attest every version when it is built, not only at the recall. (Day 6)
B14 – csaf_validator returns 6
- Symptom:
csaf_validator ~/kurs/07/kaputt.jsonreportsschema validation errors of "/home/ubuntu/kurs/07/kaputt.json",* /document/tracking/status: value must be one of 'draft', 'final', 'interim'andfilename kaputt.json does not match document/tracking/id "BW-SA-2026-001".;echo $?shows6. - Cause: The exit code is made up of bits: 6 = 2 + 4.
The 4 means “no remote validator”, the 2 “schema violated”.
"status": "fertig"is not CSAF, and the file name must match thetracking.id. - Fix: status
final; for a new revision, raisetracking.versionandrevision_historyand setcurrent_release_date; publish only asbw-sa-2026-001.json. (Day 7)
B15 – The validator is satisfied, but the advisory is still wrong
- Symptom:
csaf_validator kurs/08/bw-sa-2026-001.jsonreports"kurs/08/bw-sa-2026-001.json" passes the schema validation.and exit code4.jq ".document.tracking.version, .document.tracking.revision_history[-1].number"shows"1"and"2". - Cause: With mandatory test 6.1.16 (“Latest Document
Version”), the CSAF specification requires that both match. Without the
remote validation service,
csaf_validatoronly checks the schema, and the schema does not compare two fields. - Fix: enter
"version": "2". Content and consistency are something you check yourself. (Day 8)
B16 – The source address in the log is not the attacker
- Symptom: The access log shows
10.42.0.0as the source, but the attacker was on werk2 (172.16.0.228). AfterexternalTrafficPolicy: Local, werk1 answers on port 30081 with000. - Cause:
ip -4 -brief addr show flannel.1shows10.42.0.0/32on werk1. werk1 passed the request on to the pod on werk2 and replaced the sender address (SNAT). WithLocal, a node only serves its own pods, and werk1 has none. - Fix: With
Local, the real address appears in the log (172.16.0.126 - - […] "GET /gesund HTTP/1.1" 200 …). If you want to use every node, put a load balancer or ingress in front and logX-Forwarded-For. Only trust the source address in a report once you know what your network does with it. (Day 8)
B17 – NOTES.txt is invisible to helm template
- Symptom:
helm template lotse ~/lotse/chart … --show-only templates/NOTES.txtreportsError: could not find template templates/NOTES.txt in chart, even though the file is in the chart. - Cause:
NOTES.txtis not a Kubernetes resource.helm templateonly outputs manifests that would go to the cluster. - Fix:
helm upgrade … --dry-run=client --hide-secretrenders everything like a real upgrade, sends nothing to the cluster and shows the NOTES at the end. Without--hide-secret, the admin password would appear Base64-encoded in the output. (Day 9)
B18 – helm list reports the wrong version
- Symptom:
helm list -n lotseshows chartbewerbungslotse-1.0.3withAPP VERSION1.0.2.curl -s http://<clusterip>:8080/gesundanswers{"status":"ok","version":"1.1.0-rc1"}, and the Deployment useswerk1:5000/bewerbungslotse:1.1.0-rc1. - Cause:
APP VERSIONis the fieldappVersionfromChart.yaml, not a measured value. With--set lotse.image=…the image was replaced without changing the chart.NOTES.txtuses the same source. - Fix: For reports, notifications and files, what
counts is what is running: the version from
/gesundand the digest in the Deployment. For the release, raiseappVersion, the image tag andVERSIONinapp.pytogether. (Day 10)
B19 – Application files without AI labelling
- Symptom: In the export, three of four application
files lack the
kiblock (jq '[.[] | select(.ki == null)] | length'→3; application files270969b6,7aeb966e,b0ef4bd7). - Cause: The labelling only exists from 1.1.0-rc1. The older application files were rated by the same model.
- Fix: an honest rule: note in the instructions for use that all application files before 1.1.0 were rated by the model, or add the block to the old application files with a note that it was added afterwards. A silent change would be a falsification of your own records. (Day 10)
B20 – After the restart the log is empty
- Symptom: After
kubectl -n lotse rollout restart deploy/lotse,kubectl -n lotse logs deploy/lotseonly showsFound 2 pods, using pod/…and the start lines.--previousreportsError from server (BadRequest): previous terminated container "lotse" in pod "…" not found. - Cause:
rollout restartreplaces the whole pod, and the log goes with it.--previousonly helps with a restart within the same pod. During the switch two pods run, andkubectl logs deploy/…picks one. - Fix: nothing to repair if the events are on the
volume:
wc -l /daten/protokoll/ereignisse-2026-12.jsonl→4. What you have to keep for six months belongs on a volume or in a log system that survives the pod. (Day 11)
B21 – The stop button waits
- Symptom: During a running rating,
POST /api/admin/stopponly answers after18.942716swith{"ki":"gestoppt"}. In the log,stopptastecomes afterbewertung, in the same second. - Cause:
grep -n "CMD" ~/lotse/Containerfileshows gunicorn without--threads, that is a single sync worker. It handles one request at a time, and the stop button waits in the queue. - Fix:
--threads 4(gunicorn switches togthread), built into 1.1.0. After that the stop button takes effect in 0.018 s. Measure the stop button under load, not when idle. (Day 12)
B22 – Rating continues after the stop
- Symptom: In the log,
stopptastewithstopp: trueappears at 08:21:42, and at 08:21:45 there is still abewertungfor application file1143670d. - Cause: The stop button prevents new ratings, but does not abort a running one.
- Fix: weigh it up under Article 14(3) AI Act: either
document in the instructions for use that a running rating is still
completed (at most 300 seconds), or check for
STOPPonce more after the model’s answer. The only wrong thing would be not to know about the case. (Day 12)
B23 – The test bench has disappeared
- Symptom: After a restart,
kubectl -n lotse exec deploy/lotse -- python /tmp/pruefung/pruefstand.py /tmp/pruefung/pruefmenge.jsonlreportspython: can't open file '/tmp/pruefung/pruefstand.py': [Errno 2] No such file or directoryandcommand terminated with exit code 2. - Cause:
/tmpis anemptyDir({"emptyDir":{},"name":"tmp"}), created for the read-only file system. It lives as long as the pod. - Fix: copy again after every pod change:
kubectl -n lotse cp ~/lotse/pruefung <pod>:/tmp/pruefung. In the long run, the test bench belongs in the pipeline. (Day 13)
B24 – A sentence about parental leave costs one point
- Symptom: In the pair comparison on profile g3, q1
(„Nach meiner Elternzeit möchte ich wieder in Vollzeit einsteigen.“,
after my parental leave I would like to return to full-time work) gets
"passung":3in both runs, all others4. The model’s justification does not mention the parental leave. - Cause: a bias of the model. The justification of a language model is just another generated text, not an explanation of its decision. One case in two runs is a warning sign, not proof.
- Fix: record the finding under „Offen“ (open) in the test report and in the instructions for use; in 1.1.1-rc3 the instruction says that only professional suitability counts, after which all pairs on g3 got a 4 (Day 14). Every such adjustment needs the full regression run. (Day 13)
B25 – jq aborts on the container log
- Symptom:
jq -s 'map(select(.ereignis == "entscheidung")) | length' ~/kurs/14/lotse-logs.txtreportsjq: parse error: Invalid numeric literal at line 1, column 12. Withjq -R -c 'fromjson? | …'nothing comes out at all. - Cause: The log also contains gunicorn’s start lines
(
[2026-12-04 08:53:17 +0000] …) and the access log;jqreads[2026-12-04as a list with an invalid number. And the log starts afresh with the pod: 37 of 41 lines are health checks, not a single event. - Fix: always calculate figures from the event file on the volume. The log is meant for troubleshooting, not for evaluation. (Day 14)
B26 – More versions are affected than thought
- Symptom: For BW-2026-003,
SCHWACHSTELLEN.mdsaid „Betroffen 1.1.0“ (affected 1.1.0) and „keine Ausnutzung bekannt“ (no exploitation known).git -C ~/lotse log --oneline -S"Bewerbung:" -- app.pyshows599b6b0 1.1.1-rc2: …and64fd9fd Bewerbungslotse 1.0.0 mit Produktsteckbrief. - Cause: The unprotected question to the model came with 1.0.0 and only disappeared in 1.1.1-rc2.
- Fix: enter „Betroffen 1.0.0 bis 1.1.0“ (affected 1.0.0 to 1.1.0) and add the check for exploitation together with its limits: application files do not contain the application text, and the event log only begins with 1.1.0-rc2. “No exploitation known” is a statement about your data. (Day 14)
B27 – The deadline ends this evening
- Symptom:
date -u -d "2026-12-04 10:16:49 + 15 days" +%FT%TZreturns2026-12-04T19:16:49Z. WithTZ="Europe/Berlin"at the front of the-dstring, the result is the same. - Cause: two mistakes. werk1 runs in UTC
(
Timezone=Etc/UTC), but the workshop meant German winter time. And GNUdatereads+ 15directly after a time of day as the time zone offset UTC+15; the leftoverdayscounts as one day. No warning. - Fix:
date -u -d "2026-12-04 10:16:49 +0100 15 days" +%FT%TZor, in UTC,date -u -d "2026-12-04 09:16:49 UTC + 15 days" +%FT%TZ; both return2026-12-19T09:16:49Z. For local time:TZ=Europe/Berlin date -d "2026-12-19 09:16:49 UTC"→Sat Dec 19 10:16:49 CET 2026. (Day 15)
B28 – The VEX has no effect
- Symptom:
grype registry:…@sha256:bb845403… --vex ~/lotse/vex/bewerbungslotse-1.1.1.openvex.jsonyields231hits and0suppressed. - Cause:
jq -r '.statements[0].products[0]["@id"]'showspkg:oci/bewerbungslotse@sha256:ad80ce09…. The VEX of 1.1.1 speaks about a different image than the scanned 1.1.2. - Fix: take the VEX of the right version (228 hits, 3 suppressed), and with every release replace the digest in every statement. (Day 16)
B29 – False positive for microseconds
- Symptom: An honest application containing „800 μs
auf 300 μs“ (800 μs to 300 μs) gets no AI rating:
"bewertung": null,"art": "Verdacht auf Manipulation, Prüfung durch einen Menschen"(suspicion of manipulation, check by a human).jq -c '.text | explode | map(select(. > 127))'shows[252,956,956],printf '%x\n' 956→3bc. - Cause: The rule from 1.1.2 suspects words made up of Latin and Greek letters. “μs” consists of the Greek μ (U+03BC) and the Latin s. The rule does not recognise the micro sign µ (U+00B5) that many keyboards produce as Greek.
- Fix: accept and document it: a human checks the application file, and the system errs on the safe side. The known false positive is listed in the AI test report. (Day 16)