-
Notifications
You must be signed in to change notification settings - Fork 237
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
Bug 2002713: Add millisecond resolution to OVN logs #1196
Bug 2002713: Add millisecond resolution to OVN logs #1196
Conversation
Skipping CI for Draft Pull Request. |
@creydr: This pull request references Bugzilla bug 2002713, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/bugzilla refresh |
@creydr: This pull request references Bugzilla bug 2002713, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/bugzilla refresh |
@creydr: This pull request references Bugzilla bug 2002713, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (anusaxen@redhat.com), skipping review request. 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 kubernetes/test-infra repository. |
f98f7be
to
826774d
Compare
@creydr: This pull request references Bugzilla bug 2002713, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (anusaxen@redhat.com), skipping review request. 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 kubernetes/test-infra repository. |
/retest-required |
1 similar comment
/retest-required |
/retest |
2 similar comments
/retest |
/retest |
@@ -82,6 +82,8 @@ spec: | |||
env: | |||
- name: OVN_LOG_LEVEL | |||
value: info | |||
- name: OVN_LOG_PATTERN_CONSOLE |
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.
Can you just declare this pattern as a constant in https://github.com/openshift/cluster-network-operator/blob/master/pkg/network/ovn_kubernetes.go#L46
rather than re declaring it for each container? Otherwise LGTM
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.
Sure. Yes this is way better! I updated it...
826774d
to
36d1cb1
Compare
Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
36d1cb1
to
48c6482
Compare
/retest-required |
/retest |
/lgtm |
/retest |
@creydr: The following tests 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/test-infra repository. I understand the commands that are listed here. |
/retest-required |
/assign @JacobTanenbaum |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astoycos, creydr, dcbw 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 |
@creydr: All pull requests linked via external trackers have merged: Bugzilla bug 2002713 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
Currently OVN databases and ovn-northd are started with '-vconsole:${OVN_LOG_LEVEL} -vfile:off'. This means that logs are going only to the console. But console (unlike files) has no millisecond resolution by default. This makes it hard to debug time-sensitive issues.
This PR adds the millisecond resolution to console logs of ovn components.
How to verify:
launch openshift/cluster-network-operator#1196 ovn
)Hint for reviewers:
ovs-appctl
, but commandline pattern is the same.