AttributeError: 'array.array' object has no attribute 'tostring'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Hirsute |
Fix Released
|
High
|
Brian Murray |
Bug Description
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/
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/
result = plugin.run()
File "/usr/lib/
device_info = self._get_
File "/usr/lib/
speed, duplex = get_network_
File "/usr/lib/
res = status_
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://
100 /var/lib/
tags: | added: rls-hh-incoming |
Changed in landscape-client (Ubuntu): | |
importance: | Undecided → High |
no longer affects: | landscape-client |
Changed in landscape-client (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Confirmed → In Progress |
This is not limited to GCE cloud images, but also the KVM images from:
https:/ /cloud- images. ubuntu. com/hirsute