Bug 1895329 - The infra index filled with warnings "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"
Summary: The infra index filled with warnings "WARNING: kubernetes.io/cinder built-in ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Jan Safranek
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks: 1933624
TreeView+ depends on / blocked
 
Reported: 2020-11-06 11:14 UTC by Saurabh Sadhale
Modified: 2021-08-30 08:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1933624 (view as bug list)
Environment:
Last Closed: 2021-02-24 15:31:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes pull 491 0 None closed Bug 1895329: UPSTREAM: 96751: Lower the frequency of volume plugin deprecation warning 2021-01-15 09:57:35 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:32:00 UTC

Description Saurabh Sadhale 2020-11-06 11:14:14 UTC
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:

Comment 1 Jeff Cantrill 2020-11-06 15:06:49 UTC
This is not a logging bug but a log entry that was collected by the logging system.

Comment 4 Jan Safranek 2020-11-20 13:27:41 UTC
Upstream PR to log the warning only once per process: https://github.com/kubernetes/kubernetes/pull/96751

Comment 5 Jan Safranek 2020-12-04 15:00:35 UTC
Waiting for upstream to un-freeze

Comment 7 Wei Duan 2021-01-08 08:43:11 UTC
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

Comment 13 errata-xmlrpc 2021-02-24 15:31:26 UTC
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


Note You need to log in before you can comment on or make changes to this bug.