When udev tells us it found an LV the most we can hope for is to find the VG since we delay processing of the LVs until after we know for sure which VGs are complete and consistent. Returning the VG tricks the caller into thinking we've returned the LV. --- pyanaconda/storage/devicetree.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py index 3807994..646f30b 100644 --- a/pyanaconda/storage/devicetree.py +++ b/pyanaconda/storage/devicetree.py @@ -609,7 +609,9 @@ class DeviceTree(object): device = self.getDeviceByName(vg_name) if not device: log.error("failed to find vg '%s' after scanning pvs" % vg_name) - return device + + # Don't return the device like we do in the other addUdevFooDevice + # methods. The device we have here is a vg, not an lv. def addUdevDMDevice(self, info): name = udev_device_get_name(info) -- 1.7.3.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list