New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCPBUGS-23309: Do not panic if port chosen to run local cache is bound #744
Conversation
@sherine-k: This pull request references Jira Issue OCPBUGS-23309, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sherine-k The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sherine-k: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
@sherine-k: Jira Issue OCPBUGS-23309: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-23309 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix included in accepted release 4.15.0-0.nightly-2023-12-02-123536 |
Description
This PR fixes the panic that occurred when the port used by the local cache of oc-mirror v2 was already bound to another process by:
Fixes # OCPBUGS-23309
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
./bin/oc-mirror --v2 --config cfe-966.yml --from file:///home/skhoury/release --dest-tls-verify=false docker://localhost:5000
uses port 55000./bin/oc-mirror --v2 --config cfe-966.yml --from file:///home/skhoury/release --dest-tls-verify=false docker://localhost:5000 -p 5000
fails gracefullyExpected Outcome