IBM Support

Job submission fails when submit a job to use a host reservation

Question & Answer


Question

Why does job submission fail with the below error when submit a job to use a host reservation? The resource reservation specifies hosts that are not accessible from this queue. Job not submitted.

Cause

When submit a job to use a host reservation, LSF will use the reserved hosts as the target hosts in the job submission. After that,  LSF will check the target hosts against the hosts specified in the target queue.  If the target host is not specified in the queue, then the job submission will fail with the below error:

The resource reservation specifies hosts that are not accessible from this queue. Job not submitted.

One example of the failure cases:


//host group and queue configuration
Begin HostGroup
GROUP_NAME    GROUP_MEMBER      #GROUP_ADMIN # Key words
hg1          (host-6 host-7 )
hg2          (host-8 host-9 )
End HostGroup
Begin Queue
QUEUE_NAME   = test1
PRIORITY     = 40
FAIRSHARE    = USER_SHARES [ [default, 1] ]
EXCLUSIVE    = Y
HOSTS        = hg1
End Queue
Begin Queue
QUEUE_NAME   = test2
PRIORITY     = 40
r1m          = 0.8/2.5
FAIRSHARE    = USER_SHARES [ [default, 1] ]
HOSTS        = hg2
End Queue
//Reserve all 4 hosts in hg1 and hg2
# brsvadd -m "host-[6,7,8,9]" -unit host -n 4 -u host -N test -b 16:15 -e 17:00
Reservation test is created
# brsvs -w
RSVID TYPE  USER    NCPUS   RSV_HOSTS                                 TIME_WINDOW                                    
test  user  host 0 / 40  host-6.gss.platformlab.ibm.com:0 / 10   3/1/16/15-3/1/17/0
                            host-7.ibm.com:0 / 10
                            host-8.ibm.com:0 / 10
                            host-9.ibm.com:0 / 10
//Submit job to queue test1 (HOSTS=hg1) to use the host reservation test which has host-[6,7,8,9] reserved. Then job submission failed.
# bsub -q test1 -U test -n 1 sleep 10
test: The resource reservation specifies hosts that are not accessible from this queue. Job not submitted.

Answer

Parameter ENABLE_HOST_INTERSECTION=y in lsb.params will let the job submitted successfully.
Note: The job will be run only on the hosts specified by the queue.

[{"Product":{"code":"SSETD4","label":"Platform LSF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1024969