Bump to latest libkv + dependencies#16863
Conversation
|
To summarize the discussions here:
That is to say that I feel the current choice is:
I vote option 1. |
|
🙈 no. 1 |
|
Thanks for summing up the situation @icecrime 🙈 option 1 |
|
are we all closing our eyes hahahaha lol |
|
🙈 |
|
Discussed with @mavenugo and team: they will be running stress tests tomorrow on Docker daemon with multihost networking backed by etcd using the existing driver. If we do experience the kind of crashes that we worry might happen, we will consider taking this PR for 1.9. If we don't, it might not be worth the effort. |
|
🙈 🙉 |
hack/.vendor-helpers.sh
Outdated
There was a problem hiding this comment.
@dhiltgen a comment explaining what this function is doing would be appreciated :)
hack/.vendor-helpers.sh
Outdated
There was a problem hiding this comment.
should be nope there is no reliable way of doing cross platform with sed -i'' to make the script work both on osx and linux (note there are no spaces between -i and '')-i.
There was a problem hiding this comment.
|
@abronan @dhiltgen I tried to integrate this PR on top of #16910 to make sure things work as expected. but I see the dreaded error - I know @abronan tried to solve it prior to the watch related changes and eventually was closed (moby/libnetwork#582). Do we need that patch in libnetwork in order to make progress ? |
|
@mavenugo I might know what the problem is. I'll add an e2e integration test in libnetwork to verify etcd to fix this once for all. There is a small change needed in libnetwork to make this work. With that change you might be able to verify the new etcd client in docker. |
|
Issue described above fixed in libnetwork with @mavenugo. So we good. |
|
Just bumped to the latest libkv at @mavenugo's request |
|
I have a version of this change rebased on top of 16910 which I'll push up as soon as 16910 is merged. |
The latest libkv uses a different etcd library. Unfortunately that library uses some funky import paths, so I've added a new cleanup routine for our vendor scripts to be able to normalize the imports to be consistent with how imports work in this tree. Signed-off-by: Daniel Hiltgen <[email protected]>
|
@dhiltgen is |
|
correct - it's rebased on top of madhu's change, and includes the latest libnetwork |
There was a problem hiding this comment.
@dhiltgen why do we need to bump libnetwork again?
There was a problem hiding this comment.
@tiborvass This includes a fix for etcd (see this comment)
|
Still LGTM |
|
LGTM for |
|
tested minimal etcd integration with libnetwork with the patch here. LGTM. this PR is good to go. |
Bump to latest libkv + dependencies
The latest libkv uses a different etcd library. Unfortunately
that library uses some funky import paths, so I've added a new cleanup
routine for our vendor scripts to be able to normalize the imports
to be consistent with how imports work in this tree.
Signed-off-by: Daniel Hiltgen [email protected]