storage probe validation - "Couldn't find partition entry in table"

Bug #2081778 reported by Dan Bungert
412
This bug affects 48 people
Affects Status Importance Assigned to Milestone
curtin
Triaged
High
Unassigned
subiquity
Triaged
High
Unassigned

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.

Dan Bungert (dbungert)
Changed in subiquity:
status: New → Triaged
Changed in curtin:
status: New → Triaged
importance: Undecided → High
Changed in subiquity:
importance: Undecided → High
Dan Bungert (dbungert)
tags: added: foundations-todo
Revision history for this message
Olivier Gayot (ogayot) wrote :

I've merged many bug reports with similar symptoms to this bug report. I'm not sure if they all have the same root cause though.

If you are one of the affected people, we'd be interested to know what software you used to create the installation media. If you're using Ventoy or another software that allows to "dynamically" boot the installer, we'd be happy to know as well please.

Thanks!
Olivier

Olivier Gayot (ogayot)
summary: - curtin crash - "Couldn't find partition entry in table"
+ probe storage validation - "Couldn't find partition entry in table"
Revision history for this message
Suvasish Banerjee (hunter911) wrote : Re: [Bug 2081778] Re: curtin crash - "Couldn't find partition entry in table"

I tried Ventoy and Rufus.

On Tue, Oct 8, 2024, 7:21 PM Olivier Gayot <email address hidden>
wrote:

> I've merged many bug reports with similar symptoms to this bug report.
> I'm not sure if they all have the same root cause though.
>
> If you are one of the affected people, we'd be interested to know what
> software you used to create the installation media. If you're using
> Ventoy or another software that allows to "dynamically" boot the
> installer, we'd be happy to know as well please.
>
> Thanks!
> Olivier
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (2075752).
> 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
>
>

Revision history for this message
Libna (nabil16a) wrote :

The problem was due to a disk that was converted as a dynamic disk in
Win 11. After I converted it back to a basic, I could install Ubuntu (as
usual) as dual boot with Win 11.

Nabil

_________________oOo_________________

On 08.10.2024 15:13, Olivier Gayot wrote:
> I've merged many bug reports with similar symptoms to this bug report.
> I'm not sure if they all have the same root cause though.
>
> If you are one of the affected people, we'd be interested to know what
> software you used to create the installation media. If you're using
> Ventoy or another software that allows to "dynamically" boot the
> installer, we'd be happy to know as well please.
>
> Thanks!
> Olivier
>

Olivier Gayot (ogayot)
summary: - probe storage validation - "Couldn't find partition entry in table"
+ storage probe validation - "Couldn't find partition entry in table"
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.