-
Notifications
You must be signed in to change notification settings - Fork 8.1k
ansible installer needs to support clusters whose versions have multiple digits #5710
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
/assign @sbezverk |
Can I have a committer look at this and merge when possible? Ansible installer, as it currently is, is broken when using the latest minikube. Need this fix (or something similar) to get it to work. |
Codecov Report
@@ Coverage Diff @@
## master #5710 +/- ##
========================================
+ Coverage 67% 74% +7%
========================================
Files 333 322 -11
Lines 29045 27703 -1342
========================================
+ Hits 19298 20241 +943
+ Misses 8977 6666 -2311
- Partials 770 796 +26
Continue to review full report at Codecov.
|
…or release number). The Istio Ansible Installer fails because it expects only single-digits for major, minor, and patch release numbers. This fixes that limitation. NOTE: this PR ONLY fixes this for k8s. I assume the same will happen when ocp had multiple-digits, but because this PR is to address k8s installation only, that is all I am fixing here.
…, I figure better fix the installer for installing in ocp, too.
66d3afb
to
c28b07f
Compare
Since it looks like the ansible installer is going to be used mainly for ocp installations, I added a second commit to also fix this bug for ocp versions, as well. |
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.
/lgtm
/ok-to-test
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gyliu513, jmazzitelli Assign the PR to them by writing 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 |
/cc @sdake can you help check if we can have this merged? |
/ok-to-test |
@jmazzitelli: The following test failed, say
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. |
@jmazzitelli: PR needs rebase. 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'm not even sure if this is relevant anymore... it seems helm is going to be the way forward for installing Istio. Is the Ansible Installer still under active development? I am assuming it will no longer be used (??) |
This has already been fixed upstream. |
I'm running latest minikube, version 1.10.0 (notice the two-digit minor release number). The actual output of
kubectl version
is:The Istio Ansible Installer fails early during its assert checks because it expects only single-digits for major, minor, and patch release numbers.
This fixes that limitation.
NOTE: this PR has a second commit that also fixes this for OpenShift installations since this bug will also happen when ocp had multiple-digits in versions, too.