Jin Lee
0bb3364521
update API docs for /regions endpoint
2017-11-23 09:24:40 -08:00
Preetha
08817ff27c
Merge pull request #3566 from hashicorp/f-set-modtime-http-endpoints
...
Populate DisplayMessage in various http endpoints
2017-11-18 09:31:24 -06:00
Preetha
a474c368dc
Shorter comment for SetEventDisplayMessage
2017-11-18 09:30:50 -06:00
Preetha
5b082fcd9b
Update CHANGELOG.md
2017-11-17 15:31:25 -06:00
Preetha
18fd58e90b
Update CHANGELOG.md
2017-11-17 15:10:01 -06:00
Preetha Appan
bbeb658831
Populate DisplayMessage in various http endpoints that return allocations, plus unit tests.
2017-11-17 14:53:26 -06:00
Preetha
4ed19eaf03
Update CHANGELOG.md
2017-11-17 14:35:54 -06:00
Preetha
7bf4d34668
Merge pull request #3558 from hashicorp/b-nomad-validate-with-defaults
...
Make validate command ignore environment variables in service name
2017-11-17 14:31:42 -06:00
Preetha
800f5cbb17
Remove documentation around service name validation
2017-11-17 14:31:27 -06:00
Alex Dadgar
c446e4c987
changelog
2017-11-17 12:10:15 -08:00
Alex Dadgar
0d1878f965
changelog
2017-11-17 10:35:12 -08:00
Alex Dadgar
ea0eba6e46
Merge pull request #3559 from hashicorp/b-metrics
...
Don't emit metrics for non-running tasks
2017-11-17 10:33:23 -08:00
Preetha Appan
f75e4c18ce
Change error message to use original name for clarity, rather than the name after substituting env vars with placeholder.
2017-11-17 08:44:18 -06:00
Preetha
24f96325b0
Rewording for clarity
2017-11-17 08:38:55 -06:00
Michael Schurter
96f56cebf8
Merge pull request #3562 from hashicorp/b-3561-rkt-rm
...
Remove rkt pods when exiting
2017-11-16 17:30:21 -08:00
Michael Schurter
d1548863d4
Merge pull request #3551 from hashicorp/b-3419-docker-409-bug
...
Fix Docker name conflict bug by updating dockerclient
2017-11-16 16:38:54 -08:00
Michael Schurter
9929ac2382
Improve rktRemove error message
2017-11-16 15:45:14 -08:00
Preetha Appan
436a5f77cb
Move service validation explanation doc
2017-11-16 16:58:37 -06:00
Michael Schurter
ce3fbb62b7
Remove rkt pods when exiting
...
Fixes #3561
2017-11-16 14:33:44 -08:00
Charlie Voiselle
24c8d2c439
Merge pull request #3556 from angrycub/f-fingerprint-log-level
...
Dropped loglevel for AWS fingerprinter env read misses to DEBUG
2017-11-16 16:27:25 -05:00
Charlie Voiselle
83aa6251c1
Lowered to DEBUG from AD feedback
2017-11-16 14:13:03 -05:00
Alex Dadgar
85b27621ed
Vendor in fixed go-metrics
2017-11-16 10:42:49 -08:00
Preetha Appan
c0e79a164d
Fix flaky test TestPrettyTimeDiff
2017-11-16 09:48:14 -06:00
Preetha
800c6e346d
Update validate.html.md.erb
2017-11-16 07:56:26 -06:00
Preetha
38798c8c54
Adding some more explanatory text around validating
2017-11-15 16:48:16 -06:00
Preetha Appan
f630ae32ff
Update documentation about validation logic for service names.
2017-11-15 15:42:03 -06:00
Preetha Appan
05d52b621c
Changes service name validation logic to ignore any environment variables first.
2017-11-15 15:35:43 -06:00
Alex Dadgar
d427ab70c1
Only publish metric when the task is running and dev mode publishes metrics
2017-11-15 13:21:06 -08:00
Alex Dadgar
167c81ab6c
Merge pull request #3546 from hashicorp/f-heuristic
...
Better interface selection heuristic
2017-11-15 12:51:21 -08:00
Alex Dadgar
6a434bcc6e
changelog
2017-11-15 12:50:49 -08:00
Alex Dadgar
8ebca4b571
use revised wording
2017-11-15 12:49:22 -08:00
Alex Dadgar
00557afb81
Use interface attached to default route
2017-11-15 11:32:32 -08:00
Michael Schurter
0cdc12bb9c
Merge pull request #3502 from hashicorp/b-3420-restore-dead-leader
...
Handle leader task being dead in RestoreState
2017-11-15 11:21:14 -08:00
Michael Schurter
0de0e1d342
Handle leader task being dead in RestoreState
...
Fixes the panic mentioned in
https://github.com/hashicorp/nomad/issues/3420#issuecomment-341666932
While a leader task dying serially stops all follower tasks, the
synchronizing of state is asynchrnous. Nomad can shutdown before all
follower tasks have updated their state to dead thus saving the state
necessary to hit this panic: *have a non-terminal alloc with a dead
leader.*
The actual fix is a simple nil check to not assume non-terminal allocs
leader's have a TaskRunner.
2017-11-15 10:36:13 -08:00
Charlie Voiselle
3a88718b2e
Dropped loglevel for AWS fingerprinter env reads
...
Certain environments use WARN for serious logging; however, it's very
possible to have machines without some of the fingerprinted keys
(public-ipv4 and public-hostname specifcally). Setting log level to
INFO seems more consistent with this possibility.
2017-11-15 18:20:59 +00:00
Preetha Appan
5d58f7b319
Update Changelog
2017-11-15 08:28:27 -06:00
Preetha Appan
3d61c3bece
Update CHANGELOG.md to mention consul template version
2017-11-15 08:25:57 -06:00
Preetha
ab3712d367
Merge pull request #3550 from hashicorp/b-pretty-diff-0s
...
Handle edge case when allocation create/modify time difference is les…
2017-11-14 20:33:05 -06:00
Preetha Appan
9e5f12f8b4
Declare time.Now once to prevent flakiness
2017-11-14 20:32:02 -06:00
Chelsea Komlo
fa9fd4422c
Nomad agent reload TLS configuration on SIGHUP ( #3479 )
...
* Allow server TLS configuration to be reloaded via SIGHUP
* dynamic tls reloading for nomad agents
* code cleanup and refactoring
* ensure keyloader is initialized, add comments
* allow downgrading from TLS
* initalize keyloader if necessary
* integration test for tls reload
* fix up test to assert success on reloaded TLS configuration
* failure in loading a new TLS config should remain at current
Reload only the config if agent is already using TLS
* reload agent configuration before specific server/client
lock keyloader before loading/caching a new certificate
* introduce a get-or-set method for keyloader
* fixups from code review
* fix up linting errors
* fixups from code review
* add lock for config updates; improve copy of tls config
* GetCertificate only reloads certificates dynamically for the server
* config updates/copies should be on agent
* improve http integration test
* simplify agent reloading storing a local copy of config
* reuse the same keyloader when reloading
* Test that server and client get reloaded but keep keyloader
* Keyloader exposes GetClientCertificate as well for outgoing connections
* Fix spelling
* correct changelog style
2017-11-14 17:53:23 -08:00
Michael Schurter
5f0f349a11
Update go-dockerclient to fix #3419
...
Includes this workaround:
99ba9a9ff4/container.go (L634-L637)
2017-11-14 15:57:09 -08:00
Michael Schurter
b37a03a458
Add a test demonstrating the bug
...
Fails on Docker 17.09, passes on Docker 17.06 and earlier
2017-11-14 15:25:52 -08:00
Alex Dadgar
e6df21b621
bump go
2017-11-14 15:06:41 -08:00
Preetha Appan
bc833c9c8c
Handle edge case when allocation create/modify time difference is less than a second ago.
2017-11-14 16:40:34 -06:00
Michael Lange
4de2ad3866
Merge pull request #3472 from hashicorp/f-ui-task-hierarchy
...
Task route hierarchy in the UI
2017-11-14 11:15:32 -08:00
Michael Lange
b3dc7364c5
Remold the allocation detail and task detail pages
...
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
d820c72142
Update allocation detail page to look like job and node
2017-11-14 11:05:29 -08:00
Michael Lange
0d2efb0f1a
Create a new task route hierarchy
...
Drilling into a task from an allocation transitions to the task
heirarchy.
2017-11-14 11:04:40 -08:00
Preetha
4847b308fe
Merge pull request #3543 from hashicorp/b-consul-template-vendor-update
...
Vendor update to consul template 0.19.4
2017-11-14 09:35:33 -06:00
Alex Dadgar
e66a468784
Merge pull request #3500 from hashicorp/b-vendor
...
Clean vendored packages
2017-11-13 15:36:38 -08:00