Commit graph

11204 commits

Author SHA1 Message Date
Chelsea Holland Komlo d3637825ef group similar functions; update comments
health check timeout should be 1 minute
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo e8743f1f7b remove do once block when creating a new docker client
only set cached connections upon no error
2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo d0d793fc23 use client with shorter timeouts for health checks 2018-04-05 16:19:02 -04:00
Chelsea Holland Komlo 5d1b2b77cb refactor docker clients method to be able to extend to creating new clients 2018-04-05 16:19:02 -04:00
Alex Dadgar 3c51d5a5ea Fix ineffectual assignment 2018-04-05 11:29:39 -07:00
Charlie Voiselle 4fc1c207f9 Updated Placement tables for consistency 2018-04-04 18:57:10 -04:00
Michael Schurter 37de94f109
Merge pull request #4104 from hashicorp/f-update-tf
tf: update services and add tools
2018-04-04 15:55:44 -07:00
Michael Schurter 58d2b8b7be tf: update services and add tools
Also use the latest method for installing Docker via:
https://docs.docker.com/install/linux/docker-ce/debian/
2018-04-04 15:05:49 -07:00
Preetha 6254d75eee
Merge pull request #4101 from hashicorp/b-rescheduling-edge-fixes
Fixes edge cases around timing/ task finish time being set more than once
2018-04-04 16:18:21 -05:00
Preetha Appan 12ba4c45da
remove outdated commented out test code 2018-04-04 15:03:24 -05:00
Preetha Appan 6363a6fb4d
Remove old comment 2018-04-04 15:01:48 -05:00
Preetha Appan 5e4525bd30
Moves setting finishedAt to the right place and adds two unit tests. 2018-04-04 14:38:15 -05:00
Michael Lange a87b0f298a
Merge pull request #4096 from hashicorp/d-ui-update-docs
Docs: Update UI API and UI Guide
2018-04-04 10:38:42 -07:00
Alex Dadgar d96a5e02a6
Merge pull request #4108 from hashicorp/t-flaky-jobs-api
Fix flaky api/jobs tests based on index != 0
2018-04-04 10:31:40 -07:00
Michael Schurter b1a90462a8
Merge pull request #4094 from hashicorp/b-drain-panic
drain: fix double-close panic on drain future
2018-04-04 10:31:14 -07:00
Alex Dadgar 9081201310
Merge pull request #4107 from hashicorp/t-flaky-prettytimediff
fix flaky pretty time test
2018-04-04 10:30:22 -07:00
Preetha Appan 7e17bc231f
remove unnecessary check and other fixes from code review 2018-04-04 07:35:20 -05:00
Alex Dadgar f1d3b47499 Don't assume the read index won't be zero if no jobs have been registered 2018-04-03 18:24:59 -07:00
Alex Dadgar 235a61cdd3 fix flaky pretty time test 2018-04-03 18:15:12 -07:00
Preetha Appan e6bbce3fa0
Add comment 2018-04-03 19:49:03 -05:00
Alex Dadgar 4c9c6decd3
Merge pull request #4100 from hashicorp/b-vault-no-auth
Improve handling of Vault errors
2018-04-03 17:23:43 -07:00
Alex Dadgar 258bdaf77a changelog 2018-04-03 17:23:25 -07:00
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
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