commit 85a53db19dea8e92c4885db057c7613e606ea431
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Mon Nov 3 14:29:35 2014 +0100
SlavePool: update debug message
The allow_virt attribute now has a different meaning so the debug
message should be updated.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Controller/SlavePool.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lnst/Controller/SlavePool.py b/lnst/Controller/SlavePool.py
index cbe177d..682a91e 100644
--- a/lnst/Controller/SlavePool.py
+++ b/lnst/Controller/SlavePool.py
@@ -129,8 +129,9 @@ class SlavePool:
if 'libvirt_domain' in machine_spec['params'] and \
not self._allow_virt:
- logging.debug("libvirtd not running. Removing "\
- "libvirt_domain from machine '%s'"
% m_id)
+ logging.debug("libvirtd not running or allow_virtual "\
+ "disabled. Removing libvirt_domain from
"\
+ "machine '%s'" % m_id)
del machine_spec['params']['libvirt_domain']
else:
available = True
Show replies by date