-
Notifications
You must be signed in to change notification settings - Fork 29
NETOBSERV-2307: NETOBSERV-2315: fix several IPFIX issues #1019
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
Conversation
- Fixed flows without ports that generated errors in logs, and were not exported. It shouldn't matter that ports are missing (e.g. ICMP) - More generally, any missing field won't trigger an error anymore - Some fields were missing: icmp type/code, tcp flags - Fix resending templates in case of collector being restarted
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=9269049 make set-flp-image |
The go-ipfix patch regularly recheck the udp connection, e.g. to account for restarted host with a different resolved IP ... also: - allow to provide data mapping for ingesting with goflow2 - rename API collector => ipfix - simplify ingest API with more default values - write ipfix: do not resend templates every second! Instead, use configurable periodicity
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=f992bcc make set-flp-image |
@@ -53,7 +53,7 @@ type API struct { | |||
PromEncode PromEncode `yaml:"prom" doc:"## Prometheus encode API\nFollowing is the supported API format for prometheus encode:\n"` | |||
KafkaEncode EncodeKafka `yaml:"kafka" doc:"## Kafka encode API\nFollowing is the supported API format for kafka encode:\n"` | |||
S3Encode EncodeS3 `yaml:"s3" doc:"## S3 encode API\nFollowing is the supported API format for S3 encode:\n"` | |||
IngestCollector IngestCollector `yaml:"collector" doc:"## Ingest collector API\nFollowing is the supported API format for the NetFlow / IPFIX collector:\n"` | |||
IngestIpfix IngestIpfix `yaml:"ipfix" doc:"## Ingest NetFlow/IPFIX API\nFollowing is the supported API format for the NetFlow / IPFIX collector:\n"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be carefull since this is still used in multiple places such in:
https://github.com/netobserv/netobserv-ebpf-agent/blob/ba5c7c6ffaea7dfaaf61aeb3111bdd14a86c871d/e2e/ipfix/manifests/20-flp-transformer.yml#L53
flowlogs-pipeline/network_definitions/config.yaml
Lines 7 to 10 in 19fb27b
collector: | |
port: 2055 | |
portLegacy: 2056 | |
hostName: 0.0.0.0 |
flowlogs-pipeline/contrib/kubernetes/flowlogs-pipeline.conf.yaml
Lines 24 to 27 in 19fb27b
collector: | |
hostName: 0.0.0.0 | |
port: 2055 | |
portLegacy: 2056 |
flowlogs-pipeline/hack/examples/docker-ipfix-config.yaml
Lines 23 to 26 in 19fb27b
collector: | |
hostName: localhost | |
port: 4739 # Use this for IPFIX / netflow v9 | |
portLegacy: 2055 # Use this for legacy v5 netflow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done (except the first which is a different thing, it's the conf-generator tool, which I didn't touch here)
Also added a warn log for deprecated API usage
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jotak: The following test failed, say
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. |
even though qe-e2e-tests failed, I see the IPFIX exporter test is passing:
Need to investigate here why the run failed here though, unsure if it was infra issue or the test issue. /label qe-approved @jotak let me know if full scale regression would be relevant here. |
@jotak: This pull request references NETOBSERV-2307 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 bug to target the "4.20.0" version, but no target version was set. In response to this:
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. |
@memodi thanks! sounds good enough to me On the error to investigate, I see "curl: command not found" which apparently comes from there: https://github.com/openshift/openshift-tests-private/blob/master/test/extended/netobserv/test_exporters.go#L235 cc @Amoghrd |
Description
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.
To run a perfscale test, comment with:
/test flp-node-density-heavy-25nodes