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

Log a hint that constraints are not met for a task #621

Merged
merged 1 commit into from
Jan 28, 2016

Conversation

solarkennedy
Copy link
Contributor

I spent hours trying to debug a chronos job not working, but I was misled by this line because it said things like this:

WARN Insufficient resources remaining for task 'ct:1453417002396:0:paasta_canary sensu_canary git6c3833b5 config7708a392:', will append to queue. (Needed: [cpus: 0.1 mem: 256.0 disk: 256.0], Found: [cpus: 3.4499999990000014 mem: 22635.0 disk: 10000.0,cpus: 7.369999999999992 mem: 30363.0 disk: 10000.0,cpus: 2.5700000000000003 mem: 18051.0 disk: 10000.0,cpus: 7.349999999000012 mem: 3753.0...

And I was like, chronos man, looks like there are plenty of resources to me?

But it was a constraint issue.

This makes the error message hint at this, to benefit my future self?

@gkleiman
Copy link
Member

Thanks!

gkleiman added a commit that referenced this pull request Jan 28, 2016
Log a hint that constraints are not met for a task
@gkleiman gkleiman merged commit 94b281a into mesos:master Jan 28, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants