[copr] skvidal-backend: more logging (78b5e37)

skvidal at fedoraproject.org skvidal at fedoraproject.org
Fri Nov 16 20:26:11 UTC 2012


Repository : http://git.fedorahosted.org/cgit/copr.git

On branch  : skvidal-backend

>---------------------------------------------------------------

commit 78b5e3703481d5e1840794fec5f489a6013e5fa9
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Fri Nov 16 15:24:11 2012 -0500

    more logging


>---------------------------------------------------------------

 backend/dispatcher.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/backend/dispatcher.py b/backend/dispatcher.py
index 5478719..8320b5b 100644
--- a/backend/dispatcher.py
+++ b/backend/dispatcher.py
@@ -101,6 +101,7 @@ class Worker(multiprocessing.Process):
         self.callback.log('creating worker: %s' % ip)
 
     def spawn_instance(self):
+        self.callback.log('spawning instance begin')
         
         stats = callbacks.AggregateStats()
         playbook_cb = SilentPlaybookCallbacks(verbose=False)
@@ -112,6 +113,7 @@ class Worker(multiprocessing.Process):
                              remote_user='root')
 
         play.run()
+        self.callback.log('spawning instance end')
         if self.ip:
             return self.ip
             



More information about the copr-devel mailing list