Description of problem:
when mirror IBM operator catalogs, oc-mirror failed with error: invalid package name "ibm-clickhouse-operator.v0.1.0": [must not contain dots]
Version-Release number of selected component (if applicable):
./oc-mirror.rhel8 version WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.18.0-202411090338.p0.g0a7dbc9.assembly.stream.el9-0a7dbc9", GitCommit:"0a7dbc90746a26ddff3bd438c7db16214dcda1c3", GitTreeState:"clean", BuildDate:"2024-11-09T08:33:46Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Always
Steps to Reproduce:
1. imagesetconfig as follow : kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 archiveSize: 4 mirror: operators: - catalog: icr.io/cpopen/ibm-operator-catalog:v1.22 packages: - name: ibm-ftm-operator channels: - name: v4.4 2. run the mirror2mirror command : ./oc-mirror.rhel8 -c /tmp/fixture-testdata-dir32961007/test/extended/testdata/workloads/config-75502.yaml docker://localhost:5000 --dest-skip-tls --dest-use-http
Actual results:
2. hit error : ./oc-mirror.rhel8 -c /tmp/fixture-testdata-dir32961007/test/extended/testdata/workloads/config-75502.yaml docker://localhost:5000 --dest-skip-tls --dest-use-http Checking push permissions for localhost:5000 Creating directory: oc-mirror-workspace/src/publish Creating directory: oc-mirror-workspace/src/v2 Creating directory: oc-mirror-workspace/src/charts Creating directory: oc-mirror-workspace/src/release-signatures backend is not configured in /tmp/fixture-testdata-dir32961007/test/extended/testdata/workloads/config-75502.yaml, using stateless mode backend is not configured in /tmp/fixture-testdata-dir32961007/test/extended/testdata/workloads/config-75502.yaml, using stateless mode No metadata detected, creating new workspaceThe rendered catalog is invalid.Run "oc-mirror list operators --catalog CATALOG-NAME --package PACKAGE-NAME" for more information.error: error converting new declarative config to model: invalid package name "ibm-clickhouse-operator.v0.1.0": [must not contain dots]
Expected results:
2. no error
Additional info:
compared with 4.17 oc-mirror, no such issue
- clones
-
OCPBUGS-44103 oc-mirror failed error :manifest type *ocischema.DeserializedImageIndex is not supported
- New
- is cloned by
-
OCPBUGS-44448 oc-mirror delete failed with error: Image may not exist or is not stored with a v2 Schema in a v2 registry
- New
-
OCPBUGS-44827 oc-mirror can't support the ibm catalog as oci format
- New
- links to