Skip to content

fix(k8s): find the source of the hawk host crashes - #5336

Merged
dan-petty merged 3 commits into
mainfrom
fix/3785-find-the-source-of-the-hawk
Nov 13, 2026
Merged

dan-petty merged 3 commits into
mainfrom
fix/3785-find-the-source-of-the-hawk

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The node hawk reboots or hangs on its own, and the alloy-profiles DaemonSet stays off it on the suspicion that its eBPF profiler is the cause (#3785). The profiler did not run on the node for the 3 days before the hang of 2026-11-10, and that boot shows the same RCU state corruption as the boots that had the profiler, so the exclusion hides the node's profiles and prevents nothing. The hardware steps need physical access to the host, so they move to dan-petty/homelab#356.

Closes #3785

Change: openspec/changes/archive/2026-11-13-3785-find-the-source-of-the-hawk/

@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 1 1273422/5848 -
group 2 done 1 424314/1684 -
  • scoped check pre-push: passed, 11 s
  • scoped check static: passed, 38 s
  • scoped check tests: passed, 13 s
  • verify of group 1: uv run devops ci test tests/commands/k8s/test_k8s_monitoring_integration.py tests/ai/test_llm_pool_metrics.py tests/commands/k8s/test_k8s.py tests/commands/k8s/test_k8s_logging_stack.py tests/commands/k8s/test_stack_dashboards.py tests/core/test_third_party_telemetry.py tests/prometheus/test_k8s_monitoring_alerting.py tests/prometheus/test_k8s_monitoring_dashboards.py exits 0.
timeout func_only: False
collected 366 items

tests/ai/test_llm_pool_metrics.py ..................                                                                                                                                                                                               [  4%]
tests/commands/k8s/test_k8s.py ..................................................................................................                                                                                                                  [ 31%]
tests/commands/k8s/test_k8s_logging_stack.py .....................                                                                                                                                                                                 [ 37%]
tests/commands/k8s/test_k8s_monitoring_integration.py .................................                                                                                                                                                            [ 46%]
tests/commands/k8s/test_stack_dashboards.py ......................................................                                                                                                                                                 [ 61%]
tests/core/test_third_party_telemetry.py ...............                                                                                                                                                                                           [ 65%]
tests/prometheus/test_k8s_monitoring_alerting.py ............................................................................................                                                                                                      [ 90%]
tests/prometheus/test_k8s_monitoring_dashboards.py ...................................                                                                                                                                                             [100%]

================================================================================================================== 366 passed in 26.83s ==================================================================================================================
Bytecode compiled 19316 files in 867ms
Bytecode compiled 19316 files in 878ms
/home/devops/.data/agent/worktrees/w-3785/.venv/lib/python3.14/site-packages/pytest_asyncio/plugin.py:300: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the "fixture" caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to "function" scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"

  warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
Elapsed: 38s
  • verify of group 2: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3785
\u2713 All documentation files are up to date.
Bytecode compiled 19316 files in 990ms
Bytecode compiled 19316 files in 919ms
Elapsed: 8.20s
Elapsed: 12s

@devops-cli-service devops-cli-service Bot added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 13, 2026
@devops-cli-service
devops-cli-service Bot marked this pull request as ready for review November 13, 2026 02:30
@dan-petty

Copy link
Copy Markdown
Owner

Hold (agent, 2026-11-13): this pull request removes the profiler exclusion of the node under investigation. A DaemonSet tolerates the cordon, so a merge starts the eBPF profiler collector on that node at once, and the profiler is the suspected cause of its host crashes. The merge waits for three things: the vetting review of this pull request (running), the hardware tests of dan-petty/homelab#356, and the owner decision on the profiler on that node. I converted the pull request to a draft so that it cannot merge by accident; mark it ready again when the three are done.

@dan-petty
dan-petty marked this pull request as draft November 13, 2026 02:31
@dan-petty

Copy link
Copy Markdown
Owner

Owner decision (2026-11-13): "we might as well proceed with the change on hawk and see if it causes problems". The hold ends: the owner accepts the risk and does not wait for the hardware tests of dan-petty/homelab#356. Before the merge: the change only removes the profiler affinity (13 lines), the test and the spec follow it, the checks pass, and the node is reachable, cordoned, with no reboot pending. After the merge an agent watches the node: Ready condition, boot time, and the restarts of the profiler and log collectors there, and reports any change with the logs around it.

@dan-petty
dan-petty marked this pull request as ready for review November 13, 2026 02:34
@dan-petty
dan-petty merged commit e6c5216 into main Nov 13, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/3785-find-the-source-of-the-hawk branch November 13, 2026 02:35
dan-petty pushed a commit that referenced this pull request Nov 13, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.125.4](v0.125.3...v0.125.4)
(2026-11-13)


### Bug Fixes

* **k8s:** find the source of the hawk host crashes
([#5336](#5336))
([e6c5216](e6c5216))


### Code Refactoring

* **k8s:** read the environment tree from the infra repo
([#5334](#5334))
([c33d78c](c33d78c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
dan-petty added a commit that referenced this pull request Nov 13, 2026
The stage reply can rename and remove base requirements. `StageSpec`
gets `renamed` (`from_name`, `to_name`) and `removed` (`name`, `reason`,
optional `migration`). `spec_file` writes them as `## RENAMED
Requirements` FROM and TO lines and `## REMOVED Requirements` blocks, as
OpenSpec 1.17.0 reads them. The gate refuses a rename or a removal that
the base spec does not allow. The scenario copy and plan-check read a
renamed requirement under its old name, because the archive renames
before it modifies. The plan reader reads both sections back, so
fix-plan keeps them.

The stage prompt says when to rename or remove. The review reports a
modified requirement whose name no longer fits its text as
`spec_delta_wrong`.

Before, a plan could only keep the old name above the new text. Plan
#5182 did that, and #5336 merged a requirement whose name says the
opposite of its text.

Refs #5256

Closes #5340

Change:
`openspec/changes/archive/2026-11-13-5340-stage-renamed-removed-deltas/`
dan-petty added a commit that referenced this pull request Nov 13, 2026
The implement job copied the summary of the issue title into the title
of the delivery pull request, and the squash commit and the changelog
line take that title. An issue title often states a goal, and the plan
states a smaller change: #5336 only removed a profiler exclusion, but
its title said that it found the source of the host crashes.

The job now keeps the type and the declared scope of the issue title,
and takes the summary of the plan title. It reads that summary from the
subject of the newest commit that adds the proposal of the change
folder: the stage commit on a staged branch, or the squash commit of the
plan pull request on the default branch. The summary of the issue title
stands in when that subject holds no plan title, or when the form
refuses the title with the summary of the plan. The change takes effect
when the next release builds the runner image.

Closes #5341

Change:
`openspec/changes/archive/2026-11-13-5341-title-the-delivery-by-its-plan/`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): find the source of the hawk host crashes

1 participant