Bug 1933624 - [4.6] 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: [4.6] The infra index filled with warnings "WARNING: kubernetes.io/cinder bui...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.6.z
Assignee: Jan Safranek
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 1895329
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-01 09:48 UTC by Jan Safranek
Modified: 2021-03-30 17:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1895329
Environment:
Last Closed: 2021-03-30 17:03:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes pull 596 0 None open Bug 1933624: 4.6: UPSTREAM: 96751: Lower the frequency of volume plugin deprecation warning 2021-03-01 09:58:41 UTC
Red Hat Product Errata RHBA-2021:0952 0 None None None 2021-03-30 17:03:24 UTC

Description Jan Safranek 2021-03-01 09:48:50 UTC
+++ This bug was initially created as a clone of Bug #1895329 +++

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:

--- Additional comment from Saurabh Sadhale on 2021-02-26 04:09:44 UTC ---

@Jan I have the following from the customer regarding backport. Please check and let us know the Bugzilla number for OCP 4.6 backport. 

I think we must have upgraded to 4.6 since I opened this case, so actaully the ask is for a 4.6 backport now. Purely because we won't be upgrading to 4.7 for a while :)

Comment 2 Wei Duan 2021-03-22 03:22:02 UTC
Verified pass on 4.6.0-0.nightly-2021-03-21-131139

Currently, we can see once at the beginning of the kcm log: 
$ for i in `seq 0 2`; do oc logs kube-controller-manager-wduan0322c-7l5hs-master-$i | grep "provider is now deprecated";done
W0322 02:08:09.813929       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
W0322 02:08:11.383296       1 plugins.go:731] 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
W0322 01:51:43.356917       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
W0322 01:51:44.546291       1 plugins.go:731] 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
W0322 02:05:08.539599       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
W0322 02:05:09.509056       1 plugins.go:731] 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

Comment 5 errata-xmlrpc 2021-03-30 17:03:16 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 (OpenShift Container Platform 4.6.23 bug fix 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/RHBA-2021:0952


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