RHEL7 和 kubernetes: kernel:unregister_netdevice: waiting for eth0 to become free。Usage count = 1
Issue
- 我们试图在 RHEL 上对 kubernetes 进行原型处理,并遇到设备似乎被冻结的情况。有类似如下的重复消息:
[1331228.795391] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
[1331238.871337] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
[1331248.919329] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
[1331258.964322] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
- 当在 kubernetes 中缩减 pod 时发生此问题。需要重启节点进行修复。
- 在客户升级到修复了 https://access.redhat.com/solutions/3105941 的内核后可以看到这种情况。但之后,消息在 ethX 上而不是 lo 上出现。
Environment
- Red Hat Enterprise Linux 7
- kernel-3.10.0-862.el7.x86_64
- kernel-3.10.0-957.el7.x86_64
- 上游 Kubernetes
- 上游 docker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.