Commit Graph

16883 Commits

Author SHA1 Message Date
Drew Bailey
2dbcad3f45 fix tests, update changelog 2020-01-29 13:55:39 -05:00
Drew Bailey
fbd50806a1 Allow nomad monitor command to lookup server UUID
Allows addressing servers with nomad monitor using the servers name or
ID.

Also unifies logic for addressing servers for client_agent_endpoint
commands and makes addressing logic region aware.

rpc getServer test
2020-01-29 13:55:29 -05:00
Nick Ethier
8b6a8c02cc Merge pull request #7005 from shantanugadgil/patch-2
canary_meta will be part of 0.10.3 (not 0.10.2)
2020-01-29 00:18:31 -05:00
Shantanu Gadgil
cdef69a967 canary_meta will be part of 0.10.3 (not 0.10.2)
I assume this is just an oversight. I tried adding the `canary_meta` stanza to an existing v0.10.2 setup (Nomad v0.10.2 (0d2d6e3dc5) and it did show the error message:
```
* group: 'ggg', task: 'tttt', invalid key: canary_meta
```
2020-01-29 10:42:26 +05:30
Mahmood Ali
b789b507d1 Merge pull request #6922 from hashicorp/b-alloc-canoncalize
Handle Upgrades and Alloc.TaskResources modification
2020-01-28 15:12:41 -05:00
Mahmood Ali
eb0acc3301 Merge pull request #6935 from hashicorp/b-default-preemption-flag
scheduler: allow configuring default preemption for system scheduler
2020-01-28 15:11:06 -05:00
Mahmood Ali
99bc650ace tests: run_for is already a string 2020-01-28 14:58:57 -05:00
Mahmood Ali
31025d6cac Support customizing full scheduler config 2020-01-28 14:51:42 -05:00
Mahmood Ali
771c8ff6bb Merge pull request #6977 from hashicorp/b-leadership-flapping-2
Handle Nomad leadership flapping (attempt 2)
2020-01-28 11:40:41 -05:00
Mahmood Ali
438f98c0f3 client: canonicalize alloc.Job on restore
There is a case for always canonicalizing alloc.Job field when
canonicalizing the alloc.  I'm less certain of implications though, and
the job canonicalize hasn't changed for a long time.

Here, we special case client restore from database as it's probably the
most relevant part.  When receiving an alloc from RPC, the data should
be fresh enough.
2020-01-28 09:59:05 -05:00
Mahmood Ali
8ae03c32fa tests: defer closing shutdownCh 2020-01-28 09:53:48 -05:00
Mahmood Ali
94a75b4744 tweak leadership flapping log messages 2020-01-28 09:49:36 -05:00
Mahmood Ali
97f20bddf4 handle channel close signal
Always deliver last value then send close signal.
2020-01-28 09:44:34 -05:00
Mahmood Ali
09124007aa include test and address review comments 2020-01-28 09:06:52 -05:00
Mahmood Ali
c68947b781 docs: tweaks 2020-01-28 08:39:58 -05:00
Mahmood Ali
e343315738 Merge pull request #6997 from hashicorp/docs-bootstrap-reset
docs: reseting bootstrap doesn't invalidate token
2020-01-28 08:37:45 -05:00
Nick Ethier
3aec97753c Merge pull request #6690 from hashicorp/f-canary-meta
consul: add support for canary meta
2020-01-27 21:48:48 -05:00
Tim Gross
5e789c3c13 e2e: packer builds should not be public (#6998) 2020-01-27 16:28:25 -05:00
Mahmood Ali
27fa0f6790 Update website/source/guides/security/acl.html.markdown
Co-Authored-By: Tim Gross <tim@0x74696d.com>
2020-01-27 14:17:44 -05:00
Nick Ethier
d6dd9b61ef consul: fix var name from rebase 2020-01-27 14:00:19 -05:00
Mahmood Ali
2f88e11610 docs: reseting bootstrap doesn't invalidate token 2020-01-27 13:45:52 -05:00
Michael Schurter
b9394daab9 Merge pull request #6938 from hashicorp/e2e-vault
test: download Vault binaries for e2e test
2020-01-27 10:26:48 -08:00
Nick Ethier
330d24cb80 consul: fix var name from rebase 2020-01-27 12:55:52 -05:00
Michael Schurter
8be04c064a Merge pull request #6994 from hashicorp/docs-go
docs: add Go versioning policy
2020-01-27 08:19:33 -08:00
Michael Schurter
15ecd0ca66 docs: add Go versioning policy 2020-01-27 08:18:58 -08:00
Mahmood Ali
7892903e99 Merge pull request #6918 from hashicorp/vendor-godiscover-7698de1
Update go-discover library
2020-01-27 10:10:17 -05:00
Nick Ethier
018f0717e7 website: add canary meta to api docs 2020-01-27 09:53:30 -05:00
Nick Ethier
64f4e9e691 consul: add support for canary meta 2020-01-27 09:53:30 -05:00
Mahmood Ali
9fdc9dea4e Merge pull request #6950 from hashicorp/c-golang-1.12.15
Upgrade to using golang 1.12.15
2020-01-27 09:10:55 -05:00
Mahmood Ali
30af487eb3 fix comment 2020-01-27 09:10:38 -05:00
Michael Lange
fea44b0d8e Merge pull request #6819 from hashicorp/f-ui-node-drain
UI: Invoke Node Drains
2020-01-23 16:48:57 -08:00
Michael Lange
4793dc9afb Replace custom parse-duration implementation with an existing lib 2020-01-23 16:34:38 -08:00
Michael Lange
b9b6cda5b4 Update client detail test given change to the compositeStatus property 2020-01-23 16:34:38 -08:00
Michael Lange
40d65319e7 Tweak vertical spacing of headings 2020-01-23 16:34:37 -08:00
Michael Lange
deb2b310f6 Remove superfluous information from the client details ribbon 2020-01-23 16:34:36 -08:00
Michael Lange
66ea7c100f Increase the size and spacing of the toggle component 2020-01-23 16:34:35 -08:00
Michael Lange
4cc6702075 Use qunit-dom where applicable 2020-01-23 16:34:35 -08:00
Michael Lange
1d6799e5e5 Stack the popover menu under the subnav 2020-01-23 16:34:34 -08:00
Michael Lange
93eaaab77e New test coverage for the drain capabilities 2020-01-23 16:34:34 -08:00
Michael Lange
b11c82caaf Update existing tests 2020-01-23 16:34:33 -08:00
Michael Lange
413681e317 PopoverMenu integration tests 2020-01-23 16:34:32 -08:00
Michael Lange
8dadd3db46 Integration tests for the toggle component 2020-01-23 16:34:32 -08:00
Michael Lange
b03e1e6ee2 Update the client detail page object 2020-01-23 16:34:31 -08:00
Michael Lange
da941d2e44 Model the notification pattern as a page object component 2020-01-23 16:34:30 -08:00
Michael Lange
8f67e4ba25 Clear all notifications when resetting the controller 2020-01-23 16:34:29 -08:00
Michael Lange
3009ad3f38 Switch drain popover checkboxes for toggles 2020-01-23 16:34:29 -08:00
Michael Lange
a36290ddc4 Toggle bugs: focus and multiline alignment 2020-01-23 16:34:28 -08:00
Michael Lange
595f3c9b1a Swap the eligiblity checkbox out for a toggle 2020-01-23 16:34:27 -08:00
Michael Lange
2e39c0a529 New toggle component 2020-01-23 16:34:27 -08:00
Michael Lange
6a0a77c5ad Force drain button in the drain info box 2020-01-23 16:34:26 -08:00