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 1986453: Check for API server and node versions skew #2658
Bug 1986453: Check for API server and node versions skew #2658
Conversation
/assign @sinnykumari |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some initial questions/comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few more comments
/hold
@QiWang19 I know that this PR is based on someone else's previous PR, but I think we can refine it. What most of my comments are asking for is: using that work as a baseline, how can we make this into an understandable & actionable status for a user. Also keep in mind a pool can be large, so the info needs to be easy to consume if we have, say, 50 nodes that have unsupported skew. Users can get into this situation bc a pool is paused and so it did not upgrade to match the apiserver and is still at an older version. They will likely have to let those pools upgrade (to at a minimum a supported skew) before they can initiate another clusterwide upgrade (which would cause the kubeapiserver to get even further away). So we need to think about telling them the state in a meaningful way, but also give them some hint about what they need to do to remedy it. Happy to discuss further if you have any questions. =) |
4cf72ac
to
3664ebe
Compare
@kikisdeliveryservice Thanks for the explanation. I have cleaned up some reviews. PTAL. |
/retest |
2 similar comments
/retest |
/retest |
@kikisdeliveryservice Thanks for the explanation. I have cleaned up some reviews. Could you PTAL? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few more comments
Just noting that when this is done, we need to get the commits updated so Qi is a co-author. |
must-gather.tar.gz
|
/hold cancel |
@QiWang19: This pull request references Bugzilla bug 1986453, which is invalid:
Comment 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. |
/bugzilla refresh |
@QiWang19: This pull request references Bugzilla bug 1986453, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (schoudha@redhat.com), skipping review 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. |
/test e2e-agnostic-upgrade |
I tested this PR locally and it does report the skew, and go back to no skew as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one last thing otherwise looks good
Co-authored-by: Qi Wang <qiwan@redhat.com> Signed-off-by: Qi Wang <qiwan@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all of the work on this. I think we've gotten it to a good state.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kikisdeliveryservice, QiWang19, rphillips 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-required Please review the full test history for this PR and help us cut down flakes. |
@QiWang19: The following tests failed, say
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. |
@QiWang19: All pull requests linked via external trackers have merged: Bugzilla bug 1986453 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. |
ref: https://issues.redhat.com/browse/OCPNODE-595
replace #2552
- What I did
Check for API server and node versions skew.
Update with the message the Kube API version is skew too far, but do not force
Upgradeable=False
according to enhancement https://github.com/openshift/enhancements/pull/762/files- How to verify it
- Description for the changelog