Description of problem:
Unable to run disk to mirror in enclave environment.
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.16.0-202406131906.p0.g7c0889f.assembly.stream.el9-7c0889f", GitCommit:"7c0889f4bd343ccaaba5f33b7b861db29b1e5e49", GitTreeState:"clean", BuildDate:"2024-06-13T22:07:44Z", GoVersion:"go1.21.9 (Red Hat 1.21.9-1.el9_4) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Always
Steps to Reproduce:
1. Mirror to disk on internet facing machine 2. scp the tar to a disconnected machine, different folder 3. Disk to mirror
Actual results:
[ec2-user@ip-10-0-1-197 ~]$ oc-mirror --v2 -c isc_resources.yaml --from file:///home/ec2-user/entreprise-content/ docker://localhost:5000 2024/07/15 08:42:40 [WARN] : ⚠️ --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready. 2024/07/15 08:42:40 [INFO] : 👋 Hello, welcome to oc-mirror 2024/07/15 08:42:40 [INFO] : ⚙️ setting up the environment for you... 2024/07/15 08:42:40 [INFO] : 🔀 workflow mode: diskToMirror I0715 08:42:40.646736 40155 client.go:44] Usage of the UPDATE_URL_OVERRIDE environment variable is unsupported 2024/07/15 08:49:34 [INFO] : 🕵️ going to discover the necessary images... 2024/07/15 08:49:34 [INFO] : 🔍 collecting release images... 2024/07/15 08:49:34 [ERROR] : [ReleaseImageCollector] open /home/skhoury/demo/working-dir/hold-release/ocp-release/4.15.17-x86_64/release-manifests/image-references: no such file or directory 2024/07/15 08:49:34 [INFO] : 👋 Goodbye, thank you for using oc-mirror error closing log file registry.log: close /home/ec2-user/entreprise-content/working-dir/logs/registry.log: file already closed 2024/07/15 08:49:34 [ERROR] : [ReleaseImageCollector] open /home/skhoury/demo/working-dir/hold-release/ocp-release/4.15.17-x86_64/release-manifests/image-references: no such file or directory
Expected results:
Success the folder releaseImageCollector should have used is /home/ec2-user/entreprise-content/working-dir/hold-release/ocp-release/4.15.17-x86_64/release-manifests/image-references
Additional info:
- blocks
-
OCPBUGS-37040 [v2] unable to mirror releases disk to mirror in enclave setup
- Closed