[haizea-commit] r445 - trunk/src/haizea/resourcemanager/deployment
haizea-commit at mailman.cs.uchicago.edu
haizea-commit at mailman.cs.uchicago.edu
Wed Jul 23 13:19:44 CDT 2008
Author: borja
Date: 2008-07-23 13:19:44 -0500 (Wed, 23 Jul 2008)
New Revision: 445
Modified:
trunk/src/haizea/resourcemanager/deployment/imagetransfer.py
Log:
Modified: trunk/src/haizea/resourcemanager/deployment/imagetransfer.py
===================================================================
--- trunk/src/haizea/resourcemanager/deployment/imagetransfer.py 2008-07-23 18:19:09 UTC (rev 444)
+++ trunk/src/haizea/resourcemanager/deployment/imagetransfer.py 2008-07-23 18:19:44 UTC (rev 445)
@@ -375,7 +375,7 @@
elif lease.state == constants.LEASE_STATE_SUSPENDED:
pass # This shouldn't happen
lease.print_contents()
- sched.updateNodeTransferState(rr.transfers.keys(), constants.DOING_TRANSFER)
+ sched.updateNodeTransferState(rr.transfers.keys(), constants.DOING_TRANSFER, lease.id)
sched.logger.debug("LEASE-%i End of handleStartFileTransfer" % lease.id, constants.SCHED)
sched.logger.info("Starting image transfer for lease %i" % (lease.id), constants.SCHED)
@@ -409,7 +409,7 @@
pass
# TODO: Migrating
lease.print_contents()
- sched.updateNodeTransferState(rr.transfers.keys(), constants.DOING_IDLE)
+ sched.updateNodeTransferState(rr.transfers.keys(), constants.DOING_IDLE, lease.id)
sched.rm.logger.debug("LEASE-%i End of handleEndFileTransfer" % lease.id, constants.SCHED)
sched.rm.logger.info("Completed image transfer for lease %i" % (lease.id), constants.SCHED)
More information about the Haizea-commit
mailing list