Repository navigation
Done
Description
The process-agent's eBPF network tracer fails on hosts that do not mount debugfs at boot, such as SLES 16.1 and SL Micro 6.2. The process-agent then crash-loops with eBPF based network tracer unsupported: tracefs or debugfs is not available.
The tracer only needs tracefs, which these hosts still mount at /sys/kernel/tracing, but:
- offset guessing reads the hardcoded
/sys/kernel/debug/tracing/events/net/net_dev_queue/format(pkg/network/tracer/offsetguess/tracepoint_offsets.goin datadog-agent-upstream-for-process-agent); - the agent chart only mounts the host's
/sys/kernel/debuginto the process-agent.
Solution
- datadog-agent-upstream-for-process-agent: read the format file through ebpf-manager's
tracefspackage, so it uses the detected tracing root. Bump it here. - helm-charts-internal: mount the host's
/sys/kernel/tracinginto the process-agent (read-write), keeping the/sys/kernel/debugmount for older hosts.
Upstream made the equivalent chart change for Talos (DataDog/helm-charts PR 3005).
Validation (QA hand-off)
Run on the fixed agent and chart, with default values:
- Render the agent chart and diff it against the previous release: the node-agent DaemonSet only gains the
/sys/kernel/tracingvolume and its process-agent mount. - Beest
rancher-sles16withapply_workaround=false(no debugfs on the host): all specs pass, including reboot recovery. - Beest
rancher-sles16withapply_workaround=true(debugfs mounted): all specs pass. - A host that does not mount
/sys/kernel/tracingbut does mount debugfs (e.g. a node with an older systemd such as Amazon Linux 2): the eBPF tracer starts via the debugfs fallback and connections are reported. - An existing Beest scenario on another OS stays green.
Docs: https://github.com/StackVista/stackstate/issues/823. With this fix, customers no longer need to mount debugfs; the prerequisite becomes tracefs, which the OS mounts by default.
Validation: https://github.com/StackVista/stackstate/issues/824
Activity
craffit commentedon Nov 23, 2026
Implementation PRs:
/sys/kernel/tracinginto the process-agentMerge order: #856, then re-point and merge #401, then #458. The QA validations above run on the resulting agent release.