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
Bug 1989504: The code logic of channel clear is ambiguous, as well as the help info and output messages #891
Bug 1989504: The code logic of channel clear is ambiguous, as well as the help info and output messages #891
Conversation
Add more detailed information to help info and output messages. And make a change to not require --allow-explicit-channel when clearing an unkown channel. More info is in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1989504
f057dde
to
c129c1b
Compare
/retest |
/assign @vrutkovs |
/approve Looks good, leaving this for Trevor/Jack to double check |
@vrutkovs: No Bugzilla bug is referenced in the title of this pull request. 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. |
/retitle Bug 1989504: The code logic of channel clear is ambiguous, as well as the help info and output messages |
@shellyyang1989: An error was encountered querying GitHub for users with public email (yanyang@redhat.com) for bug 1989504 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details. Full error message.
non-200 OK status code: 403 Forbidden body: "{\n \"documentation_url\": \"https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits\",\n \"message\": \"You have exceeded a secondary rate limit. Please wait a few minutes before you try again.\"\n}\n"
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
Thanks Vadim! |
I think the /lgtm |
@wking: This pull request references Bugzilla bug 1989504, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: shellyyang1989. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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: shellyyang1989, vrutkovs, wking 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 |
/retest |
The failed test seems irrelevant to this PR. |
Agreed to make it pass |
Ah, its required, guess I'll have to /retest it until it passes |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
11 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
@soltysh, there are some unrelated firing alerts and repeated events failing e2e-agnostic-cmd. Can you:
so this can land, while folks are digging into and fixing those? |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
14 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
@shellyyang1989: All pull requests linked via external trackers have merged: Bugzilla bug 1989504 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. |
Prior to this change, we have:
When current update channel is unknown, it still requires override.
When desired channel is not specified (or empty), it will clear the channel, but the error message is not clear enough.
When a unknown channel is specified with --allow-explicit-channel, there is no message indicating the channel is being set.
When available channels are empty and desired channel is specified, there is no message indicating the channel is being set.
We don't have multiple default upstream.
Upstream is unset, so the cluster will use an appropriate default.
With the change, we will have:
When available channels are empty and desired channel is specified, the output message is indicating the channel is being set.
When a unknown channel is specified with --allow-explicit-channel, the output message is indicating the channel is being set.
Clearing an unknown channel does not require override.
Clearing a known channel requires override.