Skip to content
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

etcd: add etcd v3.5.1 for kubernetes 1.22+ #8588

Merged
merged 2 commits into from
Mar 7, 2022
Merged

etcd: add etcd v3.5.1 for kubernetes 1.22+ #8588

merged 2 commits into from
Mar 7, 2022

Conversation

mzaian
Copy link
Contributor

@mzaian mzaian commented Mar 2, 2022

What type of PR is this?

/kind feature

What this PR does / why we need it:
There is an issue with etcd v3.5.0 where it resurrects ancient members see: etcd-io/etcd#13196
This issue is fixed in etcd v3.5.2
Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

[etcd] add v3.5.1 for kubernetes 1.22+

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 2, 2022
@k8s-ci-robot
Copy link
Contributor

Hi @mzaian. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 2, 2022

CLA Signed

The committers are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 2, 2022
@k8s-ci-robot k8s-ci-robot requested review from bozzo and EppO March 2, 2022 10:09
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Mar 2, 2022
@floryut
Copy link
Member

floryut commented Mar 2, 2022

@mzaian You really have to cleanup your git history :)
And as far as I see in the issue, the problem was fixed in 3.5.1 .. or is it something I'm missing ?

Usually we try to follow etcd version from k8s, but if there is indeed a messy bug we can bump a minor version.

@mzaian
Copy link
Contributor Author

mzaian commented Mar 2, 2022

Hello @floryut ,
So first when I tried with version 3.5.0 I had the issue. Tried version 3.5.2 with another cluster it worked smoothly with a k8s cluster that is running 1.21.

@cristicalin
Copy link
Contributor

So first when I tried with version 3.5.0 I had the issue. Tried version 3.5.2 with another cluster it worked smoothly with a k8s cluster that is running 1.21.

As pointed out by @floryut , this issue seems to be addressed in 3.5.1 already, when upstream suggests moving to 3.5.2 (with kube 1.24 maybe) we should bump the default unless there is a specific need to do it earlier. I would suggest to just add the relevant checksums so deployers such as yourself can decide for themselves to upgrade individual clusters but leave the default to 3.5.1.

@mzaian
Copy link
Contributor Author

mzaian commented Mar 2, 2022

So first when I tried with version 3.5.0 I had the issue. Tried version 3.5.2 with another cluster it worked smoothly with a k8s cluster that is running 1.21.

As pointed out by @floryut , this issue seems to be addressed in 3.5.1 already, when upstream suggests moving to 3.5.2 (with kube 1.24 maybe) we should bump the default unless there is a specific need to do it earlier. I would suggest to just add the relevant checksums so deployers such as yourself can decide for themselves to upgrade individual clusters but leave the default to 3.5.1.

I modified my PR, but I kept the etcd v3.5.1 for k8s 1.22 because it has the fix.

@cristicalin
Copy link
Contributor

Thank you @mzaian !

/ok-to-test
/lgtm

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Mar 3, 2022
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 3, 2022
@floryut floryut changed the title etcd: add etcd v3.5.2 for kubernetes 1.22+ etcd: add etcd v3.5.1 for kubernetes 1.22+ Mar 7, 2022
@floryut floryut added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Mar 7, 2022
Copy link
Member

@floryut floryut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mzaian Fine by me for this version 👍

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: floryut, mzaian

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 7, 2022
@k8s-ci-robot k8s-ci-robot merged commit 632aa76 into kubernetes-sigs:master Mar 7, 2022
sakuraiyuta pushed a commit to sakuraiyuta/kubespray that referenced this pull request Apr 16, 2022
* There is an issue with etcd v3.5.0 where it resurrects ancient members see: etcd-io/etcd#13196
This issue is clearly fixed in etcd v3.5.2

* Just keep the checksums
@oomichi oomichi added the kind/feature Categorizes issue or PR as related to a new feature. label May 28, 2022
@oomichi oomichi mentioned this pull request May 28, 2022
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jun 29, 2023
* There is an issue with etcd v3.5.0 where it resurrects ancient members see: etcd-io/etcd#13196
This issue is clearly fixed in etcd v3.5.2

* Just keep the checksums
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Oct 22, 2023
* There is an issue with etcd v3.5.0 where it resurrects ancient members see: etcd-io/etcd#13196
This issue is clearly fixed in etcd v3.5.2

* Just keep the checksums
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants