Description of problem:
When trying to perform a delete generate using a different folder that is not used with r M2D+D2M throws error as below 2024/08/02 18:24:46 [ERROR] : error list APIRequestError: channel "stable-4.13": NoGraphData: No graph data found on disk and no delete-images.yaml is generated
Version-Release number of selected component (if applicable):
4.17
How reproducible:
Always
Steps to Reproduce:
1. Create ImageSetConfig.yaml as below 2. Now run (M2D + D2M) using the commands below 3. oc-mirror -c config.yaml file://clid-199 --v2 4. oc-mirror -c config.yaml --from file://clid-199 docker://localhost:5000 --v2 --dest-tls-verify=false 5. Run command to generate the delete-images.yaml file using the command oc-mirror delete -c clid-delete-yaml --generate workspace file://clid-199-delete docker://localhost:5000 --v2 --dest-tls-verify=false --src-tls-verify=false
Actual results:
When doing (m2d+d2m) and using different folder for delete generate error below is seen 2024/08/02 18:24:46 [ERROR] : error list APIRequestError: channel "stable-4.13": NoGraphData: No graph data found on disk and no delete-images.yaml is generated.
Expected results:
No errors should be seen and delete-images.yaml should be generated for the release images as well.
Additional info:
apiVersion: mirror.openshift.io/v2alpha1 kind: ImageSetConfiguration mirror: platform: channels: - name: stable-4.13 minVersion: 4.13.3 maxVersion: 4.13.3 operators: - catalog: oci:///test/ibm-catalog - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.15 packages: - name: devworkspace-operator minVersion: "0.26.0" - name: nfd maxVersion: "4.15.0-202402210006" - name: cluster-logging minVersion: 5.8.3 maxVersion: 5.8.4 - name: quay-bridge-operator channels: - name: stable-3.9 minVersion: 3.9.5 - name: quay-operator channels: - name: stable-3.9 maxVersion: "3.9.1" - name: odf-operator channels: - name: stable-4.14 minVersion: "4.14.5-rhodf" maxVersion: "4.14.5-rhodf" additionalImages: - name: registry.redhat.io/ubi8/ubi:latest - name: quay.io/openshifttest/hello-openshift@sha256:61b8f5e1a3b5dbd9e2c35fd448dc5106337d7a299873dd3a6f0cd8d4891ecc27 - name: quay.io/openshifttest/scratch@sha256:b045c6ba28db13704c5cbf51aff3935dbed9a692d508603cc80591d89ab26308