-
Notifications
You must be signed in to change notification settings - Fork 670
after 'swarm init', unable to create network: API error (500): invalid ipam driver: "weavemesh" #2403
Comments
Are you using docker-for-mac? |
No, this happened on a Ubuntu 14.04 machine. |
Reproduced. Docker have said that plugins aren't supported in swarm mode. |
btw, I've not seen the error on a few occasions, so there may well be a race condition somewhere too. |
This situation persists even after a |
So, because Docker is not supporting plugins in swarm mode, weave can not be used with Docker swarm after Docker 1.12? Is that correct? |
That is my understanding. |
This is bizarre:
I've run through the above sequence a few times, with the same result. So for some reason launching weave first, resetting it, then initialising swarm, and then re-launching weave makes the error go away. And following that...
So the default 'weave' network can be used, and new 'weave' driver networks can be created, but the latter cannont be used. |
I forwarded this issue as a Docker ticket. Maybe that helps ... |
@rade, small clarification here. Only global scope plugins are not supported at this point in time when swarm mode is enabled. If the plugin is local scope they are expected to continue to work even if swarm mode is enabled. If not, then that is a release gating bug which should be fixed before 1.12 release |
@rade @mrjana looking at the weave launch code, it seems the As per this issue If this infact is the issue, then a recent fix (which will be available in docker 1.12 RC3), will explicitly block such network creation at swarmkit via moby/swarmkit#1078. Can you please confirm this and maybe it is NOT exactly the same as represented by @bboreham 's comment in moby/moby#23990 (comment) |
@mavenugo it's true, we can run the Weave Network plugin as either a global or a local plugin. However the first error @nkratzke reports:
is using the local plugin, and my moby/moby#23990 (comment) is recreating the specific command run inside the |
@bboreham I think there is a confusion on the bug report.
This is absolutely related to the But the error |
@bboreham I think there is infact an issue with swarmkit and local ipam remote driver. I will see what we can do about that. |
@mavenugo I can confirm that the command to recreate the original error from @nkratzke is:
and this is using a local-scope driver. @nkratzke and @rade went on to run some other commands, which generated other errors.
No, we do not see that.
|
@bboreham can you please give moby/moby#24172 a try ? |
@mavenugo I pulled your branch, compiled Docker, installed on a VM and re-tried the |
I suggest we close this once the fix has made it into a Docker RC or actual release. |
I have just tested the Docker 1.12.0-rc4 and it all seems to go fine. -> closing |
I tried to start weave alongside docker swarm (1.12 rc2).
My weave version:
So after
I got the following error:
Network creation is working (partly), however there is no driver associated with the created network
is returning
The text was updated successfully, but these errors were encountered: