Commit 8f4f5a93 by Őry Máté

vm: add logging to Instance.deploy_async

parent c01422a0
......@@ -646,6 +646,8 @@ class Instance(AclBase, VirtualMachineDescModel, TimeStampedModel):
def deploy_async(self, user=None):
"""Execute deploy asynchronously.
"""
logger.debug('Calling async local_tasks.deploy(%s, %s)',
unicode(self), unicode(user))
return local_tasks.deploy.apply_async(args=[self, user],
queue="localhost.man")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment