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

Jeff Lane 1934755 at bugs.launchpad.net
Tue Jul 6 15:39:03 UTC 2021


Hi. I don't think this is a grub-installer issue so I've moved it over
to Subiqutiy, as it looks like that is what you're trying to do here.

So to confirm for BOTH 20.04 and 20.04.2, you are using the new
Subiquity installer (The Ubuntu Server Live ISO available from
ubuntu.com)?

Does the machine have internet access during installation?


** Package changed: grub-installer (Ubuntu) => subiquity (Ubuntu)

-- 
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:
  New

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