-
Notifications
You must be signed in to change notification settings - Fork 740
dep: update etcd 3.2.16, kubernetes 1.10.0, k8s codegen 1.10 #1727
Conversation
@etcd-bot retest this please Jenkins config issue. |
Gopkg.lock
Outdated
revision = "b709581f82a77c0ff00790d1446c05719fed714d" | ||
version = "v1.10.9" | ||
revision = "107df09c5f137b9dfe53b7a4c25dd4d79f81390f" | ||
version = "v1.12.40" |
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.
v1.12.41 is out
Gopkg.lock
Outdated
revision = "fa29b1d70f0beaddd4c7021607cc3c3be8ce94b8" | ||
packages = ["auth/authpb","clientv3","etcdserver/api/v3rpc/rpctypes","etcdserver/etcdserverpb","mvcc/mvccpb","pkg/tlsutil","pkg/transport"] | ||
revision = "694728c496e22dfa5719c78ff23cc982e15bcb2f" | ||
version = "v3.2.10" |
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.
v3.2.11 is out
Gopkg.toml
Outdated
@@ -16,11 +16,11 @@ | |||
|
|||
[[constraint]] | |||
name = "github.com/coreos/etcd" | |||
version = "3.1.9" | |||
version = "v3.2.10" |
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.
v3.2.11
Gopkg.toml
Outdated
|
||
[[constraint]] | ||
name = "github.com/aws/aws-sdk-go" | ||
version = "1.10.9" | ||
version = "v1.12.40" |
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.
v1.12.41
Two changes here:
|
There is some TLS issue.
Might be relevant: etcd-io/etcd#8603 |
Tried with etcd 3.3.1 with more and better error message:
Operator failed creating etcd client:
|
Update:
|
I have pinned down grpc version in Gopkg.toml :
Otherwise it will somehow bump to "1.10.0" . But I'm still hitting the TLS issue:
|
8a9315f
to
217a98c
Compare
We dig into the TLS handshake process. Here's some background: server will request certificate from client and verify the key usage of the cert: We found that after bumping the client version as in this PR, the And printed out
|
After digging, the When operator tried to create etcd client and failed, etcd logs
|
OK. After I directly inject certs onto etcd operator volumes and creating TLSConfig without reading secrets, it works. I guess this is the direction to go. I will debug reading secrets. |
I have made it work. The issue is caused by previously we deleted the certs directory after creating TLSConfig. But it seems like 3.2.16 etcd client package needs to reload those files again. As a result after removing the code that deletes the certs dir, it works. |
More details on the code: TLSConfig has a lazy func GetClientCertificate() doc:
When it is called, it loads cert files from disk:
Thus, we can't delete cert files. |
@hongchaodeng SGTM. Do we need to update the default etcd base image to |
That would be ideal. |
@hasbro17 |
No description provided.