Summary
Several features currently only work in sosreport (--local) mode and need to be extended to work on live systems:
Container filters on live systems
The container filter flags (--container-name, --pod-name, --container-id, --annotation, --pci-device) added in #2 are restricted to --local mode. Supporting them on live systems requires implementing load_all_container_data() for live environments (currently it only works with sosreport directories). On a live system, this would enumerate all containers via crictl ps / crictl inspect and build the same data structures that the sosreport path uses.
Live environment testing
There is currently no test coverage for live system mode. We need:
- A test harness that can validate live-mode behavior (possibly using mock
/proc and /sys trees, or a containerized test environment)
- Tests for filter flags on live systems once they are supported
- Validation that all analyzers (IRQ, NUMA, LLC) produce consistent output between live and sosreport modes for the same system
Scope
- Implement
load_all_container_data() for live systems in shared_data.py
- Remove the
--local requirement for filter flags
- Add live-path
pod_name/annotations fields where missing (partially done in numa/llc analyzers for single-container paths)
- Add test infrastructure for live mode validation
Summary
Several features currently only work in sosreport (
--local) mode and need to be extended to work on live systems:Container filters on live systems
The container filter flags (
--container-name,--pod-name,--container-id,--annotation,--pci-device) added in #2 are restricted to--localmode. Supporting them on live systems requires implementingload_all_container_data()for live environments (currently it only works with sosreport directories). On a live system, this would enumerate all containers viacrictl ps/crictl inspectand build the same data structures that the sosreport path uses.Live environment testing
There is currently no test coverage for live system mode. We need:
/procand/systrees, or a containerized test environment)Scope
load_all_container_data()for live systems inshared_data.py--localrequirement for filter flagspod_name/annotationsfields where missing (partially done in numa/llc analyzers for single-container paths)