[Bug 1934755] Re: Ubuntu server 20.04 installation will crash with http error 500

Jeff Lane 1934755 at bugs.launchpad.net
Wed Jul 7 17:54:55 UTC 2021


Marking Invalid for now.

After email discussion, I believe that the 20.04 ISO is older and
unsupported now, while the 20.04.2 ISO does work and thus the issue is
resolved there.

Users should always be using the latest ISO image from ubuntu.com, and
then can choose either the GA (5.4) or HWE (currently 5.8) kernel at
install time.

** Changed in: subiquity (Ubuntu)
       Status: New => Invalid

-- 
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/1934755

Title:
  Ubuntu server 20.04 installation will crash with http error 500

Status in subiquity package in Ubuntu:
  Invalid

Bug description:
  1.Install Ubuntu server 20.04 lts will crash with "
  subiquity/Refresh/apply_autoinstall_config: FAIL: 500 Server Error:
  Internal Server Error for url:
  http+unix://%2Frun%2Fsnapd.socket/v2/find?select=refresh"

  2.Ubuntu 20.04.2 can be install with the same environment
  successfully.

  Crash log:
  2021-07-05 06:07:41,667 DEBUG urllib3.connectionpool:396 https://geoip.ubuntu.com:443 "GET /lookup HTTP/1.1" 200 None
   2021-07-05 06:07:41,669 DEBUG urllib3.connectionpool:396 https://geoip.ubuntu.com:443 "GET /lookup HTTP/1.1" 200 None
   2021-07-05 06:07:41,673 DEBUG root:39 finish: subiquity/Mirror/lookup: SUCCESS: 
   2021-07-05 06:08:20,070 DEBUG urllib3.connectionpool:396 http://localhost:None "GET /v2/find?select=refresh HTTP/1.1" 500 264
   2021-07-05 06:08:20,074 ERROR root:39 finish: subiquity/Refresh/check_for_update: FAIL: 500 Server Error: Internal Server Error for url: http+unix://%2Frun%2Fsnapd.socket/v2/find?select=refresh
   2021-07-05 06:08:20,087 ERROR root:39 finish: subiquity/Refresh/apply_autoinstall_config: FAIL: 500 Server Error: Internal Server Error for url: http+unix://%2Frun%2Fsnapd.socket/v2/find?select=refresh
   2021-07-05 06:08:20,090 DEBUG subiquitycore.core:248 _exception_handler HTTPError('500 Server Error: Internal Server Error for url: http+unix://%2Frun%2Fsnapd.socket/v2/find?select=refresh',)
   2021-07-05 06:08:20,097 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/refresh.py", line 93, in apply_autoinstall_config
       await asyncio.wait_for(self.check_task.wait(), 60)
     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
     File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquity/controllers/refresh.py", line 193, in check_for_update
       result = await self.app.snapd.get('v2/find', select='refresh')
     File "/snap/subiquity/1772/lib/python3.6/site-packages/subiquity/snapd.py", line 175, in get
       response.raise_for_status()
     File "/snap/subiquity/1772/usr/lib/python3/dist-packages/requests/models.py", line 935, in raise_for_status
       raise HTTPError(http_error_msg, response=self)
   requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+unix://%2Frun%2Fsnapd.socket/v2/find?select=refresh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1934755/+subscriptions



More information about the foundations-bugs mailing list