Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.09] Adding ipam options to ipam driver requests #2455

Merged
merged 2 commits into from
Jan 4, 2018

Conversation

thaJeztah
Copy link
Member

Backport of #2324 for 17.09

git checkout -b 17.09-backport-ipam upstream/bump_v17.09
git cherry-pick -s -S -x ed271d4ae37d782f53d70f04535850239aff2722
git cherry-pick -s -S -x fe0d7f63cd93f9cb65c8533393a1447f4f55c63c

ping @abhi @anshulpundir @mavenugo PTAL

Currently ipam options doesnt seem to be passed to remote ipam
drivers. Remote ipam drivers that depend on any driver specific
options will not work if ipam options are not included in the
RequestAddress fromthe swarm manager to allocate IPs.
This is minor fix to pass the ipam options to ipam drivers.

Signed-off-by: Abhinandan Prativadi <[email protected]>
(cherry picked from commit ed271d4)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
This commit contains fix to serialize IPAM and Port allocation.
This would fix transient issues seen due to immediate resource
release.

Signed-off-by: Abhinandan Prativadi <[email protected]>
(cherry picked from commit fe0d7f6)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@andrewhsu
Copy link
Member

cc @nishanttotla @anshulpundir

@dperny
Copy link
Collaborator

dperny commented Nov 29, 2017

Failing test is known to me to be flaky. Otherwise, LGTM, I'll kick off a rebuild.

@codecov
Copy link

codecov bot commented Dec 1, 2017

Codecov Report

Merging #2455 into bump_v17.09 will increase coverage by 1.18%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##           bump_v17.09    #2455      +/-   ##
===============================================
+ Coverage         60.2%   61.38%   +1.18%     
===============================================
  Files              128      128              
  Lines            26170    24008    -2162     
===============================================
- Hits             15755    14738    -1017     
+ Misses            9033     7890    -1143     
+ Partials          1382     1380       -2

@thaJeztah
Copy link
Member Author

It's green now, so potentially for rc2

@nishanttotla
Copy link
Contributor

@thaJeztah should I merge it right now then, or do you want to wait?

@nishanttotla
Copy link
Contributor

@thaJeztah is it fine to merge this one?

@thaJeztah
Copy link
Member Author

hm; looks like I missed your earlier comment. We missed this one for 17.09.1; guess it doesn't hurt to merge it here, then we can open a vendor-bump in the https://github.com/docker/docker-ce repo in case there will be a 17.09.2

@nishanttotla nishanttotla merged commit 184576e into moby:bump_v17.09 Jan 4, 2018
@thaJeztah thaJeztah deleted the 17.09-backport-ipam branch January 4, 2018 22:03
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.

6 participants