Skip to content

Specifying --mesos_role breaks resource allocation. #487

@jnsaff

Description

@jnsaff

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 has role: "*".

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 the service,batch roles.

Version: chronos-2.3.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions