Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
commit 7080aebc8fbb3200c405c722b9301d755a313263 Author: Seth Vidal skvidal@fedoraproject.org Date: Fri Nov 30 11:43:30 2012 -0500
need to record the ip of each worker so we can kill it later
backend/dispatcher.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/backend/dispatcher.py b/backend/dispatcher.py index dac7498..a5349e6 100644 --- a/backend/dispatcher.py +++ b/backend/dispatcher.py @@ -187,6 +187,7 @@ class Worker(multiprocessing.Process): ip = self.spawn_instance() if not ip: raise errors.CoprWorkerError, "No IP found from creating instance" + self.ip = ip
except ansible.errors.AnsibleError, e: self.callback.log('failure to setup instance: %s' % e)
copr-devel@lists.fedorahosted.org