Public bug reported: Summary === Landscape client MOTD is throwing an exception Hirsuite, which shows up in the MOTD on launch.
Expected Result === No Exceptions Actual result === In the MOTD, the following is printed: => There were exceptions while processing one or more plugins. See /var/log/landscape/sysinfo.log for more information. The result of that file is: 2021-01-11 19:40:34,309 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 163, in get_active_device_info speed, duplex = get_network_interface_speed( File "/usr/lib/python3/dist-packages/landscape/lib/network.py", line 249, in get_network_interface_speed res = status_cmd.tostring() AttributeError: 'array.array' object has no attribute 'tostring' Steps to reproduce === 1. Launch a GCE cloud image for Hirsute (20210106) 2. SSH into the system 3. Note the MOTD message landscape-common: Installed: 19.12-0ubuntu7 Candidate: 19.12-0ubuntu7 Version table: *** 19.12-0ubuntu7 500 500 http://us-west1.gce.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages 100 /var/lib/dpkg/status ** Affects: landscape-client (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1911050 Title: AttributeError: 'array.array' object has no attribute 'tostring' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1911050/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
