Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
---------------------------------------------------------------
commit 8fc0c3e6a2eb3cd253ccdc75f4c2c05743e3590d
Author: Seth Vidal <skvidal(a)fedoraproject.org>
Date: Wed Dec 5 01:37:24 2012 -0500
touch up the log outputs to make it easier to know what to do
---------------------------------------------------------------
backend/dispatcher.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index eff1f27..e1a47dc 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -102,7 +102,7 @@ class Worker(multiprocessing.Process):
if ip:
self.callback.log('creating worker: %s' % ip)
else:
- self.callback.log('creating worker: with dynamic ip')
+ self.callback.log('creating worker: dynamic ip')
def spawn_instance(self):
"""call the spawn playbook to startup/provision a building
instance"""
@@ -130,7 +130,9 @@ class Worker(multiprocessing.Process):
# if we get here we're in trouble
self.callback.log('No IP back from spawn_instance - dumping cache
output')
self.callback.log(str(play.SETUP_CACHE))
- self.callback.log(play.stats.summarize('localhost'))
+ self.callback.log(str(play.stats.summarize('localhost')))
+ self.callback.log('Test spawn_instance playbook manually')
+
return None
def terminate_instance(self,ip):