georgemarselis / openlava-macosx

Automatically exported from code.google.com/p/openlava-macosx
GNU General Public License v2.0
1 stars 0 forks source link

bswitch: cannot switch queues #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://mail.google.com/mail/u/0/#inbox/13f144ff096d9f8b
Doc "Switch one or more unfinished jobs to the queue dest_queue."

So I assume I can switch running/pending jobs to another switch.  I'm drawing 
blank this morning why it's not working for me.

-Henk

[root@greentail ~]# bqueues                                                     
QUEUE_NAME      PRIO STATUS          MAX JL/U JL/P JL/H NJOBS  PEND   RUN  SUSP 
hp12             50   Open:Active    256    -    -    -   303    59   244     0 
elw              50   Open:Active     32    -    -    -    15     0    15     0 

[root@greentail ~]# bjobs -u all -m n23
JOBID   USER    STAT  QUEUE      FROM_HOST   EXEC_HOST   JOB_NAME   SUBMIT_TIME
895145  wzhang0 RUN   hp12       greentail   n23         *117-29-32 Apr 23 14:07
895214  wzhang0 RUN   hp12       greentail   n23         *378221-68 Apr 23 14:39
895215  wzhang0 RUN   hp12       greentail   n23         *378221-69 Apr 23 14:39
895216  wzhang0 RUN   hp12       greentail   n23         *378221-70 Apr 23 14:39

Usage: bswitch [-h] [-V] [-q queue_name] [-u user_name |-u all] [-m host_name]  
               [-J job_name] dest_queue [jobId |  "jobId[idxList]" ...]

[root@greentail ~]# bswitch -q hp12 elw 895145
elw: Host or host group is not used by the queue
[root@greentail ~]# bswitch elw 895145
elw: Host or host group is not used by the queue
[root@greentail ~]# bswitch -m n24 -q hp12 -u wzhang01 elw 895145
elw: Host or host group is not used by the queue

Original issue reported on code.google.com by geo...@marsel.is on 5 Jun 2013 at 1:42