Description of problem:
when use the oc-mirror with v2 prepare , sill use 5000 as default port , this is not same as the help info , should use 55000 as default port.
Version-Release number of selected component (if applicable):
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.15.0-202312011230.p0.ge4022d0.assembly.stream-e4022d0", GitCommit:"e4022d08586406f3a0f92bab1d3ea6cb8856b4fa", GitTreeState:"clean", BuildDate:"2023-12-01T12:48:12Z", GoVersion:"go1.20.10 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
always
Steps to Reproduce:
1. oc-mirror --v2 prepare --from file://out --config config-filter.yaml file://out
Actual results:
1 oc-mirror --v2 prepare --from file://out --config config-filter.yaml file://out
--v2 flag identified, flow redirected to the oc-mirror v2 version. PLEASE DO NOT USE that. V2 is still under development and it is not ready to be used.
2023/12/04 05:39:00 [ERROR] : 5000 is already bound and cannot be used
Expected results:
Should use default port 55000.
- links to
-
RHSA-2023:7198 OpenShift Container Platform 4.15 security update