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

NETOBSERV-672: Document bug when flowcollector is deployed before kafka #208

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

OlivierCazade
Copy link
Contributor

I tested and confirmed that the bug come from the kafka-go dependency.

I am trying to fix it and I opened a bug report in the library side.

Meanwhile for GA, I think it is better to document the workaround.

README.md Outdated
@@ -237,6 +237,10 @@ kubectl get pods -n netobserv -l app=netobserv-plugin
kubectl logs -n netobserv -l app=netobserv-plugin
```

### I first deployed flowcollector, and then kafka. Flowlogs-pipeline is not consuming any flow from Kafka

This is a known bug in one of flowlogs-pipeline dependencies. Please recreate the flowlogs-pipeline pods by killing them, they will be automatically recreated.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add the link to the issue in the kafka lib, if it exists. I'd maybe suggest, as another alternative, to redeploy the flow collector, in addition to killing pods one by one.

@OlivierCazade
Copy link
Contributor Author

/approve

@openshift-ci
Copy link

openshift-ci bot commented Dec 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: OlivierCazade

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 label Dec 8, 2022
@openshift-merge-robot openshift-merge-robot merged commit 5427a9f into netobserv:main Dec 8, 2022
KalmanMeth pushed a commit to KalmanMeth/network-observability-operator that referenced this pull request Feb 13, 2023
* Add basic functionality of connection tracking

* Minor fixes

* Add ConnTrackOutputRecordTypeEnum

* Add ConnTrackOperationName enum

* Add test case for aggregator of type sum

* Add flow logs to warning message

* Rename buildConnTrackConfig() -> buildMockConnTrackConfig()

* Rename a variable h -> hash

* Rename NewFlowLog() -> newMockFlowLog() and move to utils_tests.go

* Strip "aggregate" from aggregators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants