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
OCPBUGS-14612: Improve logging for IPI deployments #3725
OCPBUGS-14612: Improve logging for IPI deployments #3725
Conversation
Improve logging format of KNI haproxy logs to display tcplogs plus additional frondend IP and frontend port. Signed-off-by: Andreas Karis <ak.karis@gmail.com>
b88d9ec
to
cce43aa
Compare
@andreaskaris: This pull request references Jira Issue OCPBUGS-14612, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. 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. |
/lgtm Big +1 from me. This looks like a nice improvement. /assign @yuqi-zhang /retest-required |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreaskaris, cgwalters, cybertron 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 |
/retest ci/prow/e2e-aws-ovn-upgrade |
@andreaskaris: The
The following commands are available to trigger optional jobs:
Use
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. |
/test e2e-aws-ovn-upgrade |
/test e2e-hypershift |
/retest |
/retest |
The Hypershift test seems to be broken currently, I have raised it with the Hypershift team. |
/retest |
@andreaskaris: 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. |
d19cd58
into
openshift:master
@andreaskaris: Jira Issue OCPBUGS-14612: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-14612 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. |
- What I did
Improve logging format of KNI haproxy logs to display tcplogs + frondend IP and frontend port.
The current logging format is not very verbose:
It lacks critical information for troubleshooting, such as load-balancing destination and timestamps.
https://www.haproxy.com/blog/introduction-to-haproxy-logging recommends the following for tcp mode:
Because
option tcplog
actually loses information about the frontend IP and port that are being hit, I modified the logging format slightly to be:- How to verify it
Check the kni haproxy logs which will be more verbose now:
- Description for the changelog