-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
ensure node exists if --node-name given #16387
ensure node exists if --node-name given #16387
Conversation
6efc94e
to
447a8a5
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabianofranz, juanvallejo The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
Automatic merge from submit-queue (batch tested with PRs 16439, 16218, 16387, 16509) |
PR openshift#16387 prevented a debug pod from being created at all, if a specified node-name pointed to a node that did not exist. Although the patch aimed to make "debug" command failures more immediate, a client should not attempt to retrieve a specific node in the "debug" command, as there is no guarantee that the user has access to retrieve node information. While this means that the "debug" command
Automatic merge from submit-queue. prevent client from looking up specific node in `oc debug` Reverts #16387 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1505698 PR #16387 prevented a debug pod from being created at all, if a specified node-name pointed to a node that did not exist. Although the patch aimed to make "debug" command failures more immediate, a client should not attempt to retrieve a specific node in the "debug" command, as there is no guarantee that the user has access to retrieve node information. While this means that the "debug" command cc @openshift/cli-review @smarterclayton
Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1474262
Ensures a node exists before creating a debug pod (if a nodeName is specified using
--node-name
).If a nodeName is not specified, current behavior is unchanged.
Before
After
cc @openshift/cli-review