Skip to content

Update etcd client to 3.3.16#83735

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
jpbetz:etcd3316-client
Oct 10, 2019
Merged

Update etcd client to 3.3.16#83735
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
jpbetz:etcd3316-client

Conversation

@jpbetz
Copy link
Copy Markdown
Contributor

@jpbetz jpbetz commented Oct 10, 2019

What type of PR is this?

/kind bug

What this PR does / why we need it:

Fixes for two major issues with the etcd 3.3 client to 1.16:

  • etcd client does not parse IPv6 addresses correctly when members are joining
  • failover on multi-member etcd cluster fails certificate check on DNS mismatch

Which issue(s) this PR fixes:

Fixes #83550 via etcd-io/etcd#11211 (backported to etcd 3.3.16 via etcd-io/etcd#11216)
Fixes #83028 via etcd-io/etcd#11184 (backported to etcd 3.3.16 via etcd-io/etcd#11215)

Special notes for your reviewer:

Separate PR to upgrade to etcd 3.3.16 server will follow. We typically upgrade clients first.

Does this PR introduce a user-facing change?:

(release note removed due to rollback)

NONE

/sig api-machinery
/area etcd
/priority critical-urgent

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. kind/bug Categorizes issue or PR as related to a bug. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. area/etcd priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/apiserver area/cloudprovider area/dependency Issues or PRs related to dependency changes sig/cloud-provider Categorizes an issue or PR as relevant to SIG Cloud Provider. labels Oct 10, 2019
@k8s-ci-robot k8s-ci-robot requested review from a team, andrewsykim and cheftako October 10, 2019 14:53
@liggitt
Copy link
Copy Markdown
Member

liggitt commented Oct 10, 2019

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 10, 2019
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jpbetz, liggitt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Oct 10, 2019
@cblecker
Copy link
Copy Markdown
Member

/retest

@dims
Copy link
Copy Markdown
Member

dims commented Oct 10, 2019

Thanks @jpbetz !!

@k8s-ci-robot k8s-ci-robot merged commit 8f968c4 into kubernetes:master Oct 10, 2019
@k8s-ci-robot k8s-ci-robot added this to the v1.17 milestone Oct 10, 2019
nikhita added a commit to nikhita/kubernetes that referenced this pull request Oct 11, 2019
etcd was updated to 3.3.16 in kubernetes#83735.

After this, an issue was found with the release and the tag was deleted
and re-tagged: etcd-io/etcd#11230.

Due to this, the hash while downloading (`go mod download`) the tag no
longer equalled the old hash in go.sum which led to a checksum mismatch
error:

```
verifying github.com/coreos/etcd@v3.3.16+incompatible: checksum mismatch
	downloaded: h1:2eX1BjV6Wfvl41/35OBA5Np4BHezdTJzhIxSMYxOArA=
	go.sum:     h1:hQaR//OAeI1FQ3G5bGRL9VpFOCurqnEHSup4W693Tb4=
```

This was not caught by CI because the old tag existed at the time of
testing the PR (this was, however, caught by the publishing-bot).

This commit updates the hash in go.sum to be equal to the new hash
that we get after downloading using `go mod download`.
jpbetz added a commit to jpbetz/kubernetes that referenced this pull request Oct 11, 2019
k8s-ci-robot added a commit that referenced this pull request Oct 11, 2019
Revert #83735: Update etcd client to 3.3.16
@seh
Copy link
Copy Markdown
Contributor

seh commented Oct 11, 2019

I see the milestone here is set to version 1.17. Will this be backported to the 1.16 patch release line?

@liggitt
Copy link
Copy Markdown
Member

liggitt commented Oct 11, 2019

yes

@jpbetz
Copy link
Copy Markdown
Contributor Author

jpbetz commented Oct 11, 2019

Yes and note this PR was rolled back and we are going to upgrade to etcd 3.3.17 and then back port that version to 1.16

@seh
Copy link
Copy Markdown
Contributor

seh commented Oct 11, 2019

Great. Version 1.16.2 can't come soon enough. It looks like that's planned for 15 October 2019.

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Oct 11, 2019
@seh
Copy link
Copy Markdown
Contributor

seh commented Oct 15, 2019

Cherry-pick patch of etcd version 3.3.17 for Kubernetes 1.16: #83915.

@jpbetz
Copy link
Copy Markdown
Contributor Author

jpbetz commented Oct 15, 2019

Cherry-pick patch of etcd version 3.3.17 for Kubernetes 1.16: #83915.

FYI. Just opened #83968 to supersede #83915, which is conceptual the same pick, just with the version bump run manually.

ohsewon pushed a commit to ohsewon/kubernetes that referenced this pull request Oct 16, 2019
ohsewon pushed a commit to ohsewon/kubernetes that referenced this pull request Oct 16, 2019
ohsewon pushed a commit to ohsewon/kubernetes that referenced this pull request Oct 16, 2019
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/apiserver area/cloudprovider area/dependency Issues or PRs related to dependency changes area/etcd 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. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note-none Denotes a PR that doesn't merit a release note. 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. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

6 participants