Description of problem: `oc adm catalog mirror` with Quay as target repository fails due to GET request > 4096 bytes. Error: "Request Line is too large (4160 > 4094)" Version-Release number of selected component (if applicable): oc 4.7.0 ocp 4.6.19 quay operator 3.4.2 How reproducible: Every time Steps to Reproduce: 1. opm index prune \ -f registry.redhat.io/redhat/redhat-operator-index:v4.6 \ -p amq-broker,amq-broker-lts,amq-online,amq-streams,amq7-interconnect-operator \ -t quay-quay-quay.apps.vipi.lab.bewley.net/dlbewley/redhat-operator-index:v4.6 2. podman push quay-quay-quay.apps.vipi.lab.bewley.net/dlbewley/redhat-operator-index:v4.6 3. oc adm catalog mirror \ quay-quay-quay.apps.vipi.lab.bewley.net/dlbewley/redhat-operator-index:v4.6 \ quay-quay-quay.apps.vipi.lab.bewley.net/dlbewley \ -a /run/user/1000/containers/auth.json Actual results: error: unable to push manifest to quay-quay-quay.apps.vipi.lab.bewley.net/dlbewley/amq7-amq-streams-kafka-24-rhel7:a7227715: Put "https://quay-quay-quay.apps.vipi.lab.bewley.net/v2/dlbewley/amq7-amq-streams-kafka-24-rhel7/manifests/a7227715": error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<html>\n <head>\n <title>Bad Request</title>\n </head>\n <body>\n <h1><p>Bad Request</p></h1>\n Request Line is too large (4160 > 4094)\n </body>\n</html>\n" Expected results: Successful push of mirrored content Additional info: Essentially dupe of BZ1874106 but it was recommended to file one against `oc adm catalog mirror`. Request advice for workaround in mean time.
It appears as though this is just a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1874106. oc adm catalog mirror uses oc image mirror under the hood directly, and given that that bz is verified I don't believe a workaround is required at this time, nor would we be able to provide one separate from a fix to oc image mirror. Closing as DUPLICATE. *** This bug has been marked as a duplicate of bug 1874106 ***