Public bug reported:

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


2025-01-19 06:19:14,021 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 37, 
in run
    device_info = self._get_device_info()
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 197, in 
get_active_device_info
    default_ifs = get_default_interfaces()
  File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 122, in 
get_default_interfaces
    default_table = netifaces.gateways()['default']
KeyError: 'default'


python3 -c "import netifaces; print(netifaces.gateways())"
{<InterfaceType.AF_INET: 2>: [('192.168.31.1', 'wlo1', True)], 
<InterfaceType.AF_INET6: 10>: [('fe80::898:3844:bf11:4f4a', 'wlo1')]}

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: landscape-common 23.02-0ubuntu1~22.04.3
ProcVersionSignature: Ubuntu 6.8.0-51.52~22.04.1-generic 6.8.12
Uname: Linux 6.8.0-51-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Sun Jan 19 06:26:41 2025
InstallationDate: Installed on 2025-01-04 (14 days ago)
InstallationMedia: Ubuntu-Server 22.04.5 LTS "Jammy Jellyfish" - Release amd64 
(20240911.4)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: landscape-client (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2095246

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/2095246/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to