-
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
cluster up support for N-1 clusters #17338
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees 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 |
d783cd2
to
ba97b08
Compare
/unassign @stevekuznetsov @mfojtik guessing the cluster up tests are going to need some tweaking before this all works right. |
@deads2k and we believe this doesn't need an ansible change because ansible is just instantiating the TSB template, so it gets the change "for free" right? |
We still need to get the CI jobs in place to automatically sync content from origin to openshift-ansible, but yes that's the intention. I'll see if we can get that in place soon. Rather than current/previous would it be easier to to just include vX.Y versioned templates? |
we are only supporting N-1, so current/previous makes more sense to me than renaming dirs and changing code every release. This way we just drop the right templates in the right dirs and the rest just works. |
9075af7
to
e30d327
Compare
/retest |
37a57a7
to
3961765
Compare
14b7211
to
c550fe4
Compare
/retest |
/retest |
/hold cancel |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
5d9b047
to
164ed0b
Compare
@deads2k the new image is failing because the routing doesn't appear to be setup properly:
I can't help but suspect this is related to your part of this change... |
871e07e
to
78da20d
Compare
_ "k8s.io/kubernetes/pkg/api/install" | ||
_ "k8s.io/kubernetes/pkg/apis/autoscaling/install" | ||
_ "k8s.io/kubernetes/pkg/apis/batch/install" | ||
_ "k8s.io/kubernetes/pkg/apis/extensions/install" |
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.
@deads2k fyi this was necessary for the TSB to be able to do restmapping successfully. And it seems utterly unsustainable.
78da20d
to
e41a61b
Compare
e41a61b
to
758e387
Compare
@bparees: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
/retest |
Automatic merge from submit-queue. |
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.
I realize this has already merged, but I had a couple comments after rebasing #17575
// brought up matches the client binary being used. This needs to | ||
// be updated each release. | ||
func clusterVersionIsCurrent(v semver.Version) bool { | ||
return v.GT(openshiftVersion37) |
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.
Won't this return true for 3.7.1?
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.
yeah, good catch, can you address this in your PR? :)
"--loglevel=2" # can't be empty, so pass something benign | ||
|
||
# Test the code being delivered | ||
"--loglevel=2 --version=${ORIGIN_COMMIT}" |
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.
ORIGIN_COMMIT shouldn't be used before a default is set
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.
yeah, thanks. i didn't notice since i was only running this in the CI env that always set it. I see you've addressed it in your PR.
switching TSB to its own binary and making sure cluster up can still launch the TSB on older clusters.
supplements/replaces #16800