Comment 9 for bug 1837214

Revision history for this message
Ryan Harper (raharper) wrote : Re: [Bug 1837214] Re: [partition reuse] VGs are not deleted

vg1 is composed of disk-sdb, which is set to be preserved instead of being
wiped.

  - serial: QEMU_HARDDISK_QM00002
    path: /dev/sdb
    preserve: true
    name: ''
    grub_device: false
    type: disk
    id: disk-sdb

 - name: vg1
    devices:
    - disk-sdb
    preserve: false
    type: lvm_volgroup
    id: lvm_volgroup-0

I think if subiquity marks the vg as preserve: false, then it needs to
ensure the composition devices are cleared (wipe: superblock) which implies
they cannot also have preserved: true.

On Tue, Jul 23, 2019 at 11:50 AM Paride Legovini <
<email address hidden>> wrote:

> Here are the installer logs in the "replace VG with another VG"
> scenario, basically the steps in comment #6.
>
>
> ** Attachment added: "tarball of /var/log/installer"
>
> https://bugs.launchpad.net/subiquity/+bug/1837214/+attachment/5278733/+files/installer-vg-delete-fail.tar.gz
>
> --
> You received this bug notification because you are subscribed to
> subiquity.
> Matching subscriptions: subiquity-bugs
> https://bugs.launchpad.net/bugs/1837214
>
> Title:
> [partition reuse] VGs are not deleted
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/subiquity/+bug/1837214/+subscriptions
>