Alex Dadgar
8a80a5f7c5
Version bump and generated files
2018-04-12 16:21:50 -07:00
Alex Dadgar
725f36a7ca
Non-verbose driver formatting and don't display non-detected
2018-04-12 11:26:00 -07:00
Preetha Appan
a74865de5f
Add link to autopilot guide in operator autopilot CLI help text
2018-04-12 09:02:32 -05:00
Preetha
f52b9fa5b6
Merge pull request #4136 from hashicorp/f-eval-status-show-waituntil
...
Show wait until value in eval status if it is set
2018-04-11 14:49:29 -05:00
Preetha Appan
2ec37d3e61
Show wait until value in eval status if it is set
2018-04-11 14:01:42 -05:00
Preetha
06412a5b1a
Merge pull request #4127 from hashicorp/b-autopilot-removepeer-fixes
...
Add node id persistence
2018-04-10 16:05:00 -05:00
Preetha Appan
f8427c847d
minor code review fix
2018-04-10 15:33:01 -05:00
Preetha Appan
ffb622fbfd
Dev mode should never persist nodeid
2018-04-10 12:34:14 -05:00
Preetha Appan
1ba9feb3b7
Lint fixes
2018-04-10 11:22:16 -05:00
Preetha Appan
86ced8aef2
Use preconfigured nodeID if there isn't a persisted node ID, and persist it if its not persisted.
2018-04-10 08:47:33 -05:00
Alex Dadgar
5194f5d6c7
WIP: Not setting node id properlperly
2018-04-09 18:01:28 -07:00
Michael Schurter
1b1a8d44fd
cli: remove outdated hints
...
Hints no longer apply in the 0.8 Node RPC world.
2018-04-09 12:09:47 -07:00
Chelsea Holland Komlo
bf89de322f
correctly initialize array length
2018-04-09 10:51:08 -04:00
Alex Dadgar
66e1763107
Fix eval status output for alloc failure
2018-04-06 17:16:43 -07:00
Chelsea Komlo
8ba083d31e
Merge pull request #4098 from hashicorp/f-driver-health-ux-improvements
...
Driver health UX improvements
2018-04-05 18:51:00 -04:00
Chelsea Holland Komlo
3c9a149cf3
remove stray comma
2018-04-05 18:20:52 -04:00
Chelsea Holland Komlo
927ddd7ff1
Display truncated driver list in non-verbose mode
...
separate drivers by commas
2018-04-05 14:25:59 -04:00
Alex Dadgar
8f47469f5c
fix flaky pretty time test
2018-04-03 18:15:12 -07:00
Chelsea Holland Komlo
7679ba758e
display driver status only in verbose mode or if the driver is unhealthy
2018-04-03 11:23:12 -04: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
0a4f34009d
docs: add migrate to example.nomad
2018-03-30 16:18:46 -07:00
Alex Dadgar
702a3be41e
Generated files
2018-03-30 16:14:40 -07:00
Michael Schurter
56997eac67
cli: remove info color on monitored output
2018-03-30 15:51:48 -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
Michael Schurter
7ff790bc7d
cli: differentiate normal output vs info
2018-03-30 11:42:11 -07:00
Michael Schurter
55b98ee299
cli: add color to drain output
2018-03-30 11:15:12 -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
Chelsea Komlo
4029e5c915
Merge pull request #4013 from hashicorp/node-events-documentation
...
Add node events to documentation
2018-03-29 17:16:26 -04:00
Michael Schurter
4cefb6f06a
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
43f11cc930
add further driver info; driver name with subsystem
2018-03-29 13:34:30 -04:00
Chelsea Holland Komlo
0c6b896707
Revert "omit driver key/val from details"
...
This reverts commit 74fc5543ba .
2018-03-29 12:49:46 -04:00
Chelsea Holland Komlo
74fc5543ba
omit driver key/val from details
2018-03-29 12:30:12 -04:00
Chelsea Komlo
8294cd6684
Merge pull request #4046 from hashicorp/tls-same-file-reload
...
Check file contents when determining if agent should reload TLS confi…
2018-03-29 10:51:32 -04:00
Chelsea Holland Komlo
5d866366a7
make check fix
2018-03-28 19:11:51 -04:00
Chelsea Holland Komlo
e8af281dd3
return error when setting checksum; don't reload
2018-03-28 18:15:50 -04:00
Chelsea Holland Komlo
074683c616
output warning for error in creating TLS checksum
2018-03-28 17:44:23 -04:00
Chelsea Komlo
b26031b90d
Merge pull request #4057 from hashicorp/specify-docker-msg
...
Specify docker name in driver health messages
2018-03-28 13:32:36 -04:00
Chelsea Holland Komlo
065133d716
check for nil, remove unnecessary set checksum call
2018-03-28 13:29:53 -04:00
Preetha
6f870b8bd7
Merge pull request #4052 from hashicorp/f-specify-total-memory
...
Allow to specify total memory on agent configuration
2018-03-28 12:28:41 -05:00
Chelsea Holland Komlo
2fc02c1832
fix up test for file content changes
2018-03-28 13:18:13 -04:00
Preetha Appan
09fa5f5850
Fix compilation fail in test after rebase
2018-03-28 11:54:34 -05:00
Chelsea Holland Komlo
9645d5120e
reformat message
2018-03-28 12:28:16 -04:00
Chelsea Holland Komlo
cdfeac13a1
specify driver health messages
2018-03-28 11:35:21 -04:00
Chelsea Holland Komlo
6e317fa6c6
set TLS checksum when parsing config
...
Refactor checksum comparison, always set checksum if it is empty
2018-03-28 09:56:11 -04:00
Michael Schurter
1b81bfb657
Merge pull request #4053 from hashicorp/b-drain-sys-jobs-2
...
drain: fix draining of system jobs
2018-03-27 16:26:45 -07:00
Alex Dadgar
400cbcf128
Create evals for system jobs when drain is unset
...
This PR creates evals for system jobs when:
* Drain is unset and mark eligible is true
* Eligibility is restored to the node
2018-03-27 15:53:24 -07:00
Michael Schurter
c032d4da65
drain: give cli more time before exiting
...
May want to bump this a bit more as the drain often completes amidst a
flurry of alloc updates.
2018-03-27 14:24:02 -07:00