commit c6402f483a0835492c5a5e810ca8b5f9f9e86b9d
Author: Chris Duryee <cduryee(a)redhat.com>
Date: Thu Aug 29 21:21:07 2013 -0400
Log message when no hypervisors are found
satellite.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/satellite.py b/satellite.py
index 055719c..3c0a195 100644
--- a/satellite.py
+++ b/satellite.py
@@ -132,6 +132,9 @@ class Satellite(object):
def hypervisorCheckIn(self, owner, env, mapping, type=None):
+ if len(mapping) == 0:
+ self.logger.info("no hypervisors found, not sending data to
satellite")
+
for hypervisor_uuid, guest_uuids in mapping.items():
self.logger.debug("Loading systemid for %s" % hypervisor_uuid)
hypervisor_systemid = self._load_hypervisor(hypervisor_uuid, type=type)
Show replies by date