-
Notifications
You must be signed in to change notification settings - Fork 528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifying --mesos_role breaks resource allocation. #487
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are trying to give different weights to Marathon and Chronos and running into trouble with Chronos. We have two roles specified in mesos:
service,batch
. Marathon is getting service and it works as expected. However when we start chronos with--mesos_role batch
no Chronos jobs get executed anymore.When looking at the mesos master
state.json
we see that Marathon has set it's role correctly however Chronos hasrole: "*"
.In Chronos logs we see offers being declined and tasks complaining that there are not enough resources for them:
Found: [cpus: 0.0 mem: 0.0 disk: 0.0]
.When we remove the
mesos_role
from Chronos everything works again (even while mesos-master is still configured with theservice,batch
roles.Version: chronos-2.3.4
The text was updated successfully, but these errors were encountered: