Hosted control planes fails with proxy configuration in RHOCP 4
Issue
- HCP installation failing when a proxy is configured.
-
When adding a proxy configuration in the HostedCluster manifest the ingress controller of the new managed cluster is in a degraded state, as you can see below.
HostedCluster manifest :
apiVersion: hypershift.openshift.io/v1beta1 kind: HostedCluster metadata: creationTimestamp: null name: cluster-hcp namespace: clusters spec: configuration: proxy: httpProxy: http://proxy.testlab.local:80 httpsProxy: http://proxy.testlab.local:80 noProxy: testlab.local,192.168.0.0/16
Cluster operators status :
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE console csi-snapshot-controller 4.15.16 True False False 57m dns 4.15.16 False True True 123m DNS "default" is unavailable. image-registry False True True 123m NodeCADaemonAvailable: The daemon set node-ca has available replicas... ingress False True True 123m The "default" ingress controller reports Available=False: IngressControllerUnavailable: One or more status conditions indicate unavailable: DeploymentAvailable=False (DeploymentUnavailable: The deployment has Available status condition set to False (reason: MinimumReplicasUnavailable) with message: Deployment does not have minimum availability.) insights kube-apiserver 4.15.16 True False False 123m kube-controller-manager 4.15.16 True False False 123m kube-scheduler 4.15.16 True False False 123m kube-storage-version-migrator monitoring network 4.15.16 True True False 107m DaemonSet "/openshift-multus/network-metrics-daemon" is waiting for other operators to become ready... node-tuning 4.15.16 True True False 112m Waiting for 2/2 Profiles to be applied openshift-apiserver 4.15.16 True False False 123m openshift-controller-manager 4.15.16 True False False 123m openshift-samples operator-lifecycle-manager 4.15.16 True False False 123m operator-lifecycle-manager-catalog 4.15.16 True False False 123m operator-lifecycle-manager-packageserver 4.15.16 True False False 123m service-ca storage 4.15.16 True False False 123m
Environment
- Red Hat Openshift Container Platform (RHCOS)
- OpenShift Container Platform hosted cluster
- Proxy configuration
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.