-
Notifications
You must be signed in to change notification settings - Fork 149
up/downscaling broken #302
Comments
It works for me, though the job need to be submitted through the recent nomad cli to work |
Nope, it's not fixed. Try posting a job without an |
It works for me on 0.5, 0.6.0 and 0.6.2 with latest hashi-ui Did you try on 0.17.0 ? |
Can you try to test with #304 ? there should be a docker image build for the PR in a few minutes |
@jippi tested but unfortunately doesn't work. I think an ugly hack is required to check if
|
According to Nomad's changelog: |
This should however be fixed upstream but haven't created an issue of it yet. |
I don't want to get in a habit of working around Nomad bugs in hashi-ui, so would recommend pushing it out to Nomad for a fix, asap, so it can be included in 0.6.3 :) |
Logged an issue upstream ^ |
It seems Nomad 0.6 introduced differences between what is rendered by the CLI with
nomad run -output job.hcl
and what is retrieved by inspecting the API. The latter has an incorrect representation of the job which leads to the following error if noupdate { }
stanza is configured:The API returns the following update stanza:
while the CLI renders this:
This seems to me like a bug in the Nomad API but posting it here as it has broken the hashi-ui functionality. Current workaround for me is providing a
max_parallel
but this has the side effect of introducing CLI rendered defaults for stagger, health_check, min_healthy_time and healthy_deadline.The text was updated successfully, but these errors were encountered: