eremetic-framework / eremetic

A Framework for Mesos to run one-off tasks in docker
Other
149 stars 35 forks source link

What does "Unable to find a matching offer" mean? #209

Closed javadevmtl closed 5 years ago

javadevmtl commented 5 years ago

I have the following in the logs

time="2018-10-31T16:24:08Z" level=warning msg="Unable to find a matching offer" task_id=eremetic-task.5b1834e2-1384-4af4-8051-0cd0c7c32049 
time="2018-10-31T16:24:09Z" level=warning msg="Unable to find a matching offer" task_id=eremetic-task.5b1834e2-1384-4af4-8051-0cd0c7c32049 
time="2018-10-31T16:24:09Z" level=warning msg="Unable to find a matching offer" task_id=eremetic-task.5b1834e2-1384-4af4-8051-0cd0c7c32049 

But when I look at:

http://<my-master-ip>/service/eremetic/task/eremetic-task.5b1834e2-1384-4af4-8051-0cd0c7c32049

The task is marked as finished. Does this mean it tried to 3 times to find resources for the task and then it finally did? the task requested 1.0cpu and 1024mb, and I have 12.0cpus and at least 128gb on my cluster.

alde commented 5 years ago

Yes, it's not very intelligent when it comes to launching tasks, but it'll keep trying until it succeeds or is killed.

javadevmtl commented 5 years ago

And by "it", you mean Apache Mesos scheduler?

alde commented 5 years ago

No, I mean eremetics logic to schedule

javadevmtl commented 5 years ago

Ok cool!