-
Notifications
You must be signed in to change notification settings - Fork 712
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
Missing edges when using Docker's IPAM driver #1563
Comments
It seems like Scope is not identifying the full weave IP range as local. For instance, in the following report: report_fons.json.gz We have a connection from 10.0.2.13:35096 to 10.0.2.8:80 (from frontend to accounts) which is not reflected in the UI The local networks don't contain that range I'm using weave net 1.5.1 and here's the report from one of the nodes: weave's IPAM range is reported as: "IPAM": {
"Paxos": null,
"Range": "10.32.0.0-10.47.255.255",
"RangeNumIPs": 1048576,
"DefaultSubnet": "10.32.0.0/12",
"Entries": [
{
"Token": "10.32.0.0",
"Size": 1048576,
"Peer": "fa:7e:27:1f:dd:08",
"Nickname": "swarm-master",
"IsKnownPeer": true,
"Version": 1
}
],
"PendingClaims": null,
"PendingAllocates": null
}, |
Related: #1162 |
The IP addresses for the containers are supplied by Docker, because they are each declared part of a docker network, and docker wants to allocate the addresses on its networks. Weave's IPAM cannot be used, because the plugin doesn't support more than one docker network in that mode. |
The hacky workaround was to enforce IPAM subnets (10.32.0.0/13 and 10.40.0.0/13) overlapping the default Weave IPAM net. The real solution is for Scope to get networking information from Docker and add local networks to the Overlay topology. |
nitpick: Weave's IPAM can be used, but one would need to feed subnet info to (This doesn't alter the substance of this bug) |
No, this requires going through the docker networks to figure out their scope. |
Reopening since it still happens when using global networks. |
Scope is not displaying some connections while we are running continuous load through our application.
Specifically, the front-end service is only shown as having one outbound connection, to the catalogue service. In fact it is communicating with the login, orders, accounts, and carts services as well. I have verified this via our log files.
Please ping me if you need any additional information.
weave_report_and_svg.zip
The text was updated successfully, but these errors were encountered: