景观告诉我“网络插件引发异常”

景观告诉我“网络插件引发异常”

当我登录到我的服务器时,我收到以下消息:

  => There were exceptions while processing one or more plugins. See
     /var/log/landscape/sysinfo.log for more information.

以下是 的内容sysinfo.log

2021-11-23 02:50:34,701 ERROR    Network plugin raised an exception.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/landscape/sysinfo/sysinfo.py", line 99, in run
    result = plugin.run()
  File "/usr/lib/python3/dist-packages/landscape/sysinfo/network.py", line 36, in run
    device_info = self._get_device_info()
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 151, in get_active_device_info
    for interface, ifaddresses in get_active_interfaces():
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 58, in get_active_interfaces
    ifaddresses = netifaces.ifaddresses(interface)
ValueError: You must specify a valid interface name.

我以前从未听说过景观。这里出了什么问题?

答案1

我也遇到了同样的问题。更新 docker(在 /etc/apt/sources.list 中重新启用 repo 后)解决了该问题。

相关内容