[virt-tools-list] [virt-manager PATCH] virt-install: report warning for cpuset=auto on non-NUMA host

Pavel Hrdina phrdina at redhat.com
Tue Nov 3 10:10:08 UTC 2015


Currently we report an error but continue with installation, we should
report warning instead of error.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1263903

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed as trivial.

 virtinst/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virtinst/cli.py b/virtinst/cli.py
index 8ba9ced..a0df064 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -1299,7 +1299,7 @@ class ParserVCPU(VirtCLIParser):
                         inst.conn, inst.memory)
                     logging.debug("Auto cpuset is: %s", val)
                 except Exception, e:
-                    logging.error("Not setting cpuset: %s", str(e))
+                    logging.warning("Not setting cpuset: %s", str(e))
                     val = None
 
             if val:
-- 
2.6.2




More information about the virt-tools-list mailing list