[openstack-dev] [Magnum] Does Docker-Swarm not support inter-node/vm inter-container networking ?

Ton Ngo ton at us.ibm.com
Wed Jul 20 13:43:05 UTC 2016


Hi Greg,
    We should have patches in the next few weeks and the target is to have
this functionality in the Newton cycle.
Ton Ngo,



From:	"Waines, Greg" <Greg.Waines at windriver.com>
To:	"OpenStack Development Mailing List (not for usage questions)"
            <openstack-dev at lists.openstack.org>
Date:	07/20/2016 04:51 AM
Subject:	Re: [openstack-dev] [Magnum] Does Docker-Swarm not support
            inter-node/vm inter-container networking ?



Thanks Ton,

When is the Docker libnetwork functionality forecasted to be available ?

Greg.

From: Ton Ngo <ton at us.ibm.com>
Reply-To: "openstack-dev at lists.openstack.org"
<openstack-dev at lists.openstack.org>
Date: Tuesday, July 19, 2016 at 6:58 PM
To: "openstack-dev at lists.openstack.org" <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] [Magnum] Does Docker-Swarm not support
inter-node/vm inter-container networking ?



Hi Greg,
This is a capability that we are working on at this time: enabling Docker
libnetwork using the Kuryr driver.
This will let you set up networks where the containers are connected to and
they will be allocated unique routable IP.
In the current default networking mode, you can still let container
provides service to each other through Docker
port mapping. The end point for the container service would be the IP
address of the VM where the container is hosted
together with the port mapped. You just cannot ping from one container to
another across VM's in this mode.
Ton Ngo,


nactive hide details for "Waines, Greg" ---07/19/2016 11:12:50 AM---I hav
"Waines, Greg" ---07/19/2016 11:12:50 AM---I have successfully setup
devstack with Magnum, following this link https://github.com/openstack/mag

From: "Waines, Greg" <Greg.Waines at windriver.com>
To: "openstack-dev at lists.openstack.org" <openstack-dev at lists.openstack.org>
Date: 07/19/2016 11:12 AM
Subject: [openstack-dev] [Magnum] Does Docker-Swarm not support
inter-node/vm inter-container networking ?




I have successfully setup devstack with Magnum,
following this link
https://github.com/openstack/magnum/blob/master/doc/source/dev/quickstart.rst#building-and-using-a-swarm-bay


I created a Docker-Swarm bay and successfully launched some simple
containers.

I noticed that Docker-Swarm’s Container Networking Solution seems to simply
be an SNAT on its swarm-node VM.
And noticed that Docker-Swarm assigns the same Container subnet to each
swarm-node VM … and re-uses Container IP Addresses from this subnet across
swarm-node VMs.

Given this … it does not appear that Docker-Swarm can support networking
between two containers on different swarm-node VMs.
Is this True ?
OR
Is there a configuration option, thru Magnum or Docker-Swarm to enable this
inter-node inter-container Networking ?

Greg.
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160720/051032da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160720/051032da/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16652257.gif
Type: image/gif
Size: 106 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160720/051032da/attachment-0001.gif>


More information about the OpenStack-dev mailing list