Unable to upload image to openshift-virtualization-os-images namespace: error uploading image after 5 retries: unexpected return value 401
Issue
- Uploading an image to openshift-virtualization-os-images using virtctl fails with:
error uploading image after 5 retries: unexpected return value 401,
- Very little data is transferred, slow speed, the connection stalls. Client socket Send Queue during image upload and TCP window full:
# netstat -tnp | grep virtctl
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 1165848 192.168.2.103:34704 192.168.3.53:443 ESTABLISHED 31637/virtctl
- In cdi-uploadproxy proxy logs, the following appears when trying to upload:
E0112 00:03:58.844091 1 uploadproxy.go:322] Error in reverse proxy: http: proxy error: dial tcp 172.30.162.195:443: connect: connection timed out
Environment
- Red Hat OpenShift Container Platform 4.20
- OpenShift Virtualization 4.20
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.