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
setup-etcd-environment/run.go: fix upgrade path #1408
setup-etcd-environment/run.go: fix upgrade path #1408
Conversation
On an upgrade from a 4.3 cluster to a cluster-etcd-operator enabled cluster discovery fails because the expected operator environment is not getting created.
9b0a54c
to
598de48
Compare
@alaypatel07 and @hexfusion will be testing this PR & will update /assign @hexfusion |
until they confirm desired functionality/results in testing /hold |
Update: reported to 4-dev /test e2e-aws |
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.
We can clean this up after code freeze I think it is a reasonable assumption that upgrade of a node happens inCluster()
/lgtm
looks like flake /test e2e-aws |
/test e2e-aws |
/test e2e-aws-scaleup-rhel7 |
/test e2e-aws |
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.
Adding an approval.
@hexfusion @alaypatel07 please remove the hold once you are satisfied with your manual testing.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alaypatel07, hexfusion, kikisdeliveryservice 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 |
@kikisdeliveryservice @hexfusion I had 2 manual upgrades and a fresh install with this PR and CEO enabled... looking good! |
/test e2e-aws-scaleup-rhel7 |
/hold cancel |
@alaypatel07: The following test 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. |
/test e2e-aws |
/skip |
Upgrades from a 4.3 cluster to a cluster-etcd-operator enabled
cluster discovery fails because the expected operator environment
is not being populated. The
isScaling
function was passing in normalscale-up but not in an upgrade, where etcd pods already exist with the
directory and we cannot afford to delete the etcd data directory.
This is a temporary solution until we find a better way of differentiating
between scale-up and upgrade.
More context here
- How to verify it
- Description for the changelog
fixes upgrades to cluster-etcd-operator enabled cluster