-
Notifications
You must be signed in to change notification settings - Fork 392
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-32348: Make logging configurable for on-prem components #4326
base: master
Are you sure you want to change the base?
Conversation
@mkowalski: This pull request references Jira Issue OCPBUGS-32348, 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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mkowalski The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-metal-ipi |
/cherry-pick release-4.15 |
@mkowalski: once the present PR merges, I will cherry-pick it on top of release-4.15 in a new PR and assign it to you. 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-metal-ipi |
@mkowalski trying to pre-merge testing this PR with cluster-bot However the cluster cannot be deployed due to keepalived pod cannot be ready with error:
|
Thanks for testing. Seems like indeed something is fishy with the new syntax
|
6c7e278
to
7bf981c
Compare
/hold |
/test e2e-metal-ipi |
/test e2e-openstack |
052e3b4
to
95f921e
Compare
/test e2e-metal-ipi |
It came to our attention that the default logging configuration for on-prem components is very verbose, causing some customers to overload their log storage infrastructure. To remediate the issue we have heavily limited what is logged, but without ability to raise a level to DEBUG. With this PR we are allowing to create a ConfigMap `logging` in the respective `openshift-$PLATFORM-infra` namespace what will accept the following data to configure the levels accordingly ``` disable-keepalived-logs: true enable-nodeip-debug: true ``` By default no such ConfigMap exists, so that keepalived logs are enabled and Node IP logs are disabled. Creation, as described above, allows to tweak the behaviour. Fixes: OCPBUGS-32348 Fixes: OCPBUGS-32027
95f921e
to
7ca9d6b
Compare
@mkowalski: The following test 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. |
It came to our attention that the default logging configuration for on-prem components is very verbose, causing some customers to overload their log storage infrastructure.
To remediate the issue we have heavily limited what is logged, but without ability to raise a level to DEBUG. With this PR we are allowing to create a ConfigMap
logging
in the respectiveopenshift-$PLATFORM-infra
namespace what will accept the following data to configure the levels accordinglyBy default no such ConfigMap exists, so that keepalived logs are enabled and Node IP logs are disabled. Creation, as described above, allows to tweak the behaviour.
Fixes: OCPBUGS-32348
Fixes: OCPBUGS-32027