dmwm / CRAB2

CRAB2
2 stars 11 forks source link

if resubmit fails, jobs status is set to created not back to original #875

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 100144 reported by None on Tue Jan 29 03:24:57 2013.

If a crab -resubmit fails (for whatever reason, eg no resource found, or anything else) the status is not set to the original one, but to "Created".

So, if one want to try an other resubmit (eg, changing the white/black list) the -resubmit will not work. Instead plain "submit" has to be used.

The problem is that -resubmit takes a range, so a specific set of jobs can be resubmitted, while submit does not accept a range, but just a number of jobs to be submitted, starting from the first available. So, it is not possible to "resubmit" a specific job in any way.

Cheers, Stefano

ericvaandering commented 10 years ago

Comment by belforte on Tue Jan 29 05:22:31 2013

to submit only e.g. job 8, try: crab -submit 8, note the comma at the end, you need to basically pass a one-number range w/o using the "n" syntax.

will that be a good workaround ?

the fact that resubmit goes via a "full reset to create" is something likely there since a long long time and I would not touch that part unless it comes to life or death. May e.g. make forceResubmi not work which would be worst.

stefano

ericvaandering commented 10 years ago

Closed by slacapra on Tue Jan 29 05:37:04 2013

ericvaandering commented 10 years ago

Comment by slacapra on Tue Jan 29 05:37:04 2013

The workaround is working, so I close this ticket.

thanks, stefano