[Bug 2080608] Re: [SRU] storage.layout.mode="use_gap" does not honor match directive

Olivier Gayot 2080608 at bugs.launchpad.net
Fri Dec 13 15:27:10 UTC 2024


** Summary changed:

- storage.layout.mode="use_gap" does not honor match directive
+ [SRU] storage.layout.mode="use_gap" does not honor match directive

** Also affects: subiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: subiquity (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
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/2080608

Title:
  [SRU] storage.layout.mode="use_gap" does not honor match directive

Status in subiquity:
  Fix Committed
Status in subiquity package in Ubuntu:
  New
Status in subiquity source package in Noble:
  New

Bug description:
  We found a problem that the following autoinstall config:

    storage:
      layout:
        name: direct
        mode: use_gap
        match:
          install-media: true

  does not actually match install-media, because use_gap does not use match directive to filter disks before finding a largest gap, according to the code in the below link:
  https://github.com/canonical/subiquity/blob/6727905effc4abc2d96c96986600efe392e3b7b6/subiquity/server/controllers/filesystem.py#L1614

  Internal reference: NANTOU-470

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2080608/+subscriptions




More information about the foundations-bugs mailing list