[Bug 2081778] [NEW] curtin crash - "Couldn't find partition entry in table"
Dan Bungert
2081778 at bugs.launchpad.net
Mon Sep 23 23:45:26 UTC 2024
Public bug reported:
Several users in private bugs have run into a common problem, where
curtin fails to parse the initial storage configuration with the
following error:
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/server/controllers/filesystem.py", line 852, in _probe
await asyncio.wait_for(self._probe_once_task.task, 90.0)
File "/snap/ubuntu-desktop-installer/939/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquitycore/context.py", line 148, in decorated_async
return await meth(self, **kw)
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/server/controllers/filesystem.py", line 834, in _probe_once
self.model.load_probe_data(storage)
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/models/filesystem.py", line 1548, in load_probe_data
self.reset()
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/models/filesystem.py", line 1131, in reset
self._orig_config = storage_config.extract_storage_config(
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 1315, in extract_storage_config
found_cfgs, found_errs = parser.parse()
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 634, in parse
entry = self.asdict(data)
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 788, in asdict
raise RuntimeError(
RuntimeError: Couldn't find partition entry in table
The issue can be reproduced with dry-run based on the ProbeData.txt in
LP: #2017524 and presumably others.
** Affects: curtin
Importance: High
Status: Triaged
** Affects: subiquity
Importance: High
Status: Triaged
** Tags: dry-run-reproducible
** Also affects: curtin
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to curtin.
https://bugs.launchpad.net/bugs/2081778
Title:
curtin crash - "Couldn't find partition entry in table"
Status in curtin:
Triaged
Status in subiquity:
Triaged
Bug description:
Several users in private bugs have run into a common problem, where
curtin fails to parse the initial storage configuration with the
following error:
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/server/controllers/filesystem.py", line 852, in _probe
await asyncio.wait_for(self._probe_once_task.task, 90.0)
File "/snap/ubuntu-desktop-installer/939/usr/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquitycore/context.py", line 148, in decorated_async
return await meth(self, **kw)
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/server/controllers/filesystem.py", line 834, in _probe_once
self.model.load_probe_data(storage)
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/models/filesystem.py", line 1548, in load_probe_data
self.reset()
File "/snap/ubuntu-desktop-installer/939/bin/subiquity/subiquity/models/filesystem.py", line 1131, in reset
self._orig_config = storage_config.extract_storage_config(
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 1315, in extract_storage_config
found_cfgs, found_errs = parser.parse()
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 634, in parse
entry = self.asdict(data)
File "/snap/ubuntu-desktop-installer/939/lib/python3.10/site-packages/curtin/storage_config.py", line 788, in asdict
raise RuntimeError(
RuntimeError: Couldn't find partition entry in table
The issue can be reproduced with dry-run based on the ProbeData.txt in
LP: #2017524 and presumably others.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2081778/+subscriptions
More information about the foundations-bugs
mailing list