virt-install: report warning for cpuset=auto on non-NUMA host

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@redhat.com>
This commit is contained in:
Pavel Hrdina 2015-11-02 18:03:33 +01:00
parent fe722b99cb
commit a8110c6cd7

View File

@ -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: