Commit Graph

21974 Commits

Author SHA1 Message Date
Luiz Aoqui
f8d723bfdf ui: upgrade d3-axis 1.0.12 -> 3.0.0 2021-11-05 18:09:11 -04:00
Luiz Aoqui
745058b04b ui: upgrade d3-array 2.11.0 -> 3.1.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui
73be54badc ui: upgrade core-js 3.0.0 -> 3.19.1 2021-11-05 18:09:11 -04:00
Luiz Aoqui
4290a9a5ef up: upgrade code-js 2.6.12 -> 3.0.0 2021-11-05 18:09:10 -04:00
Luiz Aoqui
6b3dbae50f ui: upgrade codemirror 5.59.2 -> 5.63.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui
d911c38395 ui: upgrade bulma 0.8.2 -> 0.9.3 2021-11-05 18:09:10 -04:00
Luiz Aoqui
8acfa33818 ui: upgrade bulma 0.7.5 -> 0.8.2 2021-11-05 18:09:09 -04:00
Luiz Aoqui
b4fb4b055d ui: upgrade bulma 0.6.1 -> 0.7.5 2021-11-05 18:09:09 -04:00
Luiz Aoqui
6a99ae87fb ui: update babel-loader 8.2.2 -> 8.2.3 2021-11-05 18:09:08 -04:00
Luiz Aoqui
8003bb0d7e ui: upgrade anser 1.4.10 -> 2.1.0 2021-11-05 18:09:08 -04:00
Luiz Aoqui
ac838f1646 upgrade @hashicorp/structure-icons 1.8.1 -> 1.9.2 2021-11-05 18:09:07 -04:00
Luiz Aoqui
3d39b0147b ui: upgrade @ember/optional-features 1.3.0 -> 2.0.0 2021-11-05 18:09:07 -04:00
Luiz Aoqui
fa2bd4a9fe ui: upgrade @babel/plugin-proposal-object-rest-spread @babel/plugin-transform-member-expression-literals 7.12.1 -> 7.16.0 2021-11-05 18:09:06 -04:00
Tim Gross
84888390f7 build: bump go version to 1.17.3 (#11461) 2021-11-05 15:34:24 -04:00
Jai
1e951ec38e Merge pull request #11447 from pangratz/upgrade-ember-data-and-model-fragments
Upgrade ember data to 3.24 and model fragments to 5.0.0-beta.2
2021-11-05 11:46:16 -04:00
James Rasell
2bb831357e Merge pull request #11426 from hashicorp/b-set-dereg-eval-priority-correctly
rpc: set the deregistration eval priority to the job priority.
2021-11-05 15:53:10 +01:00
James Rasell
8a8f119178 Merge pull request #11429 from hashicorp/b-set-scale-eval-priority-correctly
rpc: set the job scale eval priority to the job priority.
2021-11-05 15:52:31 +01:00
Alessandro De Blasis
9a5248b932 cli: show host_network in nomad status (#11432)
Enhance the CLI in order to return the host network in two flavors 
(default, verbose) of the `node status` command.

Fixes: #11223.
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
2021-11-05 09:02:46 -04:00
James Rasell
5ad8bb08d9 Merge pull request #11444 from hashicorp/b-update-apidocs-alloclist-sample-resp
docs: update API alloc list sample response to be current.
2021-11-05 08:09:23 +01:00
Florian Apolloner
b52f42db9a Added a -hcl2-strict flag to allow for lenient hcl variable parsing. (#11284)
Co-authored-by: James Rasell <jrasell@hashicorp.com>
2021-11-04 16:33:09 +01:00
pangratz
82726052b6 chore: upgrade ember-data to 3.24 2021-11-04 16:27:42 +01:00
pangratz
e885298566 chore: upgrade ember-data to 3.20 2021-11-04 16:27:42 +01:00
pangratz
c533e03153 chore: upgrade ember-data to 3.16 (and ember-data-model-fragments to 5.0.0-beta.2) 2021-11-04 16:27:42 +01:00
pangratz
7d175edcec fix: ensure reloading an allocation doesn't result in an infinite loop
`allocation.reload()` has differnt semantics for reloading, as it will
reload the record in the background and immediately resolve [1].

By using the stores' findRecord and specifying `backgroundReload:
false`, we make sure we await the response from the server and hereby
have the complete record once we continue in the code.

Using `allocation.reoad()` causes and infinite loop when we upgrade
ember-data to 3.16 (and model fragments to 5.0.0-beta.2).

[1] This is, unless `shouldBackgroundReload` on the adapter returns
false, but it's true by default.
2021-11-04 16:27:40 +01:00
James Rasell
166b0cfe47 Merge pull request #11165 from hashicorp/b-gh-11149
jobspec2: ensure consistent error handling between var-file & var.
2021-11-04 16:24:00 +01:00
pangratz
5c99b9cdc4 test: ensure we return a valid JSON response
An empty string is not a valid JSON response which is expected by this
endpoint.
2021-11-04 16:07:06 +01:00
James Rasell
9b5cadf4cc Merge pull request #11446 from hashicorp/b-fixup-11167-changelog
changelog: fixup entry extension for #11167
2021-11-04 15:53:58 +01:00
James Rasell
e8efbd8375 changelog: add entry for #11165 2021-11-04 15:35:02 +01:00
James Rasell
4c47168db7 changelog: fixup entry extension for #11167 2021-11-04 15:28:34 +01:00
Mahmood Ali
68bae12fd4 Raft Debugging Improvements (#11414) 2021-11-04 10:16:12 -04:00
James Rasell
8662dd8335 Merge pull request #11333 from hashicorp/assareh-patch-1
exactly one of ingress, terminating, or mesh must be configured
2021-11-04 11:13:04 +01:00
James Rasell
88d68e5548 docs: update API alloc list same response to be current. 2021-11-04 10:22:21 +01:00
Michael Schurter
04cab9dbec Merge pull request #11416 from hashicorp/f-rejected-info
core: bump rejected plans from debug -> info
2021-11-03 16:49:28 -07:00
Michael Schurter
ba7694855d Merge pull request #11334 from hashicorp/f-chroot-skip-allocdir
client: never embed alloc_dir in chroot
2021-11-03 16:48:09 -07:00
Jamie Finnigan
2df000b5b9 Remove example associated with deprecated nomad-spark (#11441) 2021-11-03 16:44:26 -07:00
Mike Nomitch
0f3938b9ac Merge pull request #11440 from sara-gawlinski/patch-1
Update alert-banner.js
2021-11-03 16:18:09 -07:00
sara-gawlinski
23fce2efda Update alert-banner.js
Add banner for Nomad Packs for Pack contest
2021-11-03 17:15:28 -05:00
Kevin Wang
dd218ff6c2 chore: react-subnav (#11437) 2021-11-03 17:06:38 -04:00
Charlie Voiselle
6efa55e7aa Parse job > group > consul block in HCL1 (#11423) 2021-11-03 13:49:32 -04:00
Luiz Aoqui
0e3cd604d2 docs: update podman driver documentation (#11300) 2021-11-03 11:07:44 -04:00
Luiz Aoqui
4e3d66cb17 add /s/port-plan-failure redirect and link to in in plan reject log message 2021-11-02 20:43:54 -04:00
Luiz Aoqui
89447fb42e Revert "Return SchedulerConfig instead of SchedulerConfigResponse struct (#10799)" (#11433) 2021-11-02 17:42:52 -04:00
James Rasell
394cf3ce46 Merge pull request #11425 from hashicorp/b-add-timeout-consul-docs
docs: document Consul timeout config parameter.
2021-11-02 15:28:34 +01:00
James Rasell
6fc22f423d Merge pull request #11430 from hashicorp/f-update-script-install-versions
scripts: install latest version of Consul and Vault.
2021-11-02 15:21:43 +01:00
James Rasell
bbf71af984 scripts: install latest version of Consul and Vault. 2021-11-02 13:37:03 +01:00
James Rasell
798e0402b8 changelog: add entry for #11429 2021-11-02 12:58:10 +01:00
James Rasell
99c8fae1d5 rpc: set the job scale eval priority to the job priority. 2021-11-02 12:57:53 +01:00
James Rasell
8b0e4766e6 changelog: add entry for #11426 2021-11-02 11:43:13 +01:00
James Rasell
8ba1444828 Merge pull request #11411 from hashicorp/f-gh-11406
cli: add json and template flag opts to acl bootstrap command.
2021-11-02 09:48:25 +01:00
James Rasell
e25c8a6aa7 rpc: set the deregistration eval priority to the job priority.
Previously when creating an eval for job deregistration, the eval
priority was set to the default value irregardless of the job
priority. In situations where an operator would want to deregister
a high priority job so they could re-register; the evaluation may
get blocked for some time on a busy cluster because of the
deregsiter priority.

If a job had a lower than default priority and was deregistered,
the deregister eval would get a priority higher than that of the
job. If we attempted to register another job with a higher
priority than this, but still below the default, the deregister
would be actioned before the register.

Both situations described above seem incorrect and unexpected from
a user prespective.

This fix modifies to behaviour to set the deregister eval priority
to that of the job, if available. Otherwise the default value is
still used.
2021-11-02 09:11:44 +01:00