Commit Graph

11165 Commits

Author SHA1 Message Date
Alex Dadgar
f4909fd1cc 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
dd2eeccd96 Correctly handle the upgrade path of a node being drained when applying Raft logs 2018-04-03 15:32:44 -07:00
Rob Genova
3dcdda7ac2 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
d3686371c4 Add variable to enable unique naming of infra components 2018-03-31 18:01:21 +00:00
Alex Dadgar
b4bb89d6da fix typo 2018-03-30 16:55:45 -07:00
Alex Dadgar
1a66631eff remove generated files 2018-03-30 16:52:49 -07:00
Alex Dadgar
f67da0b14a Release v0.8.0-rc1 2018-03-30 16:39:58 -07:00
Michael Lange
40ab90e22c Update changelog with UI changes for 0.8.0 2018-03-30 16:35:27 -07:00
Michael Schurter
a3849c001c Merge pull request #4085 from hashicorp/docs-node-drain
Initial Node drain docs
2018-03-30 16:34:49 -07:00
Alex Dadgar
c53becf596 Fix prefix output of agent metadata 2018-03-30 16:27:18 -07:00
Michael Schurter
cd721ba654 docs: grammar fix from pr 2018-03-30 16:24:19 -07:00
Michael Schurter
0a4f34009d docs: add migrate to example.nomad 2018-03-30 16:18:46 -07:00
Michael Schurter
ded8ad4cb9 docs: node drain, eligibility; jobspec migrate 2018-03-30 16:18:36 -07:00
Alex Dadgar
702a3be41e Generated files 2018-03-30 16:14:40 -07:00
Alex Dadgar
0d31cf335c Nomad v0.8.0-rc1 2018-03-30 16:12:38 -07:00
Alex Dadgar
98210966cc 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
6cfb4786d4 Add drainv2 to changelog 2018-03-30 16:05:12 -07:00
Michael Schurter
2eb1abc06a 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
56997eac67 cli: remove info color on monitored output 2018-03-30 15:51:48 -07:00
Alex Dadgar
fec5b6d871 small cleanup 2018-03-30 15:49:56 -07:00
Michael Schurter
1bee190eb4 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
6fcfee7b92 cli: fix drain monitoring formating 2018-03-30 14:20:30 -07:00
Alex Dadgar
05d183bbab Fix lost handling of not actually down nodes 2018-03-30 14:17:41 -07:00
Chelsea Holland Komlo
76fabecaeb prevent double close due to error in creating listener 2018-03-30 17:15:56 -04:00
Michael Schurter
2c1f24c1ce cli: remove unreachable drain message 2018-03-30 14:15:12 -07:00
Chelsea Holland Komlo
299d64c69f add further error handling for rpc connection handling 2018-03-30 17:03:36 -04:00
Michael Schurter
6dd601791c cli: log if a node goes down during draining 2018-03-30 14:02:42 -07:00
Michael Schurter
482f0b9fc7 drain: fix monitor node index handling 2018-03-30 12:43:53 -07:00
Alex Dadgar
d6813306d9 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
3e53517132 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
7ff790bc7d cli: differentiate normal output vs info 2018-03-30 11:42:11 -07:00
Alex Dadgar
1188529acf Merge pull request #4086 from hashicorp/b-force
Fix issue where force deadlines weren't respected
2018-03-30 11:26:14 -07:00
Alex Dadgar
aa7df6ab5b Test transistion from both infinite and a future deadline to force 2018-03-30 11:24:39 -07:00
Michael Schurter
55b98ee299 cli: add color to drain output 2018-03-30 11:15:12 -07:00
Alex Dadgar
6cf7b733cd changelog 2018-03-30 10:59:31 -07:00
Alex Dadgar
9f99b9d3d7 Generic handling of server region errors 2018-03-30 10:57:32 -07:00
Michael Schurter
4d22c08b09 drain: add timestamps to cli output
Also toggle eligibility output based on value
2018-03-30 10:26:43 -07:00
Michael Schurter
efbaf2cc2d drain: fix cli blocking when allocs already stopped 2018-03-30 10:18:14 -07:00
Alex Dadgar
c0bbb136a8 Fix force deadline notification 2018-03-30 09:58:29 -07:00
Michael Schurter
2ee0426985 test: don't rely on alloc runner update count
We were incorrectly relying on the count of alloc updates in a number of
tests. Since alloc updates are async, their number is non-determinstic
and largely meaningless.

This should fix quite a few flaky tests in Travis and prevent future
mistaken assumptions in tests.
2018-03-30 09:34:33 -07:00
Alex Dadgar
91749a92b6 Integration test 2018-03-30 09:33:23 -07:00
Preetha Appan
97d39b158f Another e2e rescheduling test case 2018-03-29 20:48:55 -05:00
Alex Dadgar
645aea2d75 Canonicalize migrate 2018-03-29 17:42:58 -07:00
Alex Dadgar
80072d89cf Merge pull request #4083 from hashicorp/b-drain-batch
Unset drain when final batch allocs finish
2018-03-29 17:11:02 -07:00
Alex Dadgar
2a628c1dcb Merge branch 'master' into b-drain-batch 2018-03-29 17:10:34 -07:00
Preetha Appan
9a5b63c1c4 more e2e rescheduling tests 2018-03-29 19:04:18 -05:00
Michael Schurter
8630e8296a Merge pull request #4055 from hashicorp/docs-4008-ports
docs: clarify service.port depends on address_mode
2018-03-29 17:03:38 -07:00
Michael Schurter
53a504c69c Merge pull request #4069 from hashicorp/f-hashealth
add HasHealth helper for nil checks
2018-03-29 17:03:20 -07:00
Alex Dadgar
223c9c7948 Handle upgrade where Node doesn't have eligiblity
This PR handles upgrading a node that has no scheduling eligiblity set.
2018-03-29 16:52:23 -07:00
Alex Dadgar
4d212932a5 test handleTaskGroup 2018-03-29 16:38:47 -07:00