-
Notifications
You must be signed in to change notification settings - Fork 667
Bug 1904713: Fix issue getting kubernetes cluster version from API Server. #7548
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
Conversation
|
@akashshinde: This pull request references Bugzilla bug 1904713, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn 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. |
|
@akashshinde: This pull request references Bugzilla bug 1904713, which is valid. 3 validation(s) were run on this bug
DetailsIn 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. |
pedjak
left a comment
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.
The fix does not solve a situation when an error happen at console bootstrap and we are not able to get the cluster version. In that case the filtering will be practically turned off.
IMHO, it would be more robust to try to read the cluster version at the moment when it is really needed (lazy, at the first index.yaml call). If we get the error then, we are going to deliver unfiltered index.yaml, but we will try to get the version by the next call, until we finally get it.
Please provide a better commit message and PR description explaining how the fix solves the issue.
|
/cherry-pick release-4.6 |
|
@pedjak: once the present PR merges, I will cherry-pick it on top of release-4.6 in a new PR and assign it to you. DetailsIn 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. |
|
/retest |
1 similar comment
|
/retest |
|
/approve I will defer to @pedjak for the code review, thanks! |
|
@rohitkrai03 can you test it? |
|
@pedjak @akashshinde I tried the PR with a cluster built using cluster-bot. On the cluster I am seeing only 6 helm charts in the catalog while on a nightly cluster i am getting 9 helm charts in the catalog. It seems that it is filtering helm charts that it shouldn’t. I checked the chart getting filtered had a kubeVersion specified with a |
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.
Had a discussion with @akashshinde around the filtering. The PR cluster was filtering charts because it was running pre-release kubernetes version and the nightly cluster was showing all 9 charts because it was running stable kubernetes version. The filtering seems to be working correctly based on that.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akashshinde, rohitkrai03, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
@akashshinde: All pull requests linked via external trackers have merged: Bugzilla bug 1904713 has been moved to the MODIFIED state. DetailsIn 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. |
|
@pedjak: #7548 failed to apply on top of branch "release-4.6": DetailsIn 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. |
|
@akashshinde: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |


Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1904713