Repository navigation
Description
Problem
The node hawk (a GPU worker) reboots on its own, several times a day. It ran kernel 7.2.8 and 7.2.15 (Debian). Only hawk shows this. condor, hog and gemini run the same profiler config and show no reboot. The node is cordoned since 2026-11-06 and still reboots, and the 16 GiB Ollama tier that ran on it is already out of the gateway (#3697).
Facts from the investigation of 2026-11-05:
- 2026-11-05 17:08Z, first boot of kernel 7.2.15: Alloy loaded its eBPF tracer and died 14 s later of the Go
fatal error: pidleput: P has non-empty run queue. Then the kernel loggedBUG: workqueue leaked atomic, lock or RCU ... RCU=0->-1 workfn=bpf_map_free_deferred. The journal went silent andhawkrebooted. The container was the pod of thealloy-profilesDaemonSet onhawk. - 2026-11-02 04:22Z, kernel 7.2.8: an Oops in
__run_timers(NULL write, a delayed-work timer). The trace has no BPF frames. Alloyseccomp.c:389and RCU WARNs came before it. hawkis the only Gigabyte Z590 UD AC with BIOS F6 (2021-11-03). An intel-microcode update from 2026-11-05 applies at the next boot.hawkran 20 h on 7.2.8 with the profiler before the 7.2.15 boot. So the fault is intermittent, and the kernel update did not cause it alone.- The Alloy eBPF profiler is the only eBPF program loader on the nodes. Falco has no manifest. The CNI is flannel with iptables.
Expected
The cause of the host crashes is found and recorded on this issue. The profiler exclusion for hawk (see Related) then goes away, or stays with the cause named.
Open hypotheses:
- The Alloy eBPF profiler with the kernel 7.2.x BPF code.
- The BIOS F6 of 2021 with the new microcode.
- Faulty RAM.
- The kernel 7.2.x on its own.
Acceptance criteria
Steps that only a person can do (they change the host):
- Run a memory test on
hawk(for example memtest86+ for several passes). - Update the BIOS to the newest release for the board.
- Capture a crash with pstore, kdump or netconsole, so that the kernel log survives the reboot.
- Try an older kernel, and note the result.
- Record the cause on this issue, with the evidence.
- Remove the
hawkentry from the node affinity ofalloy-profilesink8s/monitoring/k8s-monitoring-values.yaml, if the profiler is not the cause (or keep it and name the cause).
Existing tool considered
pstore, kdump and netconsole are Linux kernel tools. memtest86+ tests RAM. No new code is needed.
Related
- fix(k8s): the ebpf profiler skips hawk #3784 (the exclusion of
hawkfrom the eBPF profiler). - fix(k8s): the gateway stops using the 16 GiB tier #3697 (the Ollama tier removed from the gateway).
Alternatives check of 2026-11-08: partly.
Tool: memtest86plus/memtest86plus (https://github.com/memtest86plus/memtest86plus), GPL-2.0, last activity 2026-11-08, maintained.
Proposed design
Problem statement
The node hawk rebooted on 2026-11-02 and 2026-11-05 and hung on 2026-11-10, all on kernel 7.2.x. The alloy-profiles DaemonSet stays off hawk on the suspicion that its eBPF profiler caused the faults. The profiler did not run on hawk for 3 days before the hang, and that boot shows the same RCU state corruption as the boots that had the profiler, so the profiler is not the cause. The exclusion, its values comment, its README row, its spec requirement and its test go, and the hardware investigation of the node moves to its own issue.
Acceptance criteria
Requirement: The alloy-profiles affinity excludes no node
The alloy-profiles collector values in k8s/monitoring/k8s-monitoring-values.yaml SHALL hold no controller.affinity and no comment that names hawk.
Scenario: The collector values are read
- WHEN A test reads
collectorsink8s/monitoring/k8s-monitoring-values.yamland the text of thealloy-profilesblock - THEN
alloy-profileshas nocontroller.affinity, no line of its block nameshawkor fix(k8s): find the source of the hawk host crashes #3785, andalloy-metricskeeps its one required term with the expressionnode-role.kubernetes.io/control-planeDoesNotExist.
Requirement: The spec drops the hawk exclusion
The monitoring-collectors spec SHALL hold no requirement or scenario that names the node hawk.
Scenario: The spec is read
- WHEN A test reads
openspec/specs/monitoring-collectors/spec.md - THEN No text of the spec names
hawk, and the requirements for thealloy-metricswrite-ahead log and control-plane affinity stay.
Requirement: The README Pyroscope row states no exclusion
The Pyroscope row of k8s/README.md SHALL state no node exclusion.
Scenario: The README row is read
- WHEN A test reads the row of the dashboard table that names
pyroscope.json - THEN The row names no
hawkand no node affinity, and it still namesalloy-profilesand theprofilingfeature.
Requirement: The profiler test asserts no exclusion
The collector-affinity test test_the_ebpf_profiler_runs_on_every_node in tests/commands/k8s/test_k8s_monitoring_integration.py MUST assert that alloy-profiles, alloy-logs and alloy-singleton carry no controller.affinity.
Scenario: The test runs
- WHEN
devops ci test tests/commands/k8s/test_k8s_monitoring_integration.pyruns - THEN The test passes, its text holds no
hawkvalue, and it asserts the control-plane affinity ofalloy-metrics.
Existing Tool Considered
memtest86plus/memtest86plus (https://github.com/memtest86plus/memtest86plus), the tool that the alternatives check of 2026-11-08 named with the verdict partly, is open, GPL-2.0 and maintained: the page fetched on 2026-11-12 shows 585 commits and the latest commit of 2026-11-07. It runs several RAM test passes from its own medium and changes nothing on the node disk. It lacks the kernel log capture across a reset, which needs pstore with a ramoops region or netconsole to a second host from the Linux kernel (https://github.com/torvalds/linux); it lacks the BIOS and microcode check and the kernel older than 7.2, and it does not record the cause by itself. This change builds no code, so no build cost applies: it edits a values file, a README row, a spec requirement and a test.
Key questions
- What does the repository hold for the hawk exclusion now?:
collectors.alloy-profiles.controller.affinityink8s/monitoring/k8s-monitoring-values.yamlholds one required node selector term with the expressionkubernetes.io/hostnameNotIn [hawk], and the comment above it cites fix(k8s): find the source of the hawk host crashes #3785 and fix(k8s): the ebpf profiler skips hawk #3784.k8s/README.mdstates the same exclusion in the Pyroscope row.openspec/specs/monitoring-collectors/spec.mdholds it as the requirement "The alloy-profiles pod does not run on the node hawk". The testtest_the_ebpf_profiler_runs_on_every_node_except_hawkasserts the exact affinity, so it fails when the entry goes and the test stays. The exclusion is merged and released (fix(k8s): the ebpf profiler skips the node hawk #3788,CHANGELOG.md:1167). [sources: k8s/monitoring/k8s-monitoring-values.yaml:398, k8s/monitoring/k8s-monitoring-values.yaml:402, k8s/README.md:319, openspec/specs/monitoring-collectors/spec.md:23, tests/commands/k8s/test_k8s_monitoring_integration.py:1196, CHANGELOG.md:1167] - Is the eBPF profiler the cause of the faults of hawk?: No. The profiler did not run on
hawkfrom about 2026-11-06 09:00Z to the hang of 2026-11-10 07:19Z, and the kernel log of that boot holds the same RCU state corruption as the events with the profiler. The Oops of 2026-11-02 has no BPF frames. The faults fit faulty RAM, an XMP memory profile, the CPU or BIOS F6. The evidence comes from the reply of 2026-11-12 on the issue. (best practice) [sources: k8s/monitoring/k8s-monitoring-values.yaml:398]- Chosen: The profiler is not the cause. The node ran 3 days without the profiler and then showed the same RCU corruption, and the 11-02 Oops has no BPF frames.
- Rejected: The profiler is the cause. It ran about 20 h on 7.2.8 with no fault, and it did not run before the hang of 2026-11-10.
- Rejected: The profiler is unproven, so keep the exclusion. The issue removes the entry when the profiler is not the cause, and the 11-10 event shows that.
- Which files change when the exclusion goes?: Four together in one pull request: the affinity and its comment in
k8s/monitoring/k8s-monitoring-values.yaml, the Pyroscope row ofk8s/README.md, the requirement inopenspec/specs/monitoring-collectors/spec.mdthat the change's spec delta removes anduv run devops openspec archivewrites, and the collector-affinity test intests/commands/k8s/test_k8s_monitoring_integration.py, renamedtest_the_ebpf_profiler_runs_on_every_node. The test must change in the same pull request, because it asserts the exact affinity. (best practice) [sources: k8s/monitoring/k8s-monitoring-values.yaml:402, k8s/README.md:319, openspec/specs/monitoring-collectors/spec.md:23, tests/commands/k8s/test_k8s_monitoring_integration.py:1196]- Chosen: Change all four in one pull request. The values file, the README, the spec and the test state the same exclusion, and the test fails if it stays.
- Rejected: Change the values file alone. The test asserts the
hawkaffinity, so it would fail, and the spec and the README would drift. - Rejected: Keep the exclusion and change only its comment. The issue removes the entry when the profiler is not the cause, and the 11-10 event shows that it is not.
- Which open, maintained tool covers the host steps?: memtest86plus/memtest86plus covers the RAM test for several passes: it is open, GPL-2.0 and maintained, with its last commit on 2026-11-07 (page fetched 2026-11-12). The Linux kernel's pstore with a ramoops region, netconsole and kdump cover the log across a reset. Each tool lacks the part of the others, and none records the cause. The change builds no code. [sources: https://github.com/memtest86plus/memtest86plus]
- Where does the hardware investigation of hawk go?: To a new issue. No pull request in this repository can run a RAM test, update the BIOS, read the microcode revision or install an older kernel, and the crash capture lives in the
dan-petty/homelabrepository. Refine files the deferred part as a new issue, and this issue delivers the removal of the exclusion, so its pull request needs no host access. (best practice) [sources: docs/ROADMAP_WORKFLOW.md:122, AGENTS.md:9, k8s/monitoring/k8s-monitoring-values.yaml:402]- Chosen: File a new issue for the hardware investigation. The host steps need physical and root access, and the crash capture is in another repository; refine files a deferred part as a new issue (
docs/ROADMAP_WORKFLOW.md:122). - Rejected: Keep the investigation in this issue. The item would wait on physical access with no pull request to deliver, and a person-only decision makes refine wait.
- Rejected: Do the crash capture in this repository. The crash capture is in the
dan-petty/homelabrepository, not in this one, and this repository holds no host code.
- Chosen: File a new issue for the hardware investigation. The host steps need physical and root access, and the crash capture is in another repository; refine files a deferred part as a new issue (
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 6, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(k8s)scope of the title gives the scope.The GPU worker reboots several times a day and has been cordoned since 2026-11-06.A recurring host crash blocks a GPU worker and threatens cluster reliability.Requires physical access, memory tests, BIOS update, crash capture, and kernel comparison.Both concern the hawk node crashes; dan-petty/devops-cli#3784 delivers the profiler exclusion workaround, while the candidate delivers the root cause identification.devops-cli-service commentedon Nov 6, 2026
Refine cannot set this item to Ready at bd65ef6 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
hawk, and when? (a person decides)dan-petty commentedon Nov 6, 2026
Uptime evidence from the node exporter on 2026-11-07 (not a cause, a data point):
bpf_map_free_deferredBUG), 2026-11-06 05:11Z, and none since.An interactive checklist for the host steps (crash capture, older kernel, memory test, BIOS) is ready for the person who has access to the host.
dan-petty commentedon Nov 6, 2026
Correction and host facts from the node, 2026-11-06 (read-only commands, run without root):
dmidecodeis not installed on the node, and/sys/fs/pstoreanddmesgneed root.journalctl -b -1 -e) needs root or the groupsystemd-journal.devops-cli-service commentedon Nov 7, 2026
Refine cannot set this item to Ready at 0550497 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 8, 2026
Alternatives check: partly
Reason: The searches found memtest86+ (open, maintained, GPL-2.0) and the Linux kernel's own crash tools (pstore with a ramoops region, netconsole, kdump), which the issue already names. One tool covers only a part of the need: memtest86+ settles the faulty-RAM hypothesis, while the kernel log capture and the BIOS, microcode and older-kernel steps remain for other tools and a person with host access.
Tool: memtest86plus/memtest86plus (https://github.com/memtest86plus/memtest86plus)
Covers:
Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-08. A person decides what this means for the item. The check changes no label and closes no issue.
dan-petty commentedon Nov 12, 2026
New event:
hawkhung on 2026-11-10 and did not reboot. It was NotReady from 2026-11-10 07:19Z until a person restarted it on 2026-11-12. While it was hung, it did not answer on SSH, the kubelet or the node exporter. The journal reached Loki until the end, so this time the kernel log is kept (Loki{instance="hawk", transport="kernel"}, boota331f6e2).Sequence (UTC):
WARNING: kernel/rcu/tree_plugin.h:823 at rcu_sched_clock_irq+0x889/0xcc0, CPU#8: alloy/3517. This is an RCU state warning, of the same class as the RCU WARNs before the Oops of 2026-11-02 and theRCU=0->-1BUG of 2026-11-05. The current process wasalloy, which runs on every node.rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 7-...D }, once every 63 s, for about 23 h.WARNING: kernel/time/timer_migration.c:736 at tmigr_cpu_activate+0x55/0x60, CPU#7: swapper/7/0. The node was lost at 07:19Z.What this shows:
hawkfor 3 days before this event. So the profiler is not the cause.hawkon 2026-11-12 with 16 GiB of RAM (it had 64 GiB). It stays cordoned until the memory test and the BIOS update are done.feat/node-crash-capture) was not applied: the kernel line of the last boot has nocrashkernel=. As written, it would also not catch this event, because it panics only on an Oops and on a soft lockup. The homelab PR for that branch addskernel.panic_on_rcu_stall=1,kernel.hardlockup_panic=1and the hardware watchdog (theiTCO_wdtdriver is loaded; systemdRuntimeWatchdogSec), so that such a hang becomes a reset with a saved log.12 remaining items
dan-petty commentedon Nov 13, 2026
implement: retry
devops-cli-service commentedon Nov 13, 2026
Cleared the stop at group 1 by the rule
retry: a person commentedimplement: retry. The item is Planned again, and the Service takes it in the next round.fix(k8s): Drop the exclusion from the Pyroscope row of the k8s README (…
docs(openspec): archive the change (#3785)
devops-cli-service commentedon Nov 13, 2026
Pull request #5336 is ready for review. The checks passed.
Spend: 57 model requests, 2770187 input tokens, 13381 output tokens.
devops-cli-service commentedon Nov 13, 2026
Released in v0.125.4: https://github.com/dan-petty/devops-cli/releases/tag/v0.125.4
devops-cli-service commentedon Nov 13, 2026
Live since 2026-11-13 02:53 UTC