[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Job submitted correctly but no slot matches, what am I doing wrong?



Hello VB,

It looks like you haven't configured your Execution Point properly. Your job is not finding a match for the VM_TYPE. This line:

    [5]           0  TARGET.VM_Type == MY.JobVMType

Your job is requesting a VM_TYPE of kvm. To check what the VM_TYPE your execution point is advertising use the condor_status command:

    condor_status ep1ext.sel -ad vm_type

Please adjust your configuration as described in:

    https://htcondor.readthedocs.io/en/latest/admin-manual/ep-policy-configuration.html#the-vm-universe

Once you set the VM_TYPE in the Exection Point's configuration, you can use condor_reconfig to reload the configuration and then check the result with condor_status. (You could also condor_restart (or systemctl restart condor) on the Execution Point.)

...Tim

On 12/4/23 15:43, Valerio Bellizzomi wrote:
Thanks Tim, I did install condor_vm-gahp package (with apt, it is a Debian machine) and now the output is as follow:

# condor_q -better-analyze


-- Schedd: t450.sel : <10.10.0.47:5367?...
The Requirements _expression_ for job 35.000 is

    ((Machine == "ep1ext.sel")) && (TARGET.Arch == "X86_64") && (TARGET.HasVM is true) && (TARGET.VM_Type == MY.JobVMType) && (TARGET.VM_AvailNum > 0) &&
    (TARGET.Disk >= RequestDisk) && (TARGET.TotalMemory >= MY.JobVMMemory) && (TARGET.VM_Memory >= MY.JobVMMemory) && (TARGET.Cpus >= RequestCpus) && (TARGET.HasFileTransfer)

Job 35.000 defines the following attributes:

    DiskUsage = 4250000
    JobVMMemory = 4096
    JobVMType = "kvm"
    RequestCpus = 2
    RequestDisk = DiskUsage

slot1@xxxxxxxxxx has the following attributes:

    TARGET.Arch = "X86_64"
    TARGET.Cpus = 12
    TARGET.Disk = 11651356
    TARGET.HasFileTransfer = true
    TARGET.HasVM = true
    TARGET.Machine = "ep1ext.sel"
    TARGET.TotalMemory = 32130

The Requirements _expression_ for job 35.000 reduces to these conditions:

         Slots
Step    Matched  Condition
-----  --------  ---------
[0]           1  Machine == "ep1ext.sel"
[1]           1  TARGET.Arch == "X86_64"
[3]           1  TARGET.HasVM is true
[5]           0  TARGET.VM_Type == MY.JobVMType
[7]           0  TARGET.VM_AvailNum > 0
[13]          0  TARGET.VM_Memory >= MY.JobVMMemory


035.000:  Run analysis summary ignoring user priority.  Of 1 machines,
      1 are rejected by your job's requirements
      0 reject your job because of their own requirements
      0 match and are already running your jobs
      0 match but are serving other users
      0 are able to run your job

WARNING:  Be advised:
   No machines matched the jobs's constraints




On Mon, 2023-12-04 at 15:16 -0600, Tim Theisen wrote:

Hello,

Please install the condor-vm-gahp package. Something like:

(I don't know which packaging system that your Linux machine is using.)

...Tim

On 12/4/23 15:07, Valerio Bellizzomi wrote:
Hi Tim,
the execute node is a Linux machine, I did a find but I have not found the condor_vm-gahp executable.
Must I install a separate package ?

VB

On Mon, 2023-12-04 at 14:45 -0600, Tim Theisen wrote:

Hello,

Have you installed the condor-vm-gahp package and followed the instructions for setting up VM Universe?

https://htcondor.readthedocs.io/en/latest/admin-manual/ep-policy-configuration.html#the-vm-universe

...Tim

On 12/4/23 14:04, Valerio Bellizzomi wrote:
# condor_submit ./vm_test.sub
Submitting job(s).
1 job(s) submitted to cluster 20.
# condor_q -better-analyze


-- Schedd: t450.sel : <10.10.0.47:30705?...
The Requirements _expression_ for job 20.000 is

    ((Machine == "ep1ext.sel")) && (TARGET.Arch == "X86_64") && (TARGET.HasVM is true) && (TARGET.VM_Type == MY.JobVMType) && (TARGET.VM_AvailNum > 0) &&
    (TARGET.Disk >= RequestDisk) && (TARGET.TotalMemory >= MY.JobVMMemory) && (TARGET.VM_Memory >= MY.JobVMMemory) && TARGET.VM_Networking && (TARGET.Cpus >= RequestCpus) &&
    (TARGET.HasFileTransfer)

Job 20.000 defines the following attributes:

    DiskUsage = 4250000
    JobVMMemory = 4096
    JobVMType = "kvm"
    RequestCpus = 2
    RequestDisk = DiskUsage

The Requirements _expression_ for job 20.000 reduces to these conditions:

         Slots
Step    Matched  Condition
-----  --------  ---------
[0]           0  Machine == "ep1ext.sel"
[1]           0  TARGET.Arch == "X86_64"
[3]           0  TARGET.HasVM is true
[5]           0  TARGET.VM_Type == MY.JobVMType
[7]           0  TARGET.VM_AvailNum > 0
[9]           0  TARGET.Disk >= RequestDisk
[11]          0  TARGET.TotalMemory >= MY.JobVMMemory
[13]          0  TARGET.VM_Memory >= MY.JobVMMemory
[15]          0  TARGET.VM_Networking
[17]          0  TARGET.Cpus >= RequestCpus
[19]          0  TARGET.HasFileTransfer

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to 
htcondor-users-request@xxxxxxxxxxx
 with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
-- 
Tim Theisen (he, him, his)
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736
-- 
Tim Theisen (he, him, his)
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736
-- 
Tim Theisen (he, him, his)
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736