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

[Flow Aggregator] Fix template ID error in IPFIX exporter #6630

Conversation

antoninbas
Copy link
Contributor

The template ID is only available after the exporter has been initialized.

With this fix, we avoid the following error for the first data record to be exported:

error when sending IPFIX record: error when doing sanity check:process:
templateID 0 does not exist in exporting process

The template ID is only available after the exporter has been
initialized.

With this fix, we avoid the following error for the first data record to
be exported:

```
error when sending IPFIX record: error when doing sanity check:process:
templateID 0 does not exist in exporting process
```

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
@antoninbas antoninbas added action/backport Indicates a PR that requires backports. action/release-note Indicates a PR that should be included in release notes. labels Aug 23, 2024
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoninbas
Copy link
Contributor Author

/test-all

@antoninbas antoninbas merged commit 6ee34e9 into antrea-io:main Aug 26, 2024
55 of 59 checks passed
@antoninbas antoninbas deleted the fa-ipfix-exporter-fix-template-id-initialization branch August 26, 2024 23:01
antoninbas added a commit to antoninbas/antrea that referenced this pull request Aug 27, 2024
The template ID is only available after the exporter has been
initialized.

With this fix, we avoid the following error for the first data record to
be exported:

```
error when sending IPFIX record: error when doing sanity check:process:
templateID 0 does not exist in exporting process
```

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
antoninbas added a commit that referenced this pull request Aug 28, 2024
The template ID is only available after the exporter has been
initialized.

With this fix, we avoid the following error for the first data record to
be exported:

```
error when sending IPFIX record: error when doing sanity check:process:
templateID 0 does not exist in exporting process
```

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/backport Indicates a PR that requires backports. action/release-note Indicates a PR that should be included in release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants