Mirantis / virtlet

Kubernetes CRI implementation for running VM workloads
Apache License 2.0
743 stars 128 forks source link

Frequent reset and running libvirt container result in error #910

Closed rkamudhan closed 4 years ago

rkamudhan commented 5 years ago

I am testing virtlet in a CD. Frequent reset of kubernetes cluster and bringing up virtlet daemonset result in following error:

# kubectl logs -f virtlet-dhqzt -n kube-system -c libvirt
2019-11-21 08:20:07.739+0000: 26479: info : libvirt version: 4.0.0, package: 1.7~u16.04+mcp3 (Dmitry Teselkin <mos-linux@mirantis.com> Mon, 13 Aug 2018 15:49:05 +0300)
2019-11-21 08:20:07.739+0000: 26479: info : hostname: pod11-node2
2019-11-21 08:20:07.739+0000: 26479: error : virNetworkObjAssignDefLocked:594 : operation failed: network 'default' already exists with uuid a05c2891-9a2a-4d8b-a7c3-d368bc302783
2019-11-21 08:20:17.510+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:20:27.533+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:20:37.532+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:20:47.534+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:20:58.003+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:21:07.496+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:21:17.902+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:21:27.499+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:21:37.527+0000: 26462: error : virNetSocketReadWire:1811 : End of file while reading data: Input/output error
2019-11-21 08:21:46.771+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.775+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.778+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.801+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.804+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.807+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.810+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.813+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.964+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.967+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.970+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.973+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.976+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device
2019-11-21 08:21:46.978+0000: 26499: error : virNetDevSendEthtoolIoctl:3072 : ethtool ioctl error: No such device

Could you please suggest any extra action, we have to take apart from Kubernetes reset ?

jellonek commented 4 years ago

I believe that we can close this issue. This messages in log are harmless, while real issue behind this one was missing restart of kubelet after reconfiguration of its systemd service file.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.