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

Enabling L7FlowExporter in Antrea FlowAggregator fails with missing columns in table #813

Open
andreasm80 opened this issue May 3, 2024 · 1 comment

Comments

@andreasm80
Copy link

Not sure if it is something I am missing from my side, but when I try to enable the new feature L7FlowExporter in Antrea the FlowAggregator fails with the following error message:

"error when creating ClickHouse export process: error when preparing insert statement, code: 16, message: No such column appProtocolName in table default.flows"

After checking the clickhouse db the following columns is indeed missing in tables default.flows and default.flows_local:

  • appProtocolName
  • httpVals
  • egressNodeName

After adding these columns in both tables FlowAggregator is happy again and can start normal and flows are being collected in the clickhouse DB.

I reckon Theia has not yet been updated to handle this new L7FlowExporter flow information yet. Its just that nothing about this new feature is mentioned to not work with Theia here https://github.com/antrea-io/antrea/blob/main/docs/network-flow-visibility.md#grafana-flow-collector-migrated

@elton-furtado
Copy link
Contributor

@yuntanghsu can you update the Antrea document, with support for Theia still not implemented yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants