gather_ppc: collect per-node ethtool channel data - #562
Conversation
Earlier we used to collect ethtool data for only eth0 now extend this to collect data from all the hardware nics AIA: Primarily AI, New content, Human-initiated, Reviewed, Codex GPT-5.6 Signed-off-by: Niranjan M.R <mniranja@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. WalkthroughPer-node PPC collection now finds a running TuneD pod and passes its details to the single-node collector. The collector gathers EtHTool feature and channel data from hardware-backed interfaces, or records fallback messages when no TuneD pod is available. ChangesTuneD-backed PPC collection
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The collection now gathers EtHTool feature and channel data from hardware-backed interfaces through TuneD pods, with fallback output when a TuneD pod is unavailable. No concrete current-head merge risk remains. Sequence Diagram(s)sequenceDiagram
participant gather_ppc
participant KubernetesAPI
participant gather_ppc_single_node
participant tuned_pod
gather_ppc->>KubernetesAPI: Find running TuneD pod on target node
KubernetesAPI-->>gather_ppc: Return pod name and namespace
gather_ppc->>gather_ppc_single_node: Pass TuneD pod details
gather_ppc_single_node->>tuned_pod: Discover hardware-backed interfaces
gather_ppc_single_node->>tuned_pod: Run ethtool -k and ethtool -l
tuned_pod-->>gather_ppc_single_node: Return feature and channel reports
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
Full details: No-Sensitive-Data-In-LogsExplanation The pull request adds a new collection artifact log entry at
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mrniranjan The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@mrniranjan: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Earlier we used to collect ethtool data for only eth0 now extend this to collect data from all the hardware nics
AIA: Primarily AI, New content, Human-initiated, Reviewed, Codex GPT-5.6
Summary by CodeRabbit