-
Bug
-
Resolution: Done
-
Critical
-
4.19.z
This is a clone of issue OCPBUGS-59251. The following is the description of the original issue:
—
Description of problem:
The `cloud-conf` ConfigMap in the `openshift-cloud-controller-manager` namespace does not exist:
$ oc get cm cloud-conf -n openshift-cloud-controller-manager
Error from server (NotFound): configmaps "cloud-conf" not found
Causing the `aws-cloud-controller-manager` pods to fail:
oc describe pod aws-cloud-controller-manager-xxx-xxxx -n openshift-cloud-controller-manager Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 90m default-scheduler Successfully assigned openshift-cloud-controller-manager/aws-cloud-controller-manager-xxx-xxxx to ip-xx-xxx-xxx-xxx.ec2.internal Warning FailedMount 5m3s (x50 over 90m) kubelet MountVolume.SetUp failed for volume "config-accm" : configmap "cloud-conf" not found
This is caused by an empty value within the infrastructure file, as no value results in it not being synced:
$ oc get infrastructures.config.openshift.io -oyaml | yq '.items[].spec.cloudConfig'
name: ""
See also linked below the change likely to originate the issue.
Version-Release number of selected component (if applicable):
4.19+
How reproducible:
Appears to occur in 'candidate' channel only as of current.
Steps to Reproduce:
1. Deploy/upgrade non-CCS cluster to 4.19 2. Observe missing 'cloud-conf' configmap in `openshift-cloud-controller-manager` namespace.
Actual results:
No `cloud-conf` configmap -> Infrastructure cloudconfig value empty -> controller pods failing to create
Expected results:
Additional info:
Relevant code: https://github.com/openshift/cluster-cloud-controller-manager-operator/commit/c255a75e95434cfc5d1fd73b6d0399ede413616e CCS docs: https://docs.redhat.com/en/documentation/openshift_dedicated/4/html/planning_your_environment/aws-ccs
- clones
-
OCPBUGS-59251 aws-cloud-controller-manager runs into failure after cluster upgrade due to 'cloud-conf' ConfigMap is missing
-
- Verified
-
- is blocked by
-
OCPBUGS-59251 aws-cloud-controller-manager runs into failure after cluster upgrade due to 'cloud-conf' ConfigMap is missing
-
- Verified
-
- links to