-
Bug
-
Resolution: Done
-
Major
-
None
-
rhel-10.0
-
None
-
Yes
-
Low
-
rhel-storage-management
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Trying to reinstall a system with 3 disks and one LVM VG+LVs on each disk, the reinstallation fails when recreating the storage:
Error An error occurred while activating your storage configuration. The object with LVM ID 'vg1/swap' doesn't exist
The error is "random", any other LV can show up as error.
This is a re-installation, so the VGs are effectively present on the disk, then destroyed and re-created.
It seems the root cause is a race happening between reformating of the disks and deletion of existing LVs as per storage.log:
DEBUG:blivet:action: [254] destroy format lvmpv on partition vdb1 (id 63)
DEBUG:blivet:action: [256] destroy device partition vdb1 (id 63)
DEBUG:blivet:action: [270] destroy format gpt disklabel on disk vdb (id 54)
DEBUG:blivet:action: [272] destroy format None on disk vdb (id 54)
DEBUG:blivet:action: [275] create format gpt disklabel on disk vdb (id 54)
DEBUG:blivet:action: [307] create device partition vdb1 (id 304)
DEBUG:blivet:action: [308] create format lvmpv on partition vdb1 (id 304)
DEBUG:blivet: DiskLabel.reset_parted_disk: device: /dev/vdb ;
DEBUG:blivet: DiskLabel.reset_parted_disk: device: /dev/vdb ;
DEBUG:blivet: PartitionDevice.pre_commit_fixup: vdb1 ;
DEBUG:blivet: PartitionDevice.pre_commit_fixup: vdb1 ;
DEBUG:blivet:sector-based lookup found partition vdb1
DEBUG:blivet: PartitionDevice._set_parted_partition: vdb1 ;
DEBUG:blivet:device vdb1 new parted_partition parted.Partition instance --
number: 1 path: /dev/vdb1 type: 0
DEBUG:blivet:action: [254] destroy format lvmpv on partition vdb1 (id 63)
DEBUG:blivet:action: [256] destroy device partition vdb1 (id 63)
DEBUG:blivet:action: [270] destroy format gpt disklabel on disk vdb (id 54)
DEBUG:blivet:lvm filter: device /dev/vdb1 added to the list of allowed devices
DEBUG:blivet:action: [275] create format gpt disklabel on disk vdb (id 54)
DEBUG:blivet:lvm filter: device /dev/vdb1 added to the list of allowed devices
DEBUG:blivet:action: [307] create device partition vdb1 (id 304)
DEBUG:blivet:action: [308] create format lvmpv on partition vdb1 (id 304)
DEBUG:blivet: PartitionDevice.setup: vdb1 ; orig: True ; status: True ; controllable: True ;
DEBUG:blivet: LVMPhysicalVolume.setup: device: /dev/vdb1 ; type: lvmpv ; status: False ;
A workaround is to delete the VGs using a %pre script, but this script should not be necessary.
Attaching storage.log and kickstart to reproduce (create a UEFI VM with 3 disks).
- is duplicated by
-
RHEL-65846 [RHEL10] blivet.errors.LVMError: The object with LVM ID 'data/thinp' doesn't exist
-
- Release Pending
-
- links to