Hi,
I’m performing autoinstall with today’s daily-live focal-live-server-amd64.iso
and in the user-data
(autoinstall.yaml
) file I’m refreshing subiquity from the edge (20.05.2+git63.4ef44df3
). (I know, I like to live dangerously ).
The recent change to subiquitycore/controllers/network.py
appears to ‘cause’ an installer crash. The git commit comment says “update wlan dialog when scan results come in
”
I’m confused by the error messages as I’m doing an autoinstall and my target server doesn’t have a wireless lan interface. Here are the final lines in the subiquity debug log:
2020-05-22 17:47:53,987 DEBUG probert.network:584 event for link_change: CHANGE {'ifindex': 2, 'flags': 69699, 'arptype': 1, 'family': 0, 'is_vlan': False, 'name': b'eno1'}
2020-05-22 17:47:53,987 DEBUG probert.network:584 event for addr_change: CHANGE {'ifindex': 2, 'flags': 128, 'family': 2, 'scope': 0, 'local': b'192.168.2.145/24'}
2020-05-22 17:47:53,987 DEBUG probert.network:671 link_change CHANGE {'ifindex': 2, 'flags': 69699, 'arptype': 1, 'family': 0, 'is_vlan': False, 'name': b'eno1'}
2020-05-22 17:47:53,987 DEBUG probert.network:716 addr_change CHANGE {'ifindex': 2, 'flags': 128, 'family': 2, 'scope': 0, 'local': b'192.168.2.145/24'}
2020-05-22 17:47:53,987 DEBUG subiquitycore.core:238 _exception_handler AttributeError("'ScrollBarListBox' object has no attribute '_w'",)
2020-05-22 17:47:53,989 ERROR subiquitycore.core:678 Exception in controller.run():
Traceback (most recent call last):
File "/snap/subiquity/1907/lib/python3.6/site-packages/subiquitycore/core.py", line 676, in run
self.urwid_loop.run()
File "/snap/subiquity/1907/usr/lib/python3/dist-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/snap/subiquity/1907/usr/lib/python3/dist-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/snap/subiquity/1907/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1484, in run
reraise(*exc_info)
File "/snap/subiquity/1907/usr/lib/python3/dist-packages/urwid/compat.py", line 58, in reraise
raise value
File "/snap/subiquity/1907/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/snap/subiquity/1907/lib/python3.6/site-packages/subiquitycore/controllers/network.py", line 203, in _data_ready
if isinstance(v._w, StretchyOverlay):
AttributeError: 'ScrollBarListBox' object has no attribute '_w'
2020-05-22 17:47:53,991 DEBUG subiquity.core:466 generating crash report
2020-05-22 17:47:53,992 INFO subiquity.core:483 saving crash report 'Installer UI crashed with AttributeError' to /var/crash/1590169673.992039204.ui.crash
2020-05-22 17:47:53,992 DEBUG root:39 start: subiquity/Error/1590169673.992039204.ui/add_info:
2020-05-22 17:48:00,700 DEBUG root:39 finish: subiquity/Error/1590169673.992039204.ui/add_info: SUCCESS: written to /var/crash/1590169673.992039204.ui.crash
Not sure why ScrollBarListBox
is required in an autoinstall (I assume this is associated with manual installs). I note that the probert.network
has just detected the static IP address change (for the wired ethernet eno1
interface). Is the installer reacting to the wrong event somehow?
Thanks,
Bob