[Bug 2081778] Re: probe storage validation - "Couldn't find partition entry in table"

Olivier Gayot 2081778 at bugs.launchpad.net
Tue Oct 8 13:28:54 UTC 2024


** Summary changed:

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2081778

Title:
  probe storage validation - "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