You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(handler): auto-detect NetworkManager and use nmstatectl kernel mode
When NetworkManager is not available (e.g., kind containers, minimal hosts),
the handler now auto-detects this at startup and transparently switches to
nmstatectl kernel mode (-k flag). This affects both applying network config
(NNCP) and reporting state (NNS).
Key changes:
- Add kernelMode flag to nmstatectl package with -k flag for show/apply
- Skip checkpoint/rollback/commit/probes in kernel mode (not supported)
- Auto-detect NM absence at handler startup via nm.Version()
- Guard NM version reporting in node controller
- Update liveness probe to use -k flag when kernel-mode file exists
- Add init container to ensure dbus socket path exists on nodes without dbus
- Add feature Labels to all e2e handler tests for mode-based filtering
- Make BeforeSuite work in kernel mode (no DHCP reset)
- Add test-e2e-handler-kernel Makefile target with label filter
- Add GitHub Actions CI workflow for kernel mode e2e on kind
Kernel mode limitations: no checkpoint/rollback, no DHCP, volatile changes,
cannot create interfaces via nmstatectl apply -k (nispor plugin limitation).
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
0 commit comments