Bug 1989073

Summary: KCM logs an error on startup when using external cloud providers
Product: OpenShift Container Platform Reporter: Joel Speed <jspeed>
Component: kube-controller-managerAssignee: Joel Speed <jspeed>
Status: CLOSED ERRATA QA Contact: zhou ying <yinzhou>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aos-bugs, mfojtik
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:43:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joel Speed 2021-08-02 10:45:50 UTC
Description of problem:

When external cloud providers are enabled, the ExternalCloudProvider feature gate is included in the KCM feature gate list. As this is an openshift specific feature gate, the KCM does not recognise the value and logs an error that this is an unknown feature gate

Version-Release number of selected component (if applicable):


How reproducible:

100%


Steps to Reproduce:
1. Create a FeatureGate with `ExternalCloudProvider` as a custom feature gate
2. Observe KCM startup logs

Actual results:

Error is logged that the feature gate is unrecognised

Expected results:

No errors are logged

Additional info:

Comment 2 Maciej Szulik 2021-08-09 13:50:12 UTC
*** Bug 1989072 has been marked as a duplicate of this bug. ***

Comment 3 zhou ying 2021-08-19 10:36:20 UTC
can't reproduce this issue when set as follow:

apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
  name: cluster
spec:
  customNoUpgrade:
    enabled:
    - ExternalCloudProvider
  featureSet: CustomNoUpgrade

[root@localhost ~]# oc get clusterversion 
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-08-18-144658   True        False         9h      Cluster version is 4.9.0-0.nightly-2021-08-18-144658

Comment 6 errata-xmlrpc 2021-10-18 17:43:46 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.9.0 bug fix and security 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-2021:3759