Commit graph

11387 commits

Author SHA1 Message Date
Alex Dadgar 345169a3cc
Merge pull request #4105 from hashicorp/b-flaky-deadline-tests
Fix flaky deadline tests
2018-04-03 17:21:38 -07:00
Alex Dadgar af1b185ce4 Fix flaky deadline tests 2018-04-03 16:51:57 -07:00
Michael Schurter ba6628a1b6 drain: return on first error
If one error is encountered it is unlikely any further attempts will
succeed, so fail fast.
2018-04-03 16:46:35 -07:00
Alex Dadgar cc17c48b18
Merge pull request #4103 from ozkatz/testutil-server-consul
Support custom Consul config for TestServer
2018-04-03 16:00:10 -07:00
Alex Dadgar 2b14371db5 Fix spelling 2018-04-03 15:58:03 -07:00
Alex Dadgar 73d2d8eb1a vendor vault/api to get fix from https://github.com/hashicorp/vault/pull/4258 2018-04-03 15:48:26 -07:00
Oz Katz 1b3eaf70ae
Support custom Consul config for TestServer
Adds a Consul field to the TestServerConfig that allows passing in non-default values for e.g. consul address.
This will allow the TestServer to integrate with Consul's testutil/TestServer.
2018-04-04 01:40:11 +03:00
Alex Dadgar ffdee640cf
Merge pull request #4102 from hashicorp/b-drain-upgrade
Correctly handle the upgrade path of a node being drained when applying Raft logs
2018-04-03 15:37:23 -07:00
Alex Dadgar 9617a13a2b Correctly handle the upgrade path of a node being drained when applying Raft logs 2018-04-03 15:32:44 -07:00
Preetha Appan 00537c739b
Fixes edge cases around timing and task finish time being set more than once 2018-04-03 16:34:59 -05:00
Alex Dadgar 58a3ec3fb2 Improve Vault error handling 2018-04-03 14:29:22 -07:00
Chelsea Holland Komlo ad4a11f3b4 display driver status only in verbose mode or if the driver is unhealthy 2018-04-03 11:23:12 -04:00
Michael Lange bf4d349a86 Update the UI guide to add instructions & screenshots for new features 2018-04-02 18:19:17 -07:00
Michael Lange cda9340567 Remove note about stats being requested from clients
This is no longer true 🎉
2018-04-02 18:19:17 -07:00
Michael Lange 3ef93afbbe Update existing UI guide to include information about live updating views 2018-04-02 18:19:17 -07:00
Michael Lange f09c2e9dad Update the UI routes in the API docs 2018-04-02 18:19:17 -07:00
Michael Lange f473d72ceb Remove an extraneous component of the service job page 2018-04-02 18:19:17 -07:00
Michael Schurter edc4891283 drain: improve tests and fix spelling
* transistion -> transition
* don't t.Fatal in goroutines
* don't mutate global state
2018-04-02 16:40:47 -07:00
Michael Schurter 6840becf46 drain: refactor batch_future into its own file
aka What If structs.go Wasn't So Big?
2018-04-02 16:40:06 -07:00
Michael Schurter 44a749a7cc drain: fix double-close panic on drain future 2018-04-02 16:39:18 -07:00
Rob Genova a78e29520b
Merge pull request #4093 from hashicorp/f-terraform-naming
Add name variable to AWS Terraform configs
2018-04-02 15:32:28 -07:00
Rob Genova 24140e17dd Add variable to enable unique naming of infra components 2018-03-31 18:01:21 +00:00
Alex Dadgar 95d209e06a fix typo 2018-03-30 16:55:45 -07:00
Alex Dadgar 86f9044676 remove generated files 2018-03-30 16:52:49 -07:00
Alex Dadgar 1ff1e86cbc
Release v0.8.0-rc1 2018-03-30 16:39:58 -07:00
Michael Lange 5da88eb451 Update changelog with UI changes for 0.8.0 2018-03-30 16:35:27 -07:00
Michael Schurter 3495df7da9
Merge pull request #4085 from hashicorp/docs-node-drain
Initial Node drain docs
2018-03-30 16:34:49 -07:00
Alex Dadgar 6871a068cb Fix prefix output of agent metadata 2018-03-30 16:27:18 -07:00
Michael Schurter 1f1a20eaed docs: grammar fix from pr 2018-03-30 16:24:19 -07:00
Michael Schurter ac8969ea38 docs: add migrate to example.nomad 2018-03-30 16:18:46 -07:00
Michael Schurter 0f81725359 docs: node drain, eligibility; jobspec migrate 2018-03-30 16:18:36 -07:00
Alex Dadgar af81349dbe Generated files 2018-03-30 16:14:40 -07:00
Alex Dadgar 9fcfbc5a88 Nomad v0.8.0-rc1 2018-03-30 16:12:38 -07:00
Alex Dadgar 23ec54a372
Merge pull request #4089 from hashicorp/tls-error-fix
Check for nil for RPC listener; prevent double closing of listener channel
2018-03-30 16:08:13 -07:00
Michael Schurter cfafd0bcb9 Add drainv2 to changelog 2018-03-30 16:05:12 -07:00
Michael Schurter e13d65f08a
Merge pull request #4090 from hashicorp/b-decolorify
cli: remove info color on monitored output
2018-03-30 15:54:23 -07:00
Michael Schurter 8e7870b590 cli: remove info color on monitored output 2018-03-30 15:51:48 -07:00
Alex Dadgar 7f28cfcdfe small cleanup 2018-03-30 15:49:56 -07:00
Michael Schurter 6b94029740
Merge pull request #4084 from hashicorp/f-drain-timestamps
drain: add timestamps to cli output
2018-03-30 15:07:43 -07:00
Michael Schurter b5aa71a517 cli: fix drain monitoring formating 2018-03-30 14:20:30 -07:00
Alex Dadgar 3aa4ee9d75 Fix lost handling of not actually down nodes 2018-03-30 14:17:41 -07:00
Chelsea Holland Komlo a77dd08dd9 prevent double close due to error in creating listener 2018-03-30 17:15:56 -04:00
Michael Schurter 7046db8818 cli: remove unreachable drain message 2018-03-30 14:15:12 -07:00
Chelsea Holland Komlo 402a026c88 add further error handling for rpc connection handling 2018-03-30 17:03:36 -04:00
Michael Schurter f912cd4272 cli: log if a node goes down during draining 2018-03-30 14:02:42 -07:00
Michael Schurter 06874d8b3d drain: fix monitor node index handling 2018-03-30 12:43:53 -07:00
Alex Dadgar bafcbe3b28
Merge pull request #4087 from hashicorp/b-server-members
Generic handling of server region errors
2018-03-30 12:35:41 -07:00
Michael Schurter 9fe310423a
Merge pull request #4070 from hashicorp/tests-fix-allocrunner
test: don't rely on alloc runner update count
2018-03-30 12:34:49 -07:00
Michael Schurter 7199a2b960 cli: differentiate normal output vs info 2018-03-30 11:42:11 -07:00
Alex Dadgar 8c07e99699
Merge pull request #4086 from hashicorp/b-force
Fix issue where force deadlines weren't respected
2018-03-30 11:26:14 -07:00