Michael Schurter
0f81725359
docs: node drain, eligibility; jobspec migrate
2018-03-30 16:18:36 -07:00
Michael Schurter
cfafd0bcb9
Add drainv2 to changelog
2018-03-30 16:05:12 -07:00
Alex Dadgar
3aa4ee9d75
Fix lost handling of not actually down nodes
2018-03-30 14:17:41 -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
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
Alex Dadgar
e8809f40dc
Test transistion from both infinite and a future deadline to force
2018-03-30 11:24:39 -07:00
Alex Dadgar
944bd8357c
changelog
2018-03-30 10:59:31 -07:00
Alex Dadgar
886f7feaef
Generic handling of server region errors
2018-03-30 10:57:32 -07:00
Alex Dadgar
32a673a7e1
Fix force deadline notification
2018-03-30 09:58:29 -07:00
Michael Schurter
257ba5937d
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
1aa415b0d8
Integration test
2018-03-30 09:33:23 -07:00
Preetha Appan
94a9cf6a19
Another e2e rescheduling test case
2018-03-29 20:48:55 -05:00
Alex Dadgar
dc03fab29b
Canonicalize migrate
2018-03-29 17:42:58 -07:00
Alex Dadgar
4766ea0490
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
e458ab9031
Merge branch 'master' into b-drain-batch
2018-03-29 17:10:34 -07:00
Preetha Appan
c9ab0bcbf8
more e2e rescheduling tests
2018-03-29 19:04:18 -05:00
Michael Schurter
2e188c8a8f
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
62e9553333
Merge pull request #4069 from hashicorp/f-hashealth
...
add HasHealth helper for nil checks
2018-03-29 17:03:20 -07:00
Alex Dadgar
301704091b
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
7d2aae2c11
test handleTaskGroup
2018-03-29 16:38:47 -07:00
Alex Dadgar
049a9213d2
Watch batch jobs
2018-03-29 16:07:51 -07:00
Preetha
9a732c4acb
Merge pull request #4071 from hashicorp/b-handle-missing-finishedat
...
handle missing finishedAt
2018-03-29 17:11:34 -05:00
Michael Lange
7d5615794d
Merge pull request #4081 from hashicorp/b-ui-service-breadcrumbs
...
UI: Service job breadcrumbs + errant open connections
2018-03-29 15:08:14 -07:00
Charlie Voiselle
acf49615ab
Corrected orphan token issue link
2018-03-29 17:47:22 -04:00
Michael Lange
a226021a05
Track multiple xhrs per URL rather than overriding
...
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Chelsea Komlo
2e3cb28cc5
Merge pull request #4013 from hashicorp/node-events-documentation
...
Add node events to documentation
2018-03-29 17:16:26 -04:00
Alex Dadgar
f12194328c
Integration test for batch complete case
2018-03-29 13:51:04 -07:00
Preetha
81d48fc7cf
Merge pull request #4079 from hashicorp/b-filter-desiredstop
...
Filter desired status stop allocs correctly
2018-03-29 15:36:22 -05:00
Michael Schurter
b357cc53f0
Merge pull request #4066 from hashicorp/f-block-drain-cli
...
drain: block cli until all allocs stop
2018-03-29 13:17:42 -07:00
Preetha Appan
d87e528059
rename skip->ignore and improve comment formatting
2018-03-29 15:11:10 -05:00
Alex Dadgar
54eff82359
Autocomplete command aliases
...
This PR allows aliased commands to be autocompleted but still filters
them from the help output.
2018-03-29 12:55:25 -07:00
Preetha Appan
49f951443c
remove unused
2018-03-29 14:42:21 -05:00
Preetha Appan
c8317532ff
Use time from task events if task state does not have FinishedAt set
2018-03-29 14:05:56 -05:00
Michael Lange
db4b81a348
Merge pull request #4067 from hashicorp/ui-upgrade-ember
...
UI: Upgrade Ember to LTS + fix job summary issues
2018-03-29 12:43:54 -06:00
Michael Lange
0cdfee7155
Merge pull request #4068 from hashicorp/b-ui-firefox-index-watching
...
UI: Check for a case-sensitive or lowercase header value
2018-03-29 12:41:31 -06:00
Alex Dadgar
b194f93f2f
Disallow Update stanza on Batch
2018-03-29 11:28:56 -07:00
Preetha Appan
38a7614776
Refactored for readability, pair programmed with @dadgar
2018-03-29 13:28:37 -05:00
Alex Dadgar
beee130a6e
Always capture the finish time
2018-03-29 11:27:22 -07:00
Chelsea Holland Komlo
33b3eca8b7
update timestamp and format api reference descriptions
2018-03-29 14:22:46 -04:00
Michael Schurter
ee3eddbac3
drain: block cli until all allocs stop
...
Before the drain CLI would block until the node was marked as completing
drain operations. While technically correct, it could lead operators (or
more likely: scripts) to shutdown drained nodes before all of its
allocations had *actually* terminated.
This change makes the CLI block until all allocations have terminated
(unless ignoring system jobs).
2018-03-29 10:56:09 -07:00
Chelsea Holland Komlo
48765d334c
add further driver info; driver name with subsystem
2018-03-29 13:34:30 -04:00
Chelsea Holland Komlo
baeadae990
Revert "omit driver key/val from details"
...
This reverts commit 74fc5543babc85e3fa16c048bce92e71826e53cc.
2018-03-29 12:49:46 -04:00
Chelsea Holland Komlo
d5a4f28868
update events in node api
2018-03-29 12:41:32 -04:00
Preetha Appan
ef3a43e8a8
More e2e tests
2018-03-29 11:35:45 -05:00
Chelsea Holland Komlo
a17f0d8875
omit driver key/val from details
2018-03-29 12:30:12 -04:00
Chelsea Holland Komlo
4019723cf5
add field reference for node events
2018-03-29 12:29:55 -04:00
Michael Schurter
91b5bb58d9
add HasHealth helper for nil checks
...
We performed the DeploymentStatus nil checks a couple different ways, so
hopefully this helper will consoldiate them and make it more clear what
the code is doing.
2018-03-29 09:29:19 -07:00
Chelsea Holland Komlo
0e534cae78
improve timestamp
2018-03-29 12:17:03 -04:00
Chelsea Holland Komlo
81cab6d21c
add node events to documentation
2018-03-29 12:17:03 -04:00