-
Notifications
You must be signed in to change notification settings - Fork 2k
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
job update stanza #3878
Comments
@Garagoth could you try removing stagger from the update stanza above? That should fix things for you. We will remove that compatibility block in the next release, that should have been removed in 0.7.0 itself. |
Removing stagger does not change this, even worsens things. It is set by
default to 30s and sets min_healthy_time to that, ignoring my setting.
…On Tue, Feb 20, 2018 at 5:41 PM, Preetha ***@***.***> wrote:
@Garagoth <https://github.com/garagoth> could you try removing stagger
from the update stanza above? That should fix things for you.
We will remove that compatibility block in the next release, that should
have been removed in 0.7.0 itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3878 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA36wYApz9bfi7aqt4h7OXYovKUZMDjYks5tWvWugaJpZM4SIi6t>
.
|
This was addressed with #3979 |
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. |
Nomad version
0.7.1
Operating system and Environment details
CentOS 7
Issue
Placing an update stanza on job level and not adding it on group level emits a message "A best effort conversion to new update stanza introduced in v0.6.0 applied. Please update upgrade stanza before v0.7.0."
Taken from nomad/nomad/structs/structs.go, line 1657 (master branch):
Stagger is set by default to 30s and just setting max_parallel will cause jobHasOldUpdate to be set to true.
Then it sets min healthy time to value of stagger, ignoring my value set in min_healthy_time.
Setting stagger to 0 is not allowed.
Maybe just see it there is MinHealthyTime set on j.Update and if it is consider it to be a new syntax?
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: