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

fix: util/network: add option not to re-use namespaces from pool #5686

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

profnandaa
Copy link
Collaborator

There is an issue with HnsEndpoints on WS2019, after first time use, they can't be re-attached. See #5668. HCS CreateComputeSystem fails with:

The requested operation for attach namespace failed.

As a work-around, have an option for PoolSize=-1 to turn off the namespace pooling functionality and have each namespace only be used once and discarded.

To enable this, you run buildkit with the additional flag: --containerd-cni-pool-size=-1.

Fixes #5668

There is an issue with `HnsEndpoints` on WS2019, after first time
use, they can't be re-attached. See moby#5668. HCS CreateComputeSystem
fails with:

```
The requested operation for attach namespace failed.
```

As a work-around, have an option for PoolSize=-1 to turn off the
namespace pooling functionality and have each namespace only be used
once and discarded.

To enable this, you run buildkit with the additional flag:
`--containerd-cni-pool-size=-1`.

Fixes moby#5668

Signed-off-by: Anthony Nandaa <[email protected]>
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.

Buildkit on Windows Server 2019 Unable to Reuse Namespaces / Endpoints
1 participant