[Gug-cvs] gug/gug/service/cm cm.py,1.38,1.39
Status: Planning
Brought to you by:
szferi
From: Roczei G. <ro...@us...> - 2007-05-12 21:19:52
|
Update of /cvsroot/gug/gug/gug/service/cm In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv17540 Modified Files: cm.py Log Message: New state: MIGRATION Index: cm.py =================================================================== RCS file: /cvsroot/gug/gug/gug/service/cm/cm.py,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** cm.py 30 Apr 2007 22:03:38 -0000 1.38 --- cm.py 12 May 2007 21:19:52 -0000 1.39 *************** *** 226,231 **** continue try: ! if item['exec_job_id'] != False and item['desc']['batchjob'] == False : try: result = good_proxies[exec_id]['proxy'].revoke_repair(item['exec_job_id'], item['desc']) if result == True: --- 226,232 ---- continue try: ! if item['exec_job_id'] != False and item['desc']['batchjob'] == False and item['desc']['checkpoint'] == '1': try: + item['status'] = BES_OVERALL_STATE_MIGRATION result = good_proxies[exec_id]['proxy'].revoke_repair(item['exec_job_id'], item['desc']) if result == True: *************** *** 246,249 **** --- 247,251 ---- except RevokeError, error: log.msg('I cannot repair this job: %s, reason: %s' % (item['grid_id'], error)) + item['status'] = BES_OVERALL_STATE_NEW if result == False: |