[Bug 1881033] Re: subiquity crash when apt mirror is set
Joshua Foster
1881033 at bugs.launchpad.net
Fri Jun 12 05:15:45 UTC 2020
Yes, the updated iso fixes the issue.
** Changed in: subiquity (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1881033
Title:
subiquity crash when apt mirror is set
Status in subiquity package in Ubuntu:
Fix Released
Bug description:
I am trying to get an autoinstall with with a local nexus apt mirror.
config:
apt:
primary:
- arches: [default]
uri: "http://192.168.100.121:8081/repository/Apt/ubuntu/"
It is failing with this log:
2020-05-27 21:32:38,335 INFO root:39 finish: subiquity/Proxy: SUCCESS: completed
2020-05-27 21:32:38,335 DEBUG root:39 start: subiquity/Mirror/apply_autoinstall_config:
2020-05-27 21:32:38,336 ERROR root:39 finish: subiquity/Mirror/apply_autoinstall_config: FAIL: object NoneType can't be used in 'await' expression
2020-05-27 21:32:38,337 DEBUG subiquitycore.core:248 _exception_handler TypeError("object NoneType can't be used in 'await' expression",)
2020-05-27 21:32:38,339 ERROR subiquitycore.core:688 Exception in controller.run():
Traceback (most recent call last):
File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquitycore/core.py", line 686, in run
self.urwid_loop.run()
File "/snap/subiquity/1772/usr/lib/python3/dist-packages/urwid/main_loop.py", line 286, in run
self._run()
File "/snap/subiquity/1772/usr/lib/python3/dist-packages/urwid/main_loop.py", line 384, in _run
self.event_loop.run()
File "/snap/subiquity/1772/usr/lib/python3/dist-packages/urwid/main_loop.py", line 1484, in run
reraise(*exc_info)
File "/snap/subiquity/1772/usr/lib/python3/dist-packages/urwid/compat.py", line 58, in reraise
raise value
File "/snap/subiquity/1772/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquitycore/async_helpers.py", line 26, in _done
fut.result()
File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquity/core.py", line 374, in _apply
await controller.apply_autoinstall_config()
File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquity/controllers/mirror.py", line 80, in apply_autoinstall_config
await asyncio.wait_for(self.lookup_task.wait(), 10)
File "/snap/subiquity/1772/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquitycore/async_helpers.py", line 83, in wait
return await self.task
TypeError: object NoneType can't be used in 'await' expression
2020-05-27 21:32:38,341 DEBUG subiquity.core:421 generating crash report
2020-05-27 21:32:38,342 INFO subiquity.core:438 saving crash report 'Installer UI crashed with TypeError' to /var/crash/1590615158.341513157.ui.crash
2020-05-27 21:32:38,342 DEBUG root:39 start: subiquity/Error/1590615158.341513157.ui/add_info:
2020-05-27 21:32:39,271 DEBUG root:39 finish: subiquity/Error/1590615158.341513157.ui/add_info: SUCCESS: written to /var/crash/1590615158.341513157.ui.crash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1881033/+subscriptions
More information about the foundations-bugs
mailing list