Description of problem: I've set Dynamic slots feature and it has modified slots requirements from: Requirements = ( START ) && ( IsValidCheckpointPlatform ) to: Requirements = ( START ) && ( IsValidCheckpointPlatform ) && ( WithinResourceLimits ) and WithinResourceLimits contains: WithinResourceLimits = ( ifThenElse(TARGET.RequestCpus =!= undefined,MY.Cpus > 0 && TARGET.RequestCpus <= MY.Cpus,1 <= MY.Cpus) && ifThenElse(TARGET.RequestMemory =!= undefined,MY.Memory > 0 && TARGET.RequestMemory <= MY.Memory,false) && ifThenElse(TARGET.RequestDisk =!= undefined,MY.Disk > 0 && TARGET.RequestDisk <= MY.Disk,false) ) So if job doesn't contain classads RequestDisk and RequestMemory it cannot be matched with any slots. Condor_submit adds these classads automatically but aviary doesn't. So they should be added explicitly to "extra" classads list. The same situation is with QMF submit without extra "Request*" classads. Version-Release number of selected component (if applicable): condor-7.6.1-0.4.el6.i686 How reproducible: 100% Steps to Reproduce: 1. install condor pool, aviary 2. set up Dynamic slots feature 3. try submit simple job via aviary and same job via condor_submit Actual results: Aviary scheduler and QMF scheduler don't add required classads into job classads as condor_submit does. For example "Request*" classads. Expected results: Aviary scheduler and QMF scheduler will add required classads into job classads as condor_submit does.
Fixed upstream at UW V7.6_branch b9a8b412a2 condor_submit-like defaults added in for: - DiskUsage=1 - ImageSize=0 - RequestCpus=1 - RequestDisk=DiskUsage - RequestMemory=ceiling(ifThenElse(JobVMMemory =!= undefined,JobVMMemory,ImageSize / 1024.000000))
Trevor, can you comment on the support from cumin for this? The QMF plugins don't augment the inbound submission across the board (e.g., Requirements are sent from the cumin client).
Looks like we have defaults for these: - DiskUsage=0 - RequestDisk, configurable default, out of the box is 1GB - RequestMemory for non-VM jobs, configurable default, out of the box is 512MB for VM jobs "ceiling(ifThenElse(JobVMMemory =!= undefined," + \ "JobVMMemory, " + \ "ImageSize / 1024.000000))" I don't see any defaults for ImageSize or RequestCpus set in cumin.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Aviary-submitted jobs included a minimal set of job attributes necessary to run in most universes. However, it was not a complete set for all slot configurations. Consequence: Aviary-submitted jobs would not match to startds configured for dynamic slot provisioning unless a user explicitly added the necessary attributes. Change: Aviary submissions now implicitly include the required attributes necessary for correct matching to dynamic provisioning slots. Result: Aviary-submitted jobs match and run on dynamic provisioning slots without additional user intervention.
Tested with condor-7.6.3-0.3 condor-aviary-7.6.3-0.3 on RHEL 5.7/6.1 x i386/x86_64 and it works. -> VERIFIED
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1249.html