Description of problem: The infra index is filled with WARNING messages as follows: WARNING: kubernetes.io/cinder built-in volume provider is now deprecated. The Cinder volume provider is deprecated and will be removed in a future release Environment: OCP 4.5.16 on OSP Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install ClusterLogging on OSP 2. Check the infra index $ oc-es-exec es_util '--query=infra-indexname/_count?q=message:The+Cinder+volume+provider+is+deprecated+and+will+be+removed+in+a+future' | jq .count -r 111833647 Actual results: The index has almost 20% lines with those log lines. It creates a lot of noise. Expected results: The warning messages should be removed as it creates issues when analyzing the logs via Kibana. Additional info:
This is not a logging bug but a log entry that was collected by the logging system.
Upstream PR to log the warning only once per process: https://github.com/kubernetes/kubernetes/pull/96751
Waiting for upstream to un-freeze
Verified pass on 4.7.0-0.nightly-2021-01-07-181010 Currently, we can see once at the begining of the kcm log: $ oc -n openshift-kube-controller-manager logs kube-controller-manager-wduan-0108a-mwgzt-master-1 | grep "is now deprecated" W0108 03:01:01.575451 1 plugins.go:105] WARNING: openstack built-in cloud provider is now deprecated. Please use 'external' cloud provider for openstack: https://github.com/kubernetes/cloud-provider-openstack
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633