-
Notifications
You must be signed in to change notification settings - Fork 672
Make Plugin work with Docker Swarmkit #2651
Comments
/cc @lukemarsden |
I think you mean the It's acceptable that |
Yep, I meant the |
I think this is a dup of #2396. |
I am having trouble working out what is and isn't supposed to work. In my tests, the 'local scope' plugin from unmodified Weave works with Docker 1.12.5 and 1.13-rc4: I can With Docker 1.12.5 joined to the swarm I can create a global-scope network but not use it:
With Docker 1.13-rc4 I get a different error:
If I try to address that I get yet another error:
This error happens the same with both candidate versions of the change, and with weave built from master. |
Based on further info from @lukemarsden I see this fail with Docker 1.12.5:
(this is different from what I saw earlier; perhaps some data was incorrect) With Docker 1.13-rc4 the network create succeeds, but an attempt to use it to create a service fails:
Note the number of REPLICAS is 0. Running Docker in debug mode shows this after
|
Trying with a build of 1.13-rc5 it works. |
My mistake; it worked because I had made a change to the filtering logic. Latest status is swarm mode does not support "v1" plugins. |
See also: #2805 |
Fixed by #2727. |
Relevant info (taken from emails "weave in docker swarm mode"):
There are two PoC's:
NetworkAllocate
)CreateNetwork
toNetworkAllocate
)In order to be a backward compatible with older versions of Docker, we should keep
CreateNetwork
as it is.Please note, that Plugin is expected to work only in the global scope.
The text was updated successfully, but these errors were encountered: