OCPBUGS-84323: log the reason why dcm failed#764
Conversation
Template plugin calls DCM to try dynamically update HAProxy state. In case the dynamic update fails, an internal flag is raised to instruct the template plugin to reload the new configuration on a new HAProxy process. The reason of the failure is logged, however its level is above the default log verbosity, making it not to be added in the router logs. Since this is an exception scenario, those failures are being added on the default log verbosity in order to help debug some environment misbehavior. https://redhat.atlassian.net/browse/OCPBUGS-84323
|
@jcmoraisjr: This pull request references Jira Issue OCPBUGS-84323, 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. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughAdjusted verbosity levels in error-path logging statements from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@jcmoraisjr: This pull request references Jira Issue OCPBUGS-84323, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@jcmoraisjr: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
/assign @gcs278 |
Template plugin calls DCM to try dynamically update HAProxy state. In case the dynamic update fails, an internal flag is raised to instruct the template plugin to reload the new configuration on a new HAProxy process. The reason of the failure is logged, however its level is above the default log verbosity, making it not to be added in the router logs. Since this is an exception scenario, those failures are being added on the default log verbosity in order to help debug some environment misbehavior.
https://redhat.atlassian.net/browse/OCPBUGS-84323
Summary by CodeRabbit