subiquity crashes if netplan apply fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Canonical Foundations Team | ||
subiquity |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
By accident the (external) network of my s390x system was down, hence I decided during a subiquity installation to choose 'Continue without network', expecting that I'm still able to complete the installation, but subiquity crashed.
Then netplan apply failed, and crashes the UI:
Traceback:
Traceback (most recent call last):
File "/snap/
super().run()
File "/snap/
self.
File "/snap/
self._run()
File "/snap/
self.
File "/snap/
reraise(
File "/snap/
raise value
File "/snap/
self.
File "/snap/
fut.result()
File "/snap/
await arun_command(
File "/snap/
raise subprocess.
subprocess.
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
Changed in subiquity: | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Committed |
Changed in subiquity: | |
status: | Fix Committed → Fix Released |
I think this is the requests library misbehaving, it's only supposed to raise subclasses of requests. exceptions. RequestExceptio n but clearly sometimes it doesn't. We can make our except clauses broader I guess.