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

kubeadm: upgrade etcd to 3.4.13-3 #100612

Merged
merged 1 commit into from
May 5, 2021
Merged

Conversation

pacoxu
Copy link
Member

@pacoxu pacoxu commented Mar 29, 2021

What type of PR is this?

/kind bug

What this PR does / why we need it:

LATEST_ETCD_VERSION?=3.4.13
# REVISION provides a version number fo this image and all it's bundled
# artifacts. It should start at zero for each LATEST_ETCD_VERSION and increment
# for each revision of this image at that etcd version.
REVISION?=3

Why we still use 3.4.13-0 here? Is there a special reason?

Which issue(s) this PR fixes:

xref #45506
During investigation etcd versions matrix, I find the revision here is still 3.4.13-0.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

kubeadm upgrade etcd to 3.4.13-3

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/kubeadm sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. and removed do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Mar 29, 2021
@neolit123
Copy link
Member

neolit123 commented Mar 29, 2021

Why we still use 3.4.13-0 here? Is there a special reason?

i don't know why there is a -3 revision and what is included in that.

we tend to update the GCE/kube-up tests and kubeadm at the same time.
i see that kube-up is at -0 still:
https://github.com/kubernetes/kubernetes/blob/c2369d9d44ef6af1bd8443a6afe875be5b0d94c6/cluster/gce/manifests/etcd.manifest

usually by the time we move to a -X revisions there is a new etcd MINOR / PATCH version we can move to instead:

maybe this is what we want instead.
https://github.com/etcd-io/etcd/releases/tag/v3.4.15

there is also:
https://github.com/etcd-io/etcd/releases/tag/v3.5.0-alpha.0
(so maybe 3.5.0 will be out before kubernetes 1.21)

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2021
@neolit123
Copy link
Member

/sig api-machinery

@k8s-ci-robot k8s-ci-robot added the sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. label Mar 29, 2021
@pacoxu
Copy link
Member Author

pacoxu commented Mar 30, 2021

It seems no special changes.

@pacoxu
Copy link
Member Author

pacoxu commented Mar 30, 2021

For kubernetes 1.22 release, etcd 3.5.x may be a better choice.

@neolit123
Copy link
Member

@pacoxu can you please change the GCE scripts to -3 too?

cc @jpbetz @wenjiaswe @dims do these revisions contain security fixes that are needed for 1.21?
based on the fact that this was not discussed for 1.21, i'd assume there is nothing critical.

should we instead move to a new etcd PATCH or MINOR version?

@dims
Copy link
Member

dims commented Mar 30, 2021

we should stay as close to what we use in go.mod file:
go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489 // ae9734ed278b is the SHA for git tag v3.4.13

So the -3 looks like the best option compared to 3.4.x or 3.5.x

@fedebongio
Copy link
Contributor

/assign @wenjiaswe @jingyih
/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 30, 2021
@wenjiaswe
Copy link
Contributor

/cc @ptabor

@k8s-ci-robot
Copy link
Contributor

@wenjiaswe: GitHub didn't allow me to request PR reviews from the following users: ptabor.

Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

/cc @ptabor

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.

@jingyih
Copy link
Contributor

jingyih commented Mar 30, 2021

All the 3.4.13-x images include the same etcd binary built from the etcd codebase with git tag v3.4.13. The incrementing revision suffix -x indicates there is a change in the image other than the etcd binary, for example, when there is change in the base image.

For consistency, let's also update the revision suffix used in tests and GCE scripts. For reference: #94287

@k8s-ci-robot k8s-ci-robot added the area/provider/gcp Issues or PRs related to gcp provider label Mar 31, 2021
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 9, 2021
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 12, 2021
@pacoxu
Copy link
Member Author

pacoxu commented Apr 12, 2021

Rebased.

Per #100612 (comment)
/hold cancel

Currently, 3.4.13-3 would be a better option.

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 12, 2021
@neolit123
Copy link
Member

/lgtm
but we might have to update it again during the 1.22 cycle.

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 12, 2021
@neolit123
Copy link
Member

Signed-off-by: pacoxu <paco.xu@daocloud.io>
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Apr 15, 2021
@pacoxu
Copy link
Member Author

pacoxu commented Apr 15, 2021

rebase fixed.

/assign @wojtek-t

@neolit123
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 15, 2021
@wojtek-t
Copy link
Member

wojtek-t commented May 5, 2021

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pacoxu, wojtek-t

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 May 5, 2021
@k8s-ci-robot k8s-ci-robot merged commit 7d17685 into kubernetes:master May 5, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.22 milestone May 5, 2021
@pacoxu pacoxu deleted the patch-8 branch June 23, 2021 05:40
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. area/kubeadm area/provider/gcp Issues or PRs related to gcp provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants