Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8012

[RHEL9] Unable to reinstall system with corrupted LVM thin pool: device path does not exist or is not writable

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • python-blivet-3.6.0-26.el9
    • None
    • Moderate
    • rhel-storage-management
    • ssg_filesystems_storage_and_HA
    • 13
    • 15
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Bug Fix
    • Hide
      .The RHEL installation program removes corrupted LVM thin volumes

      Previously, the presence of corrupted LVM thin volumes caused storage configuration errors, blocking the installation process. With this fix, the RHEL installation program now detects and removes broken thin volumes. As a result, users do not have to intervene in the installation process manually.
      Show
      .The RHEL installation program removes corrupted LVM thin volumes Previously, the presence of corrupted LVM thin volumes caused storage configuration errors, blocking the installation process. With this fix, the RHEL installation program now detects and removes broken thin volumes. As a result, users do not have to intervene in the installation process manually.
    • Done
    • Done
    • Done
    • None
    • 57,005

      Description of problem:
      The installer fails to re-install a system with an existing LVM thin pool, which is corrupted.
      Such a problem can be simulated by the following steps: (The created disk image is attached)

      [root@localhost ~]# parted -s /dev/vdd mklabel msdos
      [root@localhost ~]# parted -s /dev/vdd mkpart primary 0% 25%
      [root@localhost ~]# pvcreate /dev/vdd1
      [root@localhost ~]# vgcreate testvg /dev/vdd1
      [root@localhost ~]# lvcreate -L 100M -T testvg/testpool
      [root@localhost ~]# vgchange -an testvg
      [root@localhost ~]# vgcfgbackup -f /root/backup testvg
      [root@localhost ~]#

      1. Now edit the backup file, change the transaction_id value for the testpool LV

      [root@localhost ~]# vgcfgrestore -f /root/backup testvg --force
      WARNING: Forced restore of Volume Group testvg with thin volumes.
      Restored volume group testvg.
      [root@localhost ~]#

      Use the disk image and let anaconda reclaim disk space and create the partitions during the installation.
      There is an error when anaconda starts preparing the partitions for the new installation:
      "device path does not exist or is not writable"

      Version-Release number of selected component (if applicable):
      RHEL-8.6.0-20220128.0
      anaconda-33.16.6.5-1.el8
      python3-blivet-3.4.0-8.el8

      How reproducible:
      Always

      Steps to Reproduce:
      1. Use the attached disk image
      2. Let anaconda delete the partitions and create new ones
      3. Begin the installation

      Actual results:
      Error while activating the storage configuration:
      "device path does not exist or is not writable"

      Expected results:
      The old partitioning is removed and new partitions are successfully created.

      Additional info:
      This bug could be related to bug 1856358.

              vtrefny@redhat.com Vojtěch Trefný
              jstodola@redhat.com Jan Stodola
              Vojtěch Trefný Vojtěch Trefný
              Release Test Team Release Test Team
              Sagar Dubewar Sagar Dubewar
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: