Skip to content

[Backport 17.12] Added required call to allocate VIPs when endpoints are restored#2474

Merged
dperny merged 2 commits into
moby:bump_v17.12from
abhi:bump_v17.12
Dec 18, 2017
Merged

[Backport 17.12] Added required call to allocate VIPs when endpoints are restored#2474
dperny merged 2 commits into
moby:bump_v17.12from
abhi:bump_v17.12

Conversation

@abhi
Copy link
Copy Markdown
Contributor

@abhi abhi commented Dec 18, 2017

Opening a new PR to get things moving. The original back port PR #2472

On leader change or leader reboot the restore logic in the allocator
was allocating overlapping IP address for VIPs and Endpoints in the
ingress network.  The fix added as part of this commit ensures
that during restore we allocate the existing VIP and endpoint.

Signed-off-by: Balraj Singh <balrajsingh@ieee.org>
Signed-off-by: Balraj Singh <balrajsingh@ieee.org>
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 18, 2017

Codecov Report

Merging #2474 into bump_v17.12 will decrease coverage by 0.08%.
The diff coverage is 0%.

@@               Coverage Diff               @@
##           bump_v17.12    #2474      +/-   ##
===============================================
- Coverage         61.8%   61.72%   -0.09%     
===============================================
  Files              128      128              
  Lines            21107    21109       +2     
===============================================
- Hits             13045    13029      -16     
- Misses            6664     6668       +4     
- Partials          1398     1412      +14

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (not a maintainer)

@abhi
Copy link
Copy Markdown
Contributor Author

abhi commented Dec 18, 2017

@dperny can you PTAL ?

@dperny
Copy link
Copy Markdown
Collaborator

dperny commented Dec 18, 2017

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants