Description of problem:
oc-mirror dry-run v2 does not provide stats like v1
stats: shared=4049 unique=72823 size=3.261TiB ratio=0.93
Version-Release number of selected component (if applicable):
How reproducible:
$ oc-mirror 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-202410251041.p0.g95f0611.assembly.stream.el9-95f0611", GitCommit:"95f0611c1dc9584a4a9e857912b9eaa539234bbc", GitTreeState:"clean", BuildDate:"2024-10-25T11:28:19Z", GoVersion:"go1.22.7 (Red Hat 1.22.7-1.module+el8.10.0+22325+dc584f75) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
Steps to Reproduce:
1. Run oc-mirror v2 with --dry-run
Actual results:
No size estimates
Expected results:
Size estimates like v1
Additional info:
$ cat v2_imageset-config_all_4.16.0.yml apiVersion: mirror.openshift.io/v2alpha1 kind: ImageSetConfiguration archiveSize: 4 mirror: platform: channels: - name: stable-4.16 minVersion: 4.16.10 maxVersion: 4.16.20 type: ocp graph: true operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.16 full: true # only mirror the latest versions additionalImages: - name: registry.redhat.io/odf4/odf-must-gather-rhel9:v4.16
- is cloned by
-
OCPBUGS-44484 oc-mirror can't mirror the image that tag and digest are empty
- New