In multiple private reports, we are seeing snapd return a HTTP 505 error when Subiquity queries http+unix://%2Frun%2Fsnapd.socket/v2/systems/enhanced-secureboot-desktop. Some reports are on 23.10 and some others on 24.04 so it isn't specific to a given Ubuntu release.
2024-02-28 19:32:48,720 ERROR subiquity.server.server:415 top level error
Traceback (most recent call last):
File "/snap/ubuntu-desktop-bootstrap/6/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquitycore/async_helpers.py", line 25, in _done
fut.result()
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 413, in _examine_systems
system = await self._get_system(name, label)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 341, in _get_system
system = await self.app.snapdapi.v2.systems[label].GET()
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/common/api/client.py", line 47, in impl
async with make_request(
File "/snap/ubuntu-desktop-bootstrap/6/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/snapdapi.py", line 298, in make_request
content = await async_snapd.get(path[1:], **params)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquitycore/snapd.py", line 209, in get
response.raise_for_status()
File "/snap/ubuntu-desktop-bootstrap/6/usr/lib/python3/dist-packages/requests/models.py", line 943, 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/systems/enhanced-secureboot-desktop
2024-02-28 19:32:48,803 DEBUG subiquity.common.errorreport:398 generating crash report
2024-02-28 19:32:48,804 INFO subiquity.common.errorreport:424 saving crash report 'unknown error crashed with HTTPError' to /var/crash/1709148768.803752899.unknown.crash
2024-02-28 19:32:48,806 DEBUG root:30 finish: subiquity/Filesystem/v2_GET: SUCCESS: 500 Traceback (most recent call last):
File "/snap/ubuntu-desktop-bootstrap/6/b...
2024-02-28 19:32:48,806 DEBUG subiquity.server.server:448 request to /storage/v2?wait=true crashed
Traceback (most recent call last):
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/common/api/server.py", line 164, in handler
result = await implementation(**args)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1024, in v2_GET
return await self.get_v2_storage_response(self.model, wait, include_raid)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 1000, in get_v2_storage_response
probe_resp = await self._probe_response(wait, StorageResponseV2)
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquity/server/controllers/filesystem.py", line 754, in _probe_response
await self._examine_systems_task.wait()
File "/snap/ubuntu-desktop-bootstrap/6/bin/subiquity/subiquitycore/async_helpers.py", line 113, in wait
return await self.task
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+unix://%2Frun%2Fsnapd.socket/v2/systems/enhanced-secureboot-desktop
2024-02-28 19:32:48,806 DEBUG subiquity.common.errorreport:398 generating crash report
2024-02-28 19:32:48,811 INFO subiquity.common.errorreport:424 saving crash report 'request to /storage/v2?wait=true crashed with HTTPError' to /var/crash/1709148768.806477547.server_request_fail.crash
In multiple private reports, we are seeing snapd return a HTTP 505 error when Subiquity queries http+unix: //%2Frun% 2Fsnapd. socket/ v2/systems/ enhanced- secureboot- desktop. Some reports are on 23.10 and some others on 24.04 so it isn't specific to a given Ubuntu release.
2024-02-28 19:32:48,720 ERROR subiquity. server. server: 415 top level error ubuntu- desktop- bootstrap/ 6/usr/lib/ python3. 10/asyncio/ events. py", line 80, in _run _context. run(self. _callback, *self._args) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquitycore/ async_helpers. py", line 25, in _done ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ controllers/ filesystem. py", line 413, in _examine_systems system( name, label) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ controllers/ filesystem. py", line 341, in _get_system snapdapi. v2.systems[ label]. GET() ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ common/ api/client. py", line 47, in impl ubuntu- desktop- bootstrap/ 6/usr/lib/ python3. 10/contextlib. py", line 199, in __aenter__ ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ snapdapi. py", line 298, in make_request get(path[ 1:], **params) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquitycore/ snapd.py" , line 209, in get raise_for_ status( ) ubuntu- desktop- bootstrap/ 6/usr/lib/ python3/ dist-packages/ requests/ models. py", line 943, in raise_for_status http_error_ msg, response=self) exceptions. HTTPError: 500 Server Error: Internal Server Error for url: http+unix: //%2Frun% 2Fsnapd. socket/ v2/systems/ enhanced- secureboot- desktop common. errorreport: 398 generating crash report common. errorreport: 424 saving crash report 'unknown error crashed with HTTPError' to /var/crash/ 1709148768. 803752899. unknown. crash Filesystem/ v2_GET: SUCCESS: 500 Traceback (most recent call last): ubuntu- desktop- bootstrap/ 6/b... server. server: 448 request to /storage/ v2?wait= true crashed ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ common/ api/server. py", line 164, in handler **args) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ controllers/ filesystem. py", line 1024, in v2_GET v2_storage_ response( self.model, wait, include_raid) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ controllers/ filesystem. py", line 1000, in get_v2_ storage_ response response( wait, StorageResponseV2) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquity/ server/ controllers/ filesystem. py", line 754, in _probe_response systems_ task.wait( ) ubuntu- desktop- bootstrap/ 6/bin/subiquity /subiquitycore/ async_helpers. py", line 113, in wait exceptions. HTTPError: 500 Server Error: Internal Server Error for url: http+unix: //%2Frun% 2Fsnapd. socket/ v2/systems/ enhanced- secureboot- desktop common. errorreport: 398 generating crash report common. errorreport: 424 saving crash report 'request to /storage/ v2?wait= true crashed with HTTPError' to /var/crash/ 1709148768. 806477547. server_ request_ fail.crash
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
fut.result()
File "/snap/
system = await self._get_
File "/snap/
system = await self.app.
File "/snap/
async with make_request(
File "/snap/
return await anext(self.gen)
File "/snap/
content = await async_snapd.
File "/snap/
response.
File "/snap/
raise HTTPError(
requests.
2024-02-28 19:32:48,803 DEBUG subiquity.
2024-02-28 19:32:48,804 INFO subiquity.
2024-02-28 19:32:48,806 DEBUG root:30 finish: subiquity/
File "/snap/
2024-02-28 19:32:48,806 DEBUG subiquity.
Traceback (most recent call last):
File "/snap/
result = await implementation(
File "/snap/
return await self.get_
File "/snap/
probe_resp = await self._probe_
File "/snap/
await self._examine_
File "/snap/
return await self.task
requests.
2024-02-28 19:32:48,806 DEBUG subiquity.
2024-02-28 19:32:48,811 INFO subiquity.