Bug 1986437 - Bump openshift/api to support ExternalCloudProvider featuregate
Summary: Bump openshift/api to support ExternalCloudProvider featuregate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Mike Fedosin
QA Contact: sunzhaohua
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-27 14:28 UTC by Mike Fedosin
Modified: 2022-04-11 08:33 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:42:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-cloud-controller-manager-operator pull 99 0 None open Bug 1986437: Bump github.com/openshift/api 2021-08-09 09:25:00 UTC
Github openshift cluster-kube-controller-manager-operator pull 551 0 None open Bump github.com/openshift/api 2021-08-09 09:25:01 UTC
Github openshift machine-config-operator pull 2685 0 None open Bug 1986437: Bump github.com/openshift/api 2021-08-09 09:25:02 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:42:28 UTC

Description Mike Fedosin 2021-07-27 14:28:09 UTC
Description of problem:
In https://github.com/openshift/api/pull/961 we added ExternalCloudProvider feature gate to TechPreviewNoUpgrade feature set.

This change must be included in Machine Config Operator, Cluster Kube Controller Manager Operator and Cluster Cloud Controller Manager Operator. And to do so, we have to bump openshift/api dependency there.

Comment 2 sunzhaohua 2021-08-17 04:12:12 UTC
Verified
clusterversion: 4.9.0-0.nightly-2021-08-16-154237

set up a cluster on azure from start, all work as expected
1)./openshift-install create install-config --log-level=debug --dir=cluster1
2)./openshift-install create manifests --log-level=debug --dir=cluster1
3)vi cluster1/manifests/manifest_feature_gate.yaml
---
apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
  name: cluster
spec:
  featureSet: TechPreviewNoUpgrade
4)./openshift-install create cluster --log-level=debug --dir=cluster1

$ oc get featuregate cluster -o yaml
apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
  name: cluster
  resourceVersion: "959"
  uid: db1e5062-6c4a-4bc8-a955-167a2a2a797d
spec:
  featureSet: TechPreviewNoUpgrade

$ oc get po -n openshift-cloud-controller-manager
NAME                                              READY   STATUS    RESTARTS      AGE
azure-cloud-controller-manager-84b4c47fc9-cz7gj   1/1     Running   6 (49m ago)   62m
azure-cloud-node-manager-2dprd                    1/1     Running   1 (49m ago)   51m
azure-cloud-node-manager-4rp97                    1/1     Running   1 (49m ago)   51m
azure-cloud-node-manager-5c4qn                    1/1     Running   0             62m
azure-cloud-node-manager-dm989                    1/1     Running   1 (49m ago)   51m
azure-cloud-node-manager-jsclm                    1/1     Running   0             62m
azure-cloud-node-manager-lm29x                    1/1     Running   0             62m

$ oc debug node/zhsun-ccm-4cglh-master-1
Starting pod/zhsun-ccm-4cglh-master-1-debug ...
To use host binaries, run `chroot /host`
chroot /host
Pod IP: 10.0.0.6
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host
sh-4.4# cat /etc/systemd/system/kubelet.service
      --cloud-provider=external \

$ oc edit cm config -n openshift-kube-controller-manager
apiVersion: v1
data:
  config.yaml: '{"apiVersion":"kubecontrolplane.config.openshift.io/v1","extendedArguments":{"allocate-node-cidrs":["false"],"cert-dir":["/var/run/kubernetes"],"cloud-config":["/etc/kubernetes/static-pod-resources/configmaps/cloud-config/cloud.conf"],"cloud-provider":["external"]

$ oc edit cm config -n openshift-kube-controller-manager
apiVersion: v1
data:
  config.yaml: '{"apiVersion":"kubecontrolplane.config.openshift.io/v1","extendedArguments":{"allocate-node-cidrs":["false"],"cert-dir":["/var/run/kubernetes"],"cloud-config":["/etc/kubernetes/static-pod-resources/configmaps/cloud-config/cloud.conf"],"cloud-provider":["external"]

Comment 5 errata-xmlrpc 2021-10-18 17:42:18 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


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