While mirroring images to private registry on Azure one gets: `invalid character '<' looking for beginning of value` in Red Hat OpenShift Container Platform 4.x
Issue
-
While mirroring images to private registry on Azure one gets:
invalid character '<' looking for beginning of value
in Red Hat OpenShift Container Platform 4.x -
Below command failes while mirroing imaged from the pruned image to private registry:
oc adm catalog mirror \
xyz.example.com/redhat/redhat-operator-index:v4.6 \
xyz.example.com \
-a ${REG_CREDS} \
--filter-by-os='.*'
- Below error is reported while pushing all the images:
error: unable to push manifest to xyz.example.com/rhel8/skopeo:9fc07dfb: Put "https://xyz.example.com/v2/rhel8/skopeo/manifests/9fc07dfb": error parsing HTTP 414 response body: invalid character '<' looking for beginning of value: "<html>\r\n<head><title>414 Request-URI Too Large</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>414 Request-URI Too Large</h1></center>\r\n<hr><center>openresty</center>\r\n</body>\r\n</html>\r\n"
Environment
- Red Hat OpenShift Container Platform 4.6
- Red Hat OpenShift Container Platform 4.7
- Red Hat OpenShift Container Platform 4.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.