[Kimchi-devel] [PATCH] [Kimchi] Fix for the kimchi #1102

jkatta at linux.vnet.ibm.com jkatta at linux.vnet.ibm.com
Mon Jan 30 10:16:24 UTC 2017


From: Jayavardhan Katta <jkatta at linux.vnet.ibm.com>

Fix given to the kimchi plugin to avoid multiple continuos error message to the log
in case of VMs created outside of WoK.

Signed-off-by: Jayavardhan Katta <jkatta at linux.vnet.ibm.com>
---
 model/vms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/model/vms.py b/model/vms.py
index 7729af0..895acd3 100644
--- a/model/vms.py
+++ b/model/vms.py
@@ -1300,7 +1300,7 @@ class VMModel(object):
 
         with self.objstore as session:
             try:
-                extra_info = session.get('vm', dom.UUIDString())
+                extra_info = session.get('vm', dom.UUIDString(), False)
             except NotFoundError:
                 extra_info = {}
         icon = extra_info.get('icon')
-- 
2.7.4



More information about the Kimchi-devel mailing list