-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Merged by Bors] - Fix processing of log events in Vector #452
Conversation
9c7f93d
to
2183f66
Compare
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.
No 1970 timestamps but i found some broken logs:
And the operator throws an apply error for the reporting task (i think not related to this PR):
2023-04-10T15:46:25.281021Z ERROR stackable_operator::logging::controller: Failed to reconcile object controller.name="nificluster.nifi.stackable.tech" error=reconciler for object NifiCluster.v1alpha1.nifi.stackable.tech/test-nifi.
default failed error.sources=[failed to apply create ReportingTask job, Kubernetes reported error: ApiError: Job.batch "test-nifi-create-reporting-task-1-18-0" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMe
ta:v1.ObjectMeta{Name:"test-nifi-create-reporting-task-1-18-0", GenerateName:"" ... field is immutable: Invalid]
# Description Fixes bugs found in #452 such as ``` 2023-04-10T15:46:25.281021Z ERROR stackable_operator::logging::controller: Failed to reconcile object controller.name="nificluster.nifi.stackable.tech" error=reconciler for object NifiCluster.v1alpha1.nifi.stackable.tech/test-nifi. default failed error.sources=[failed to apply create ReportingTask job, Kubernetes reported error: ApiError: Job.batch "test-nifi-create-reporting-task-1-18-0" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMe ta:v1.ObjectMeta{Name:"test-nifi-create-reporting-task-1-18-0", GenerateName:"" ... field is immutable: Invalid] ``` Co-authored-by: Malte Sander <[email protected]>
# Conflicts: # CHANGELOG.md # rust/operator-binary/src/controller.rs
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.
bors merge
# Description - Avoid empty log events dated to 1970-01-01 and improve the precision of the log event timestamps. - Add a test case to detect invalid log events - Make the logging tests independent of the availability of the upstream Vector aggregator. Co-authored-by: Malte Sander <[email protected]>
Pull request successfully merged into main. Build succeeded: |
Description
Integration tests
https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/nifi-operator-it-custom/30/
Definition of Done Checklist
Author
Reviewer
Acceptance
Once the review is done, comment
bors r+
(orbors merge
) to merge. Further information