虚拟 Docker 接口的连续 networkd-dispatcher 错误消息

虚拟 Docker 接口的连续 networkd-dispatcher 错误消息

我的问题与描述的问题非常相似这里,但我使用的是 Ubuntu 23.04 的 LXC。在该答案中,它被标记为已解决,因为我猜 networkd-dispatcher 服务已修补。但是,我在 23.04 中遇到了相同的错误,而阻止它们的唯一方法是重新启动服务。以下是 networkd-dispatcher 服务的日志输出,显示了相关错误:

Jul 06 19:15:34 docker networkctl[191615]: Interface "veth984df6d" not found.
Jul 06 19:15:34 docker networkd-dispatcher[112]: ERROR:Failed to get interface "veth984df6d" status: Command '['/usr/bin/networkctl', 'status', '--no-pager', '--no-legend', '--', 'veth984df6d']' returned non-zero exit status 1.
Jul 06 19:15:34 docker networkd-dispatcher[112]: WARNING:Unknown index 397 seen, reloading interface list
Jul 06 19:15:34 docker networkd-dispatcher[112]: ERROR:Unknown interface index 397 seen even after reload
Jul 06 19:16:34 docker networkd-dispatcher[112]: WARNING:Unknown index 399 seen, reloading interface list
Jul 06 19:16:36 docker networkd-dispatcher[112]: WARNING:Unknown index 399 seen, reloading interface list
Jul 06 19:16:36 docker networkd-dispatcher[112]: ERROR:Unknown interface index 399 seen even after reload
Jul 06 19:16:36 docker networkd-dispatcher[112]: WARNING:Unknown index 399 seen, reloading interface list
Jul 06 19:16:36 docker networkd-dispatcher[112]: ERROR:Unknown interface index 399 seen even after reload
Jul 06 19:16:36 docker networkd-dispatcher[112]: WARNING:Unknown index 399 seen, reloading interface list
Jul 06 19:16:36 docker networkd-dispatcher[112]: ERROR:Unknown interface index 399 seen even after reload
Jul 06 19:16:36 docker networkctl[192383]: Interface "veth84307a2" not found.
Jul 06 19:16:36 docker systemd[1]: networkd-dispatcher.service: Got notification message from PID 192383, but reception only permitted for main PID 112
Jul 06 19:16:36 docker networkd-dispatcher[112]: ERROR:Failed to get interface "veth84307a2" status: Command '['/usr/bin/networkctl', 'status', '--no-pager', '--no-legend', '--', 'veth84307a2']' returned non-zero exit status 1.
Jul 06 19:16:36 docker networkd-dispatcher[112]: WARNING:Unknown index 399 seen, reloading interface list
Jul 06 19:16:36 docker networkd-dispatcher[112]: ERROR:Unknown interface index 399 seen even after reload
Jul 06 19:17:36 docker networkd-dispatcher[112]: WARNING:Unknown index 401 seen, reloading interface list
Jul 06 19:17:37 docker networkd-dispatcher[112]: WARNING:Unknown index 401 seen, reloading interface list
Jul 06 19:17:37 docker networkd-dispatcher[112]: ERROR:Unknown interface index 401 seen even after reload
Jul 06 19:17:37 docker networkd-dispatcher[112]: WARNING:Unknown index 401 seen, reloading interface list
Jul 06 19:17:37 docker networkd-dispatcher[112]: ERROR:Unknown interface index 401 seen even after reload
Jul 06 19:17:37 docker networkd-dispatcher[112]: WARNING:Unknown index 401 seen, reloading interface list
Jul 06 19:17:37 docker networkd-dispatcher[112]: ERROR:Unknown interface index 401 seen even after reload

这是在 v22 中报告的相同错误,但在 23 中没有更新,还是有其他解决方案?

相关内容