HCP machine config daemon does not inherit proxy variable in RHOCP 4
Issue
- Machine config daemon pods does not inherit proxy variable in
HostedControlPlane
. - Upgrade fails in
HostedControlPlane
when proxy is used in the cluster. -
NodePool stuck upgrading and
hosted-cluster-config-operator
pod reporting the error:2025-05-05T17:04:20.669612270Z {"level":"error","ts":"2025-05-05T17:04:20Z","msg":"Reconciler error","controller":"inplaceupgrader","object":{"name":"nodepool-1","namespace":"clusters-hcp"},"namespace":"clusters-hcp","name":"nodepool-1","reconcileID":"000000","error":"degraded node found, cannot progress in-place upgrade. Degraded reason: failed to update configuration: failed to run command nice (6 tries): [timed out waiting for the condition, running nice -- ionice -c 3 podman pull -q --authfile /var/lib/kubelet/config.json quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0549f60c2a3990450652b3df3ed2853441c4c8a57934f9cc91bc8f13f968bf6d failed: Error: initializing source docker://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0549f60c2a3990450652b3df3ed2853441c4c8a57934f9cc91bc8f13f968bf6d: pinging container registry quay.io: Get \"https://quay.io/v2/\": dial tcp: lookup quay.io on 10.0.0.1:53: server misbehaving\n: exit status 125]","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:261\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/hypershift/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:222"}
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Hosted Control Plane (HCP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.