Description of problem:
This happens on RHEL v9.2, on RHEL8.8 everything works as expected. Running "oc mirror --config=./imageset-config.yaml docker://$quayHostname:8443" I see the following error: Checking push permissions for rhel9.lab.local:8443 error: error checking push permissions for rhel9.lab.local:8443: POST https://rhel9.lab.local:8443/v2/oc-mirror/blobs/uploads/: unexpected status code 502 Bad Gateway: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>Redirecting...</title> <h1>Redirecting...</h1> <p>You should be redirected automatically to target URL: <a href="https://rhel9.lab.local/quay-registry/static/502.html/">https://rhel9.lab.local/quay-registry/static/502.html/</a>. If not click the link.
Version-Release number of selected component (if applicable):
[vince@rhel9 ~]$ oc-mirror version Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.13.0-202309110902.p0.g07d39c8.assembly.stream-07d39c8", GitCommit:"07d39c8320141472b2c90a16a8d383c6f0be9ea3", GitTreeState:"clean", BuildDate:"2023-09-11T09:16:12Z", GoVersion:"go1.19.10 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
always
Steps to Reproduce:
Built a mirror-registry (1.3.9) with the following settings. Quay initializes and I'm able to access the registry with podman and browser. ./mirror-registry install --quayHostname $quayHostname --quayRoot $quayRoot --quayStorage $quayStorage --initPassword $initPassword quayHostname="rhel9.lab.local" quayRoot="/home/vince/mirror/ocp4" quayStorage="/home/vince/mirror/ocp4" initPassword="password" I try to mirror a simple imageset: oc mirror --config=./imageset-config.yaml docker://$quayHostname:8443 kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 storageConfig: registry: imageURL: rhel9.lab.local:8443/home/vince/mirror/ocp4 skipTLS: false mirror: platform: channels: - name: stable-4.13 minVersion: 4.13.13 shortestPath: true graph: true additionalImages: helm: {}
Actual results:
Expected results:
Additional info:
If i install the registry without specifying the storage directory everything works ./mirror-registry install --quayHostname $quayHostname --quayRoot $quayRoot --initPassword $initPassword