As we only do lv handling for complete vgs now, setting up the lv
should never fail.
---
storage/devicetree.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 1d17126..99adb06 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1524,13 +1524,7 @@ class DeviceTree(object):
logSize=log_size,
exists=True)
self._addDevice(lv_device)
-
- try:
- lv_device.setup()
- ret = True
- except DeviceError as (msg, name):
- log.info("setup of %s failed: %s"
- % (lv_device.name, msg))
+ lv_device.setup()
return ret
--
1.7.0.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
05-19-2010, 02:19 PM
Ales Kozumplik
Setting up lvs should never fail
On 05/19/2010 01:57 PM, Hans de Goede wrote:
As we only do lv handling for complete vgs now, setting up the lv
should never fail.
---
Ack.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list