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

Time to time nomad doesn't launch system jobs #1412

Closed
tantra35 opened this issue Jul 12, 2016 · 3 comments · Fixed by #1456
Closed

Time to time nomad doesn't launch system jobs #1412

tantra35 opened this issue Jul 12, 2016 · 3 comments · Fixed by #1456

Comments

@tantra35
Copy link
Contributor

tantra35 commented Jul 12, 2016

Nomad version

Nomad v0.4.0

Operating system and Environment details

Linux ip-172-30-0-199 4.4.0-22-generic #40~14.04.1-Ubuntu SMP Fri May 13 17:27:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Issue

We have Amazon autoscale group, and want that every time, when launched new instance some jobs begin work. So we create job with system sheduler. But time to time nomad doesn't launch anything, when newly created amazon instance first launch. As our workaround we use node-drain, every time at instance launch(inti.d script),

nomad node-drain -enable -yes -self
sleep 3
nomad node-drain -disable -yes -self

after which nomad begin place system task well. This happens also on nomad 0.3.2

@tantra35
Copy link
Contributor Author

Little addon. Seems that nomad launching system jobs, but make it time to time very long. I mean that when instance starts, nomad may frustrate 7-10 minutes before launching anything

@tantra35
Copy link
Contributor Author

tantra35 commented Jul 24, 2016

Again little addon, we found that simple nomad node-drain -disable -yes -self enough

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants