[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Exclude QEMU devices that give bogus UUID info from mpath (#614869)



The qemu devices are being identified as mpath devices which is wrong.
I doubt if this is actually the cause of the problem in the bug, but
it sure does look silly in program.log .
---
 storage/devicelibs/mpath.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
index 181c964..6e35727 100644
--- a/storage/devicelibs/mpath.py
+++ b/storage/devicelibs/mpath.py
@@ -223,6 +223,10 @@ blacklist {
 	device {
 		vendor  "HPT"
 	}
+	# nor QEMU devices
+	device {
+		vendor  "QEMU"
+	}
 """
         for device in self.blacklist_devices:
             if device.serial:
-- 
1.7.1.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]