Will occasionally get an error response when calling the HoldJob and ReleaseJob qmf methods on Scheduler. An example of the error text and code are Failed to release job (65537) - {} In this case the job was in a Held state. The GlobalJobId was schedd7@#12082.0#1277835264 The submission name was Thwump! This may also happend on the RemoveJob call, but I don't want to experiment.
Is this from qpid-tool or cumin?
This is from cumin. Finding the correct scheduler given a submission is difficult using qpid-tool.
This may be an issue with finding the correct Scheduler. The linkage from submission to scheduler is currently this: submission -> jobserver using submission.jobServerRef jobserver -> scheduler using jobserver.Machine == scheduler.Machine However, there are multiple schedulers that have the same Machine. If the HoldJob method is called on the wrong scheduler, will the method fail like this?
Added jobserver->scheduler linkage which seems to work for accurate job control in multi-schedd pools
In which version I can reproduce this issue? Do I understand this correctly that there can be just one jobserver in the pool and many schedulers connected to it?
Yes, this can be tested in a multi-schedd environment, particulalry with cumin. condor 7.4.4-0.7 should exhibit this problem.
I've tested this with condor-7.4.4-0.16 condor-debuginfo-7.4.4-0.16 condor-qmf-7.4.4-0.16 qpid-cpp-client-0.7.946106-17 qpid-tools-0.7.946106-11 python-qpid-0.7.946106-14 qpid-cpp-server-0.7.946106-17 in multi-scheduler, one jobserver environment on RHEL 5.5/4.8 x i386/x86_64 with qpid-tool and there is correct link from jobserver to scheduler. --> VERIFIED