-
Notifications
You must be signed in to change notification settings - Fork 670
weave reset
fails with "Cannot find device" on kernel 4.2+
#1364
Comments
@rade The user might have reset his host, so not sure I can provide that to you. I'm going to check with him. |
@MaximeHeckel I am going to close this; if you ever encounter such strange interface names in the wild again, please re-open with some extra info. |
It looks to me that an interface name like that will occur in the See also: (That iproute2 change appeared in v4.0.0, or a snapshot after 20150217) |
Hmm. According to that, it was outputing In the weave script we extract the name and then call |
The kernel change is the crucial one, because it causes the IFLA_LINK attribute to be reported for veth netdevs. That iproute2 commit is interesting because it introduces (It also shows that there are moves to make network namespaces and associated plumbing a bit more transparent. Which is nice - it might have made debugging the dangling netns problems a bit easier. It's just a shame the improvements are not yet widely deployed..)
Yes, it will break. The part after '@' is informational. It's not part of the netdev name in any sense, and no |
weave reset
fails with "Cannot find device" on kernel 4.2+
@dpw thanks for tracking down the cause. |
Extracted from #1356...
@MaximeHeckel has seen
weave --local reset
fail withCannot find device "vethwepl14191@if322"
. This can happen when a container dies during reset, which is what #1356 is about, but it could also happen if somehow our interface name extraction is broken - that@if322
in the interface name looks weird.@MaximeHeckel as @bboreham said, please get us the output of
ip link show
from the host. Also what OS and kernel is that host running? And what version of iptables (ip -V
)?The text was updated successfully, but these errors were encountered: