Skip to content

Ignore HNS networks with type Private#33053

Merged
vdemeester merged 1 commit intomoby:masterfrom
simonferquel:ignore-private-networks
Jun 14, 2017
Merged

Ignore HNS networks with type Private#33053
vdemeester merged 1 commit intomoby:masterfrom
simonferquel:ignore-private-networks

Conversation

@simonferquel
Copy link
Copy Markdown
Contributor

Fix #33052 (workaround style)

- What I did

HNS reports networks that don't have anything to do with the Daemon, and for which no networking plugin is available. This make the Daemon start sequence pause for 15 secs, as the plugin resolving logic has a wait & retry logic

- How I did it

Just after retrieving the HNS networks, I filter out those with type Private

- How to verify it

Replace dockerd coming with Docker for Windows from one built from this PR. Windows containers daemon should now launch pretty quickly

@thaJeztah
Copy link
Copy Markdown
Member

ping @johnstep @jhowardmsft PTAL!

@thaJeztah
Copy link
Copy Markdown
Member

also /cc @JMesser81

@lowenna
Copy link
Copy Markdown
Member

lowenna commented May 18, 2017

One for @msabansal

@coolljt0725
Copy link
Copy Markdown
Contributor

ping @msabansal

@msabansal
Copy link
Copy Markdown
Contributor

LGTM

@thaJeztah
Copy link
Copy Markdown
Member

@simonferquel would be good to capture the PR description in the commit message as well

Fix moby#33052 (workaround style)

**- What I did**

HNS reports networks that don't have anything to do with the Daemon, and
for which no networking plugin is available. This make the Daemon start
sequence pause for 15 secs, as the plugin resolving logic has a wait &
retry logic

**- How I did it**

Just after retrieving the HNS networks, I filter out those with type
`Private`

**- How to verify it**

Replace dockerd coming with Docker for Windows from one built from this
PR. Windows containers daemon should now launch pretty quickly

Signed-off-by: Simon Ferquel <[email protected]>
@simonferquel simonferquel force-pushed the ignore-private-networks branch from 96f408e to b91fd26 Compare June 13, 2017 11:25
@simonferquel
Copy link
Copy Markdown
Contributor Author

@thaJeztah sorry, I did not realized we were waiting for the commit message. Done

Copy link
Copy Markdown
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

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

LGTM 🐯
/cc @johnstep @jhowardmsft PTAL

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, thanks!

@lowenna
Copy link
Copy Markdown
Member

lowenna commented Jun 13, 2017

LGTM

Copy link
Copy Markdown
Member

@johnstep johnstep left a comment

Choose a reason for hiding this comment

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

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants