Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNF-11231: Compare Multus and SR-IOV metrics #2025

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zeeke
Copy link
Member

@zeeke zeeke commented Sep 6, 2024

Statistics that relate to Multus interfaces can be collected by
joining network-metrics-daemon [1] and cAdvisor [2] (see [3]).
The same information, for kernel netdevice SR-IOV interface can be
collected via the sriov-network-metrics-exporter [4], which leverages
the Physical Function to get statistics about the Virtual Functions.

Proposed test case verifies both sources produce congruent values.

Only TX statistics are verified, as receiving ones might be spoiled by
noise traffic on the wire (e.g. other nodes sending DHCP broadcast
requests).


Bump sriov-network-operator API to access the new field SriovOperatorconfig.Spec.FeatureGates

[1] https://github.com/openshift/network-metrics-daemon
[2] https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md
[3] https://docs.openshift.com/container-platform/4.16/networking/associating-secondary-interfaces-metrics-to-network-attachments.html#cnf-associating-secondary-interfaces-metrics-with-network-name_secondary-interfaces-metrics
[4] https://github.com/k8snetworkplumbingwg/sriov-network-metrics-exporter

Copy link
Contributor

openshift-ci bot commented Sep 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zeeke

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 6, 2024
@zeeke zeeke changed the title Cnf 11231/metrics comparison with multus CNF-11231: Compare Multus and SR-IOV metrics Sep 6, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 6, 2024
@openshift-ci-robot
Copy link
Collaborator

@zeeke: This pull request references CNF-11231 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set.

In response to this:

Statistics that relate to Multus interfaces can be collected by
joining network-metrics-daemon [1] and cAdvisor [2] (see [3]).
The same information, for kernel netdevice SR-IOV interface can be
collected via the sriov-network-metrics-exporter [4], which leverages
the Physical Function to get statistics about the Virtual Functions.

Proposed test case verifies both sources produce congruent values.

Only TX statistics are verified, as receiving ones might be spoiled by
noise traffic on the wire (e.g. other nodes sending DHCP broadcast
requests).


Bump sriov-network-operator API to access the new field SriovOperatorconfig.Spec.FeatureGates

[1] https://github.com/openshift/network-metrics-daemon
[2] https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md
[3] https://docs.openshift.com/container-platform/4.16/networking/associating-secondary-interfaces-metrics-to-network-attachments.html#cnf-associating-secondary-interfaces-metrics-with-network-name_secondary-interfaces-metrics
[4] https://github.com/k8snetworkplumbingwg/sriov-network-metrics-exporter

Instructions 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 openshift-eng/jira-lifecycle-plugin repository.

@zeeke
Copy link
Member Author

zeeke commented Sep 6, 2024

/test e2e-telco5g-cnftests

@zeeke zeeke force-pushed the CNF-11231/metrics-comparison-with-multus branch from 4e16d49 to b6a6594 Compare September 9, 2024 07:00
@zeeke
Copy link
Member Author

zeeke commented Sep 9, 2024

/test e2e-telco5g-cnftests

@zeeke zeeke force-pushed the CNF-11231/metrics-comparison-with-multus branch from b6a6594 to 7a22067 Compare September 10, 2024 11:02
@zeeke
Copy link
Member Author

zeeke commented Sep 10, 2024

/test e2e-telco5g-cnftests

@zeeke zeeke force-pushed the CNF-11231/metrics-comparison-with-multus branch from 7a22067 to 663753e Compare September 10, 2024 16:25
@zeeke
Copy link
Member Author

zeeke commented Sep 10, 2024

/test e2e-telco5g-cnftests

@zeeke
Copy link
Member Author

zeeke commented Sep 20, 2024

/retest
/test e2e-telco5g-cnftests

SR-IOV Network Operator dependency bumped with commands:

```
go install -mod=mod github.com/openshift/[email protected]
go mod edit -replace \
github.com/k8snetworkplumbingwg/sriov-network-operator=\
github.com/openshift/[email protected]
go mod tidy
go mod vendor
```

Signed-off-by: Andrea Panattoni <[email protected]>
Statistics that relates to Multus interfaces can be collected by
joining network-metrics-daemon [1] and cAdvisor [2] (see [3]).
The same information, for kernel netdevice SR-IOV interface can be
collected via the `sriov-network-metrics-exporter` [4], which leverages
the Physical Function to get statistics about the Virtual Functions.

Proposed test case verifies both sources produces congruent values.

Only TX statistics are verified, as receiving ones might be spoiled by
noise traffic on the wire (e.g. other nodes sending DHCP broadcast
requests).

[1] https://github.com/openshift/network-metrics-daemon
[2] https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md
[3] https://docs.openshift.com/container-platform/4.16/networking/associating-secondary-interfaces-metrics-to-network-attachments.html#cnf-associating-secondary-interfaces-metrics-with-network-name_secondary-interfaces-metrics
[4] https://github.com/k8snetworkplumbingwg/sriov-network-metrics-exporter

Signed-off-by: Andrea Panattoni <[email protected]>
@zeeke zeeke force-pushed the CNF-11231/metrics-comparison-with-multus branch from 663753e to 82dcd4e Compare October 31, 2024 10:56
@zeeke
Copy link
Member Author

zeeke commented Nov 7, 2024

/test e2e-telco5g-cnftests

1 similar comment
@zeeke
Copy link
Member Author

zeeke commented Nov 7, 2024

/test e2e-telco5g-cnftests

Copy link
Contributor

openshift-ci bot commented Nov 7, 2024

@zeeke: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-telco5g-cnftests 82dcd4e link false /test e2e-telco5g-cnftests

Full PR test history. Your PR dashboard.

Instructions 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants