Description of problem:
When use the command `oc-mirror --config config-oci-target.yaml docker://localhost:5000 --use-oci-feature --dest-use-http --dest-skip-tls` , the command exit with code 0, but print log like : unable to parse reference oci://mno/redhat-operator-index:v4.12: lstat /mno: no such file or directory.
Version-Release number of selected component (if applicable):
oc-mirror version
Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.13.0-202303011628.p0.g2e3885b.assembly.stream-2e3885b", GitCommit:"2e3885b469ee7d895f25833b04fd609955a2a9f6", GitTreeState:"clean", BuildDate:"2023-03-01T16:49:12Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
always
Steps to Reproduce:
1. with imagesetconfig like :
cat config-oci-target.yaml
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
storageConfig:
local:
path: /home/ocmirrortest/0302/60597
mirror:
operators:
- catalog: oci:///home/ocmirrortest/noo/redhat-operator-index
targetCatalog: mno/redhat-operator-index
targetTag: v4.12
packages:
- name: aws-load-balancer-operator
`oc-mirror --config config-oci-target.yaml docker://localhost:5000 --use-oci-feature --dest-use-http --dest-skip-tls`
Actual results:
1. the command exit with code 0, but print strange logs like: sha256:95c45fae0ca9e9bee0fa2c13652634e726d8133e4e3009b363fcae6814b3461d localhost:5000/albo/aws-load-balancer-rhel8-operator:95c45f sha256:ab38b37c14f7f0897e09a18eca4a232a6c102b76e9283e401baed832852290b5 localhost:5000/albo/aws-load-balancer-rhel8-operator:ab38b3 info: Mirroring completed in 43.87s (28.5MB/s) Rendering catalog image "localhost:5000/mno/redhat-operator-index:v4.12" with file-based catalog Writing image mapping to oc-mirror-workspace/results-1677743154/mapping.txt Writing CatalogSource manifests to oc-mirror-workspace/results-1677743154 Writing ICSP manifests to oc-mirror-workspace/results-1677743154 unable to parse reference oci://mno/redhat-operator-index:v4.12: lstat /mno: no such file or directory
Expected results:
no such log .
- blocks
-
OCPBUGS-10047 oc-mirror print log: unable to parse reference oci://mno/redhat-operator-index:v4.12
-
- Closed
-
- clones
-
OCPBUGS-7465 oc-mirror will hit 401 code after hang a while
-
- Closed
-
- is cloned by
-
OCPBUGS-8276 When imagesetconfigure without OCI FBC format config, but command with use-oci-feature flag, the oc-mirror command should check the imagesetconfigure firstly and print error immediately
-
- Closed
-
-
OCPBUGS-10047 oc-mirror print log: unable to parse reference oci://mno/redhat-operator-index:v4.12
-
- Closed
-
- links to
-
RHEA-2023:5006
rpm