Installing to HDD with previous ubuntu fails to create fresh LVM claiming group already in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto-lvm (Debian) |
New
|
Unknown
|
|||
partman-auto-lvm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
Quantal |
Fix Released
|
High
|
Unassigned | ||
partman-lvm (Ubuntu) |
Won't Fix
|
Medium
|
Dimitri John Ledkov |
Bug Description
[IMPACT]
* Fail to pre-seed automatic LVM installation on machines with:
- empty / new partition table
- not-zeroed out disks
- which had the same partition layout
- and the same volume group names
* this affects large scale automated installs / deployments, as it is very easy to get all of those conditions when reinstalling.
* To fix this bug partman-auto-lvm should be updated with the proposed fix
* the fixed partman-auto-lvm should also make it onto affected images
[TESTCASE]
* Pre-seed or manually execute "Guided partitioning - LVM"
* Remove/Clear partition table with e.g.:
# fdisk /dev/vda << EOF
o
w
EOF
* Pre-seed or manually execute "Guided partitioning - LVM" again
[Regression Potential]
* while the current behaviour is broken, it did allow to "resurrect" LVM groups by bailing out the install after the zombie VGs groups became detected, but it is not guaranteed that the resurrected VGs are correct: the partition can be too small and VG can be incomplete (only 1 out of many physical volumes). Some people may have been relying on this. The correct behaviour will attempt to delete the zombie VGs by asking a question that can be pre-seeded or manually backed out of.
Related branches
Changed in debian-installer: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: rls-mgr-l-tracking |
Changed in partman-auto-lvm (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in partman-auto-lvm (Ubuntu Quantal): | |
assignee: | nobody → Dmitrijs Ledkovs (dmitrij.ledkov) |
Changed in partman-auto-lvm (Ubuntu Precise): | |
assignee: | nobody → Dmitrijs Ledkovs (dmitrij.ledkov) |
Changed in partman-auto-lvm (Ubuntu Quantal): | |
importance: | Medium → High |
Changed in partman-auto-lvm (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in partman-auto-lvm (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.2 |
Changed in partman-lvm (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in partman-lvm (Ubuntu Quantal): | |
status: | New → Confirmed |
Changed in partman-lvm (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in partman-lvm (Ubuntu Quantal): | |
importance: | Undecided → High |
Changed in partman-lvm (Ubuntu Precise): | |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-lvm (Ubuntu Quantal): | |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-auto-lvm (Ubuntu Precise): | |
status: | Confirmed → Invalid |
Changed in partman-auto-lvm (Ubuntu Quantal): | |
status: | Confirmed → Invalid |
Changed in partman-auto-lvm (Ubuntu Precise): | |
assignee: | Dmitrijs Ledkovs (xnox) → nobody |
Changed in partman-auto-lvm (Ubuntu Quantal): | |
assignee: | Dmitrijs Ledkovs (xnox) → nobody |
Changed in partman-auto-lvm (Ubuntu Precise): | |
milestone: | ubuntu-12.04.2 → none |
tags: | added: patch |
Changed in partman-lvm (Debian): | |
status: | Unknown → New |
description: | updated |
Changed in partman-auto-lvm (Debian): | |
status: | Unknown → New |
Switching to an alternate console (alt-f2) and using fdisk to delete the partition table meant I could carry on and create a new LVM instance, but I couldn't see a simple (or even complex) way to do this from the menu