commit 0e5e1d504bc9f35f890b123629f719ef3d155564 Author: Radek Novacek rnovacek@redhat.com Date: Fri Aug 8 11:03:23 2014 +0200
esx: disable error when esx host doesn't have guests
It works fine in this case, no need to show an error.
virt/esx/esx.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) --- diff --git a/virt/esx/esx.py b/virt/esx/esx.py index 7330299..cdca920 100644 --- a/virt/esx/esx.py +++ b/virt/esx/esx.py @@ -242,8 +242,6 @@ class Esx(virt.HypervisorVirt): else: self.logger.error("No UUID for virtual machine %s", self.vms[obj.obj.value].name) self.vms[obj.obj.value].uuid = None - else: - self.logger.error("Cannot read VM list from ESX for host %s (len(obj) <= 1)" % self.hosts[host.obj.value].uuid)
except AttributeError: # This means that there is no guest on given host