Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

weave ps does not show containers connnected by plug-in / double allocation of IPs and loss of DNS entries on restart #1745

Closed
bboreham opened this issue Dec 1, 2015 · 5 comments
Assignees
Milestone

Comments

@bboreham
Copy link
Contributor

bboreham commented Dec 1, 2015

Because it's looking for an interface called ethwe, and Docker+plugin ends up with ethwe0, or possibly some other number if you attach the container to multiple networks.

@rade
Copy link
Member

rade commented Dec 2, 2015

when you say "break", you mean "doesn't show the weave addresses", right?

@bboreham
Copy link
Contributor Author

bboreham commented Dec 2, 2015

Doesn't show addresses or IDs of connected containers.

No diagnostic message is output.

@bboreham
Copy link
Contributor Author

We could use docker network inspect weave, or API equivalent thereof, which gives us a nice list of the IP addresses we are missing. Noting (#1803) that MAC addresses are currently absent from that data.

Docker recently added a -f option to this command which would be even more handy, although it is not released yet. And we probably want to support Docker 1.9.0, which doesn't have -f.

@rade rade changed the title weave ps breaks under the plugin weave ps does not show containers connnected by plug-in Dec 29, 2015
@bboreham
Copy link
Contributor Author

I think the root cause of this will also cause IPAM allocations made via the plugin to be lost on weaver restart, because they are not reclaimed. Which can lead to double-allocation.

@rade rade changed the title weave ps does not show containers connnected by plug-in weave ps does not show containers connnected by plug-in / double allocation of IPs on restart Jan 19, 2016
@rade rade added this to the 1.4.3 milestone Jan 19, 2016
@bboreham
Copy link
Contributor Author

Also DNS entries for plugin containers are lost on weaver restart.

@bboreham bboreham changed the title weave ps does not show containers connnected by plug-in / double allocation of IPs on restart weave ps does not show containers connnected by plug-in / double allocation of IPs and loss of DNS entries on restart Jan 21, 2016
@bboreham bboreham self-assigned this Jan 21, 2016
@rade rade closed this as completed in eae45eb Jan 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants