[17.12] Fix IP overlap with empty EndpointSpec#2513
Merged
anshulpundir merged 1 commit intomoby:bump_v17.12from Feb 20, 2018
Merged
[17.12] Fix IP overlap with empty EndpointSpec#2513anshulpundir merged 1 commit intomoby:bump_v17.12from
anshulpundir merged 1 commit intomoby:bump_v17.12from
Conversation
Passing and empty EndpointSpec in the service spec was correctly triggering the VIP allocation but the leader election was erroneusly handling the IPAM state restore trying to release the VIP. The fix focuses on proper handling of the restart case. Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com> (cherry picked from commit bd4e923) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Member
Author
|
ping @fcrisciani PTAL |
fcrisciani
approved these changes
Feb 13, 2018
fcrisciani
left a comment
There was a problem hiding this comment.
Code looks good but the CI failed on a test that is flacky, @nishanttotla @anshulpundir can you guys restart it?
nishanttotla
approved these changes
Feb 13, 2018
Contributor
nishanttotla
left a comment
There was a problem hiding this comment.
LGTM.
Restarted CI.
anshulpundir
approved these changes
Feb 13, 2018
|
@nishanttotla perhaps need another kick of the ci? |
Contributor
|
CI seems to keep failing @andrewhsu :( |
|
i see it too: |
Codecov Report
@@ Coverage Diff @@
## bump_v17.12 #2513 +/- ##
===============================================
- Coverage 66.92% 61.63% -5.29%
===============================================
Files 76 129 +53
Lines 11158 21233 +10075
===============================================
+ Hits 7467 13087 +5620
- Misses 2929 6741 +3812
- Partials 762 1405 +643 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cherry-pick of #2505 for 17.12
(no conflicts)
Passing and empty EndpointSpec in the service spec
was correctly triggering the VIP allocation but
the leader election was erroneusly handling the IPAM
state restore trying to release the VIP.
The fix focuses on proper handling of the restart case.
Signed-off-by: Flavio Crisciani flavio.crisciani@docker.com
(cherry picked from commit bd4e923)
Signed-off-by: Sebastiaan van Stijn github@gone.nl