Hide Forgot
+++ This bug was initially created as a clone of Bug #1898159 +++ Description of problem: By default, the kcm-operator pass default configuration to kcm with 'allocate-node-cidrs=true'. With such configuration, the kcm will allocate `podCIDR` in node.spec. However, openshift-sdn and ovn-kubernetes both do their own CIDR allocation. So the `podCIDR` is not utilized by either of them. Additionally, as we set 'allocate-node-cidrs=false', we shall not pass 'cluster-cidr' and 'service-cluster-ip-range' for kcm either. Version-Release number of selected component (if applicable): How reproducible: Install a cluster with openshift-sdn or ovn-kubernetes as the cluster network provider. Steps to Reproduce: 1. 2. 3. Actual results: $ oc logs -n openshift-kube-controller-manager kube-controller-manager-ip-10-0-160-243.us-west-2.compute.internal ... I1116 14:42:55.218650 1 flags.go:59] FLAG: --allocate-node-cidrs="true" ... Expected results: I1116 14:42:55.218650 1 flags.go:59] FLAG: --allocate-node-cidrs="false" Additional info:
PR is already in the queue.
Verified in the payload below and i see that --allocate-node-cidrs is set to "false", have added lgtm in the PR link, will wait for the cluster bot to move the bug to verified state once the PR is merged. [knarra@knarra openshift-client-linux-4.7.0-0.nightly-2020-11-30-172451]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.ci.test-2020-12-01-095103-ci-ln-31q5mx2 True False 7m7s Cluster version is 4.6.0-0.ci.test-2020-12-01-095103-ci-ln-31q5mx2 [knarra@knarra openshift-client-linux-4.7.0-0.nightly-2020-11-30-172451]$ oc logs kube-controller-manager-ci-ln-31q5mx2-f76d1-pjrlk-master-0 -n openshift-kube-controller-manager | grep allocate-node-cidrs I1201 10:26:45.840302 1 flags.go:59] FLAG: --allocate-node-cidrs="false" [knarra@knarra openshift-client-linux-4.7.0-0.nightly-2020-11-30-172451]$ oc logs kube-controller-manager-ci-ln-31q5mx2-f76d1-pjrlk-master-1 -n openshift-kube-controller-manager | grep allocate-node-cidrs I1201 10:27:22.171087 1 flags.go:59] FLAG: --allocate-node-cidrs="false" [knarra@knarra openshift-client-linux-4.7.0-0.nightly-2020-11-30-172451]$ oc logs kube-controller-manager-ci-ln-31q5mx2-f76d1-pjrlk-master-2 -n openshift-kube-controller-manager | grep allocate-node-cidrs I1201 10:26:07.431866 1 flags.go:59] FLAG: --allocate-node-cidrs="false" I1201 10:27:21.869379 1 core.go:240] Will not configure cloud provider routes for allocate-node-cidrs: false, configure-cloud-routes: false.
Moving the bug to verified state as the fix is already present in the payload below and bot has not changed the status. 4.6.0-0.nightly-2020-12-04-142414
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.6.8 security and 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/RHSA-2020:5259