Hi,
vm_slots problem is solved.
But if I submit a work like this:
Universe = vanilla
Executable = /usr/local/bin/om_model
Arguments= -r model_request.xml
Log = log/om_model.log.$(PROCESS)
transfer_input_files =
http://site.com/image.png
should_transfer_files=YES
when_to_transfer_output = ON_EXIT
Output = output/modello.xml
Error = log/om_model.err.log.$(PROCESS)
Requirements = VMType =?= "om.vm.type"
+VMAMI = "ami-65ee070"
Queue
When I type condor_q -better-analyze I have this output:
condor_q -better-analyze
-- Submitter:
hermes.pin.unifi.it : <
150.217.48.161:8080> :
hermes.pin.unifi.it
---
022.000: Run analysis summary. Of 1 machines,
1 are rejected by your job's requirements
0 reject your job because of their own requirements
0 match but are serving users with a better priority in the pool
0 match but reject the job for unknown reasons
0 match but will not currently preempt their existing job
0 match but are currently offline
0 are available to run your job
No successful match recorded.
Last failed match: Tue May 11 11:01:17 2010
Reason for last match failure: no match found
WARNING: Be advised:
No resources matched request's constraints
The Requirements expression for your job is:
( target.VMType is "om.vm.type" ) && ( target.Arch == "INTEL" ) &&
( target.OpSys == "LINUX" ) && ( target.Disk >= DiskUsage ) &&
( ( ( target.Memory * 1024 ) >= ImageSize ) &&
( ( RequestMemory * 1024 ) >= ImageSize ) ) &&
( target.HasFileTransfer )
Condition Machines Matched Suggestion
--------- ---------------- ----------
1 ( target.VMType is "om.vm.type" ) 0 MODIFY TO
undefined
2 ( ( ( 1024 * target.Memory ) >= 75 ) && ( ( 1024 *
ceiling(ifThenElse(JobVMMemory isnt undefined,JobVMMemory,
7.324218750000000E-02)) ) >= 75 ) )
0 REMOVE
3 ( target.Arch == "INTEL" ) 1
4 ( target.OpSys == "LINUX" ) 1
5 ( target.Disk >= 75 ) 1
6 ( target.HasFileTransfer ) 1
If I remove the line Requirements the job is succesfully executed.
In condor_config.local file of worker node I have set
VMType="om.vm.type".
If I type condor_status and condor_status -m I see the node that
CloudScheduler get up.
This is the output of cloud_status -m
VM ID VM TYPE STATUS CLUSTER
i-d90150b2 om.vm.type Running
aws.amazon.com
So the machine are not shut down.
What can I do?
Thanks.
On May 7, 7:05 pm, Patrick Armstrong <
patri...@uvic.ca> wrote:
> On 7-May-10, at 9:22 AM, Michael Paterson wrote:
>
> > This appears to be a bug with the EC2 code, Normally if you specify
> > 3 vm slots in your cluster it will boot a maximum of 3 VMs. (at
> > least under Nimbus, Patrick would know more about the EC2
> > implementation if this was intended or not)
>
> This was a bug, yes. It's been fixed in the dev branch on github in
> this commit:
http://github.com/hep-gc/cloud-scheduler/commit/98461024dd4e7304db197...