On Mon, Dec 17, 2012 at 04:32:21PM -0600, David Lehman wrote:
Related: rhbz#821042
---
storage/devicetree.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 6e3c6b2..ba85aab 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -2099,8 +2099,10 @@ class DeviceTree(object):
friendly_names=self.mpathFriendlyNames)
devices = udev_get_block_devices()
- (singles, mpaths, partitions) = devicelibs.mpath.identifyMultipaths(devices)
- devices = singles + reduce(list.__add__, mpaths, []) + partitions
+ if os.access("/etc/multipath.conf", os.R_OK):
+ (singles, mpaths, partitions) =
devicelibs.mpath.identifyMultipaths(devices)
+ devices = singles + reduce(list.__add__, mpaths, []) + partitions
+
# remember all the devices idenitfyMultipaths() gave us at this point
old_devices = {}
for dev in devices:
--
1.7.6.5
Ack
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)