-
Notifications
You must be signed in to change notification settings - Fork 2.1k
installer template: add a function to test cluster state restore #3595
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
installer template: add a function to test cluster state restore #3595
Conversation
3f55a80 to
45eb608
Compare
|
/test pj-rehearse |
d87e882 to
4bf53d4
Compare
patrickdillon
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.
I tested this against an unaffiliated origin PR (which does not run the function) just to make sure editing the e2e template would not break other tests and it was fine. All tests completed successfully.
ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
Outdated
Show resolved
Hide resolved
|
I don't think I have privileges but trying anyway: |
90c3eb5 to
47045a4
Compare
|
Do we have consensus here? Please LMK |
c469ee0 to
2b9b38e
Compare
e8cfe3d to
28f4a27
Compare
|
/test pj-rehearse |
1 similar comment
|
/test pj-rehearse |
28f4a27 to
1b3d15d
Compare
|
/hold Breaks aws test |
|
Some kind of CI hiccup for e2e-aws: /retest |
|
/test pj-rehearse |
|
Failing AWS job was just a hiccup indeed |
1b3d15d to
c99a3b4
Compare
|
/test pj-rehearse |
ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml
Outdated
Show resolved
Hide resolved
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 think we want exit 1 -> return 1, so the caller can decide if they want to add additional error handling.
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.
never mind, the rest of this script is all set -e, so this matches that.
c2f0048 to
4866887
Compare
4866887 to
5e02459
Compare
/test e2e-aws |
|
/test pj-rehearse |
|
/lgtm |
|
/lgtm 🎉 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hexfusion, patrickdillon, sdodson, vrutkovs, wking 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 |
|
@vrutkovs: Updated the following 5 configmaps:
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. |
This adds a new function to installer template, which emulates cluster state restore. A new optional test
e2e-restore-cluster-stateis added to test it via rehearse jobs.See https://jira.coreos.com/browse/CORS-1062
TODO:
Previously machine-config operator switched to Degraded state when master configs were updated. This was a bug, which was fixed. The correct way to track config rollouts is watching
MachineConfigPoolstatusesThis would be taken care of later