[Bug 1929213] Re: Ubuntu server LVM creates clone partitions and crash installation (invalid wwn is used by udev & probert as well)

Michael Hudson-Doyle 1929213 at bugs.launchpad.net
Tue Jun 1 22:36:17 UTC 2021


I think the reason LVM deploys fail is that there is already a VG with
the name that is to be used, which should be deleted but isn't because
the installer gets confused about which disk is which. In any case, the
source of the problem is clear and the exact symptoms are not that
important.

We should definitely handle this situation better. (I think arguably the
udev rules should such a bogus wwn as well but I don't know as much
about how things work at that level).

Disk actions can provide three bits of data to find the drive: wwn,
serial and path. Currently the installer just uses the first of
whichever of these is provided (so in this case, the bogus wwn), but
Dimitri suggested that instead it should use all provided fields, which
would work much better for this bug at least.

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

Title:
  Ubuntu server LVM creates clone partitions and crash installation
  (invalid wwn is used  by udev & probert as well)

Status in subiquity package in Ubuntu:
  New

Bug description:
  #I've already sent crash report from installer, but since I'm not
  quite sure how #it's handled, might as well follow up with this.

  #I've been tinkering with ubuntu server and some old HW. Long story short, since #I'm not used to CLI/text like install and missed that installer reverse order of #HDDs I ended up with disk setup where /boot, /boot/efi along with LVM handling #root were on /sdb
  #To be precise:
  #sdb:
  #/boot
  #/boot/efi
  #/lvm/root

  #sda:
  #/lvm/root

  #This failed at some point with message refering boot/grub could not be found on #/dev/sda1:
  #
  #"could not get path to dev from kname sda1"
  #
  #If I set up everything on sda it works fine.

  https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1929213/comments/5

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



More information about the foundations-bugs mailing list