Trying subiquity from edge ended in UI crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Undecided
|
Skipper Bug Screeners | ||
subiquity |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
While going to try the subiquity version from edge on jammy (in preparation for testing LP#1972834) the installer crashed (repeatedly) right after the installer restarted (after the snap refresh).
It drops to a shell and prints:
Installer shell session activated.
This shell session is running inside the installer environment. You
will be returned to the installer when this shell is exited, for
example by typing Control-D or 'exit'.
Be aware that this is an ephemeral environment. Changes to this
environment will not survive a reboot. If the install has started, the
installed system will be mounted at /target.
root@ubuntu-
subiquity (edge) 22.02.2+
root@ubuntu-
generating crash report
report saved to /var/crash/
Traceback (most recent call last):
File "/snap/
return _run_code(code, main_globals, None,
File "/snap/
exec(code, run_globals)
File "/snap/
sys.
File "/snap/
subiquity_
File "/snap/
super().run()
File "/snap/
super().run()
File "/snap/
raise exc
File "/snap/
await super()
File "/snap/
view = await self.wait_
File "/snap/
return await self._wait_
File "/snap/
result = await awaitable
File "/snap/
return await self.make_
File "/snap/
view = await super()
File "/snap/
view = await maybe_view
File "/snap/
sources = await self.endpoint.GET()
File "/snap/
return serializer.
File "/snap/
return self._deseriali
File "/snap/
fields[key], value[key], path))
KeyError: 'search_drivers'
And even drops from the ssh session.
I can reconnect to the installer (via ssh) and immediately get:
▄▄▄▄▄▄▄
Willkommen! Bienvenue! Welcome! Добро пожаловать! Welkom! [ Help ]
▀▀▀▀▀▀▀
Use UP, DOWN and ENTER keys to select your language.
┌───
│ │
│ Sorry, the installer has restarted because of an error. │
│ │
│ [ View full report ] │
│ │
│ If you want to help improve the installer, you can send an error │
│ report. │
│ │
│ [ Send to Canonical ] │
│ │
│ Select continue to try the installation again. │
│ │
│ [ Continue ] │
│ │
└───
At that stage I changed to the shell and saved the content of /var/log and /var/crash
that is attached here...
(and at the subiquity shell I also faced some refresh issues, not sure if that is related)
This happened on an s390x z/VM installation, but I'm unsure if that's is an arch. specific issue.
Changed in subiquity: | |
assignee: | nobody → Olivier Gayot (ogayot) |
tags: | added: fr-2458 |
Changed in ubuntu-z-systems: | |
status: | New → Fix Committed |
Hi Frank,
I'm very interested in the refresh issues you had. Would you please provide some details?
Looking at the traceback, there seems to be something mixing up the old and refreshed snap:
Traceback (most recent call last): subiquity/ 3477/usr/ lib/python3. 8/runpy. py", line 194, in _run_module_as_main subiquity/ 3477/usr/ lib/python3. 8/runpy. py", line 87, in _run_code subiquity/ 3360/lib/ python3. 8/site- packages/ subiquity/ __main_ _.py", line 5, in <module> exit(main( ))
File "/snap/
return _run_code(code, main_globals, None,
File "/snap/
exec(code, run_globals)
File "/snap/
sys.
/snap/subiquity /3360 is the 22.04.2 snap (the one built in jammy isos today) ; while /3477 is the refreshed / edge snap.
/snap/subiquity
The search_drivers key is not present in 3360 but should be in 3477 so it's likely related.
Thanks,
Olivier