On Fri, 5 Aug 2005, Bryan Stillwell wrote:
I've run into another problem with my internal plague server.
It
appears that when you run `plague-client kill jobid` it sets the status
to 'finished' and not 'killed'. I believe the proper behaviour should
be 'killed', but because its currently using 'finished' the
`plague-client requeue jobid` command doesn't work and gives this
message:
Error: Job 11 must be either 'failed' or 'killed' to requeue.
This may be fixed in current CVS. Each job actually has two values, a 'status'
and a 'result'. When you kill the job (again, using current CVS) the status
gets set directly to 'finished' but the result gets set to killed. Current CVS
checks for a _result_ of 'killed' or 'failed', and disregards the status
altogether. So it should currently work.
I did just test this with current CVS, and it appears to requeue killed jobs
correctly. That code has undergone some fairly large changes recently, so
please let me know if current CVS still does not work for you.
Dan