On 3/11/22 3:33 PM, David Christensen wrote:
Trying to run OVN 21.12/OVS 2.17.0 with Docker v20.10.12 on a CentOS8
system according to the documentation at:
https://docs.ovn.org/en/latest/howto/docker.html
The instructions worked for me on an Ubuntu 20.04 system with OVN
20.03.2/OVS 2.13.5, installed from the distro package system, and Docker
v20.10.13 installed from a Docker maintained repository, but when I
attempt to create a docker network on the CentOS8 system I get the
following error message:
$ docker network create -d openvswitch --subnet=192.168.100.0/22 foo
Error response from daemon: This node is not a swarm manager. Use
"docker swarm init" or "docker swarm join" to connect this node to swarm
and try again.
Can anyone suggest where I start looking for a problem?
Moving back to an early version of OVS (2.13.7) and OVN (20.09.0) does
not work, same "docker swarm join" suggestion. If I actually execute
execute "docker swarm join" then the error changes:
$ docker network create -d openvswitch --subnet=192.168.100.0/22 foo
Error response from daemon: rpc error: code = InvalidArgument desc =
legacy plugin openvswitch of type NetworkDriver is not supported in
swarm mode
Turns out the lack of a key/value store (i.e. consul) was the problem in
my case, though that appears to be temporary solution as Docker support
for "Classic Swarm" is deprecated in the current 20.10 release and will
be removed completely in the future:
https://docs.docker.com/engine/deprecated/#classic-swarm-and-overlay-networks-using-cluster-store
Dave
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss