Commit Graph

19067 Commits

Author SHA1 Message Date
Michael Schurter
30c6df8efc build: update from Go 1.14.6 to Go 1.14.7
Go 1.14.7 fixes CVE-2020-16845 which is not believed to impact Nomad.
2020-08-06 11:50:29 -07:00
Tim Gross
acc1c0b751 csi: add unpublish RPC (#8572)
This changeset is plumbing for a `nomad volume detach` command that will be
reused by the volumewatcher claim GC as well.
2020-08-06 13:51:29 -04:00
Tim Gross
07ff0b94dc csi: retry controller client RPCs on next controller (#8561)
The documentation encourages operators to run multiple controller plugin
instances for HA, but the client RPCs don't take advantage of this by retrying
when the RPC fails in cases when the plugin is unavailable (because the node
has drained or the alloc has failed but we haven't received an updated
fingerprint yet).

This changeset tries all known controllers on ready nodes before giving up,
and adds tests that exercise the client RPC routing and retries.
2020-08-06 13:24:24 -04:00
Luiz Aoqui
c44df58c7c Merge pull request #8595 from hashicorp/docs/fix-connect-log-level
docs: fix Consul Connect log_level meta key
2020-08-06 11:00:09 -04:00
James Rasell
3e3140c177 Merge pull request #8574 from shishir-a412ed/f-ui-containerd-driver
Add nomad-driver-containerd to nomad UI docs.
2020-08-06 09:36:11 +02:00
Luiz Aoqui
4334647dd1 docs: fix Consul Connect log_level meta key 2020-08-05 17:01:03 -04:00
Buck Doyle
f5c8e2845f UI: Add truncation of rendered search results (#8571)
This closes #8549. Thanks to @optiz0r for the bug report. Having
the global search attempt to render every returned result is
obviously a mistake!
2020-08-05 15:58:44 -05:00
Shishir Mahajan
92642e286a Fix review comments. 2020-08-05 11:51:00 -07:00
Shishir Mahajan
46d7ea9968 Add nomad-driver-containerd to nomad UI docs. 2020-08-04 11:29:05 -07:00
Chris Baker
a2a727b02e Merge pull request #8583 from hashicorp/cgbaker-patch-1
Update CHANGELOG.md
2020-07-31 11:16:48 -05:00
Chris Baker
b0f8041add Update CHANGELOG.md
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2020-07-31 11:14:13 -05:00
Chris Baker
eb6e34f72d Update CHANGELOG.md
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2020-07-31 11:13:40 -05:00
Chris Baker
79b89070b8 Update CHANGELOG.md
label in changelog listed wrong issue number
2020-07-31 11:05:53 -05:00
Drew Bailey
fcb869b37b ignore VAULT_NAMESPACE (#8581)
VAULT_NAMESPACE in 0.12.1 and previous versions is already ignored. \n revert change that used it as a default since it will break oss users
2020-07-31 10:33:21 -04:00
Tim Gross
3b2f70bdb2 csi/e2e: add 2nd controller for node drain testing (#8573) 2020-07-31 08:03:49 -04:00
Buck Doyle
4c8083746c Add linting for acceptance accessibility audits (#8570)
This makes use of the PR I recently had merged to eslint-plugin-ember-a11y-testing
to add linting that ensures an accessibility audit is called at least once per acceptance
test file. When I have added linting for component tests, it can apply there too.

I added exclusions for the filesystem browser tests, which are covered by behaviors/fs
and for the search test which will involve significant overrides to Ember Power Select
default templates.
2020-07-30 12:40:05 -05:00
James Rasell
bb039f588c Merge pull request #8555 from hashicorp/remove-size-detail-from-docs-homepage
docs: remove Nomad binary size from README and website.
2020-07-30 19:20:23 +02:00
Mahmood Ali
e57c252e50 Handle Scaling Policies in Job Plan endpoint (#8567)
Fixes https://github.com/hashicorp/nomad/issues/8544

This PR fixes a bug where using `nomad job plan ...` always report no change if the submitted job contain scaling.

The issue has three contributing factors:
1. The plan endpoint doesn't populate the required scaling policy ID; unlike the job register endpoint
2. The plan endpoint suppresses errors on job insertion - the job insertion fails here, because the scaling policy is missing the required ID
3. The scheduler reports no update necessary when the relevant job isn't in store (because the insertion failed)

This PR fixes the first two factors.  Changing the scheduler to be more strict might make sense, but may violate some idempotency invariant or make the scheduler more brittle.
2020-07-30 12:27:36 -04:00
Michael Lange
ac7fed90fc Merge pull request #8569 from hashicorp/d/update-scale-request-params
Docs: Update Reason to Message in the job scale docs
2020-07-30 09:18:18 -07:00
Michael Lange
71c25b0f38 Merge pull request #8568 from hashicorp/b-ui/scale-post-message
Use the correct Message property instead of Reason in scale POST request
2020-07-30 09:13:15 -07:00
Michael Lange
8829123702 Update Reason to Message in the job scale docs 2020-07-30 09:06:08 -07:00
Michael Lange
45e1c652c6 Use the correct Message property instead of Reason in scale POST request
Also use a more informative default message (one that includes the new
count)
2020-07-30 08:43:15 -07:00
Michael Lange
1205387f83 Merge pull request #8563 from hashicorp/b-ui/missing-job-distribution-chart-texture
UI: Restore striped texture used in the job distribution bar
2020-07-30 08:20:48 -07:00
Buck Doyle
37178a4faf Add documentation for job name parameter (#8566) 2020-07-30 10:13:39 -05:00
Buck Doyle
281caa8927 Change capitalisation
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-07-30 10:09:47 -05:00
Buck Doyle
16fdf8f3ff Add documentation for job name parameter 2020-07-30 10:03:50 -05:00
Buck Doyle
2645932c72 Fix placement invocations (#8558) 2020-07-30 09:56:58 -05:00
Buck Doyle
11fb89d8d7 Change job search navigation to use id (#8560)
This fixes #8548. It was a significant oversight to use the
name instead of the id!
2020-07-30 09:10:08 -05:00
Tim Gross
a63c4fb39d e2e/csi: update EFS plugin test to use v1.0 (#8562) 2020-07-30 08:41:48 -04:00
Michael Lange
59d4531922 Remove now superfluous svg-patterns.js component file 2020-07-29 22:55:16 -07:00
Michael Lange
2f1106aca8 Move the svg-patterns template into the component dir 2020-07-29 22:54:30 -07:00
Michael Lange
de817be65d Merge pull request #8551 from hashicorp/f-ui/scaling-observability
UI: Scaling observability
2020-07-29 22:38:12 -07:00
Michael Lange
75aa9cebe3 Add scaling observability feature to the changelog 2020-07-29 22:27:54 -07:00
Michael Lange
a45f316b25 Add a tooltip to explain the count change icons 2020-07-29 19:30:00 -07:00
Michael Lange
f041e081c0 Fix scale and summary adapters to correct live reloading 2020-07-29 19:26:32 -07:00
Michael Lange
a5031913b0 Assert that the scale up/down indicator is not shown when the count is null 2020-07-29 19:26:32 -07:00
Michael Lange
b0830f5305 Integration tests for the scale-events-accordion component 2020-07-29 19:26:32 -07:00
Michael Lange
193dc7a697 Refactor scale events into their own component 2020-07-29 19:26:32 -07:00
Michael Lange
cc44bc41e5 Acceptance tests for scaling events 2020-07-29 19:07:24 -07:00
Michael Lange
9008694ab7 Make scale event properties more conditional and serialized correctly 2020-07-29 19:07:24 -07:00
Michael Lange
9c5a2b5dd5 Present scaling events on the job task group page 2020-07-29 19:07:24 -07:00
Michael Lange
4e01b2c35e Load and watch the job scale endpoint on the task group page 2020-07-29 19:07:24 -07:00
Michael Lange
9d43e66c99 Finish modeling behaviors within job scale events 2020-07-29 19:07:24 -07:00
Michael Lange
87a67023f9 New fluid height modifier for the json viewer 2020-07-29 19:07:24 -07:00
Michael Lange
5f2cdd17c1 Refactor job summary adapter to use the namespace ID base class 2020-07-29 19:07:24 -07:00
Michael Lange
5f2dee8225 Model job scaling and events in Mirage 2020-07-29 19:07:24 -07:00
Michael Lange
2f5cbbffa3 Data modeling for job scale and scale events 2020-07-29 19:07:24 -07:00
Michael Schurter
a85ab50f69 Merge pull request #8554 from hashicorp/docs-vault-revoke-batch
docs: add #8553 to changelog
2020-07-29 14:48:43 -07:00
Michael Schurter
5708237fe9 docs: add #8553 to changelog
Fix some capitalization too.
2020-07-29 14:33:20 -07:00
Seth Hoenig
d245908718 Merge pull request #8443 from hashicorp/x-cnb
consul/connect: add support for bridge networks with connect native tasks
2020-07-29 09:43:47 -05:00