Skip to content
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

Chronos not respecting role parameter #886

Open
bdonnahue opened this issue Oct 21, 2018 · 1 comment
Open

Chronos not respecting role parameter #886

bdonnahue opened this issue Oct 21, 2018 · 1 comment

Comments

@bdonnahue
Copy link

bdonnahue commented Oct 21, 2018

I have a cluster with a single master node and a single agent node of type slave_public. I cannot get chronos to deploy because it does not respect the settings in the json file for the app. Specifically "acceptedResourceRoles":["slave_public"] as mentioned here: https://docs.mesosphere.com/1.7/usage/tutorials/public-app/. Despite this setting my logs still show the following:
Oct 21 18:58:25 MesosMaster marathon: [2018-10-21 18:58:25,280] #033[34mINFO #033[0;39m Offer [84b9fe28-fb90-4b2c-894f-99fb10b9ceb2-O172]. Considering resources with roles {*} without resident reservation labels. Not all basic resources satisfied: cpus NOT SATISFIED (0.5 > 0.0), mem NOT SATISFIED (1024.0 > 0.0) (mesosphere.mesos.ResourceMatcher$:marathon-akka.actor.default-dispatcher-56)
If the setting was being respected I believe the logs would show a different message " ... with roles {"slave_master"} ... "

If this behavior is there by design, I think the documentation should be updated to reflect the fact that this app only runs on a private cluster.

@gkleiman
Copy link
Member

@bdonnahue those look like Marathon logs, not Chronos logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants