Nick Ethier
a581cc9c01
nomad/structs: fix job diff test
2018-06-11 13:06:49 -04:00
Nick Ethier
3aa6241b5c
client/driver/env: fix optional meta test
2018-06-11 12:29:13 -04:00
Nick Ethier
c65882cafd
client/driver/env: use 'job.Dispatch' to trigger optional meta logic
2018-06-11 12:15:19 -04:00
Nick Ethier
ccb5372813
Revert "Revert "client/driver/env: interpolate empty optional meta params as empty strings""
...
This reverts commit c17e0fc9dc5fd288935ab2b68fb441b4d25ac189.
2018-06-11 11:59:23 -04:00
Nick Ethier
41e010cdc2
nomad: add 'Dispatch' field to Job
...
New -bash: Dispatch: command not found field is used to denote if the Job is a child dispatched job of
a parameterized job.
2018-06-11 11:59:03 -04:00
Michael Schurter
c198cfd8ea
executor: fix log line formatting
2018-06-08 14:55:39 -07:00
Michael Schurter
d1a60e700e
executor: fix Windows blocking on pipe close
...
Sending the Ctrl-Break signal to PowerShell <6 causes it to drop into
debug mode. Closing its output pipe at that point will block
indefinitely and prevent the process from being killed by Nomad.
See the upstream powershell issue for details:
https://github.com/PowerShell/PowerShell/issues/4254
2018-06-08 14:48:05 -07:00
Chelsea Holland Komlo
dca7235ca5
add tests and improve should reload logic
2018-06-08 15:10:10 -04:00
Chelsea Holland Komlo
f74e74b22d
add client logic to determine whether TLS RPC connections should reload
2018-06-08 14:38:58 -04:00
Chelsea Holland Komlo
de03ce8070
move logic to determine whether to reload tls configuration to tlsutil helper
2018-06-08 14:33:58 -04:00
Chelsea Holland Komlo
3b5d5c7be8
remove logic to reload RPC connections from agent
2018-06-08 13:14:40 -04:00
James Rasell
b9009c419c
Add 'nomad.advertise.address' to client meta via NomadFingerPrint
...
This change removes the addition of the advertise address to the
exported task env vars and instead moves this work into the
NomadFingerprint.Fingerprint which adds this value to the client
attrs. This can then be used within a Nomad job like
${attr.nomad.advertise.address}.
2018-06-08 09:44:10 +02:00
Alex Dadgar
d9b35fab52
Revert "client/driver/env: interpolate empty optional meta params as empty strings"
...
This reverts commit 84926f759a63a90be7bbcf0fad78deb3f02af23d.
2018-06-07 16:27:47 -07:00
Michael Lange
188fbef078
Final UI-related changelog updates for 0.8.4
2018-06-07 15:58:14 -07:00
Alex Dadgar
ba413d6b46
Merge pull request #4394 from hashicorp/b-docker-progress-neg-estimate
...
client/driver: drop docker pull progress estimate if its < 0
2018-06-07 15:55:15 -07:00
Michael Lange
a5a8a5f18d
Merge pull request #4393 from hashicorp/b-ui-fix-task-row-primary-text
...
UI: Style tasks on the alloc index page like other tables of resources
2018-06-07 15:50:56 -07:00
Alex Dadgar
0181f5defc
test less of the monitor on travis
2018-06-07 15:47:03 -07:00
Alex Dadgar
08e2251928
docs for tls defaults
2018-06-07 15:30:00 -07:00
Chelsea Komlo
e51a959dc7
Merge pull request #4396 from hashicorp/f-tls-ciphers-12
...
Enable more tls 1.2 ciphers
2018-06-07 18:23:54 -04:00
Alex Dadgar
8efe9696ad
move log line
2018-06-07 15:12:51 -07:00
Chelsea Komlo
d738976234
Merge pull request #4395 from hashicorp/b-vault-second
...
Fix for dynamically reloading vault
2018-06-07 18:03:00 -04:00
Chelsea Holland Komlo
914d2257ef
enable more tls 1.2 ciphers
2018-06-07 17:49:57 -04:00
Chelsea Holland Komlo
dcc9cdfeb7
fixup! comment and move to always log server reload operation
2018-06-07 17:12:36 -04:00
Chelsea Holland Komlo
5174f63d6c
changelog
2018-06-07 17:09:59 -04:00
Chelsea Holland Komlo
41e35edf0c
fix test that now requires different config for test assertions
2018-06-07 17:07:06 -04:00
Chelsea Holland Komlo
9f6bd7bf3a
move logic for testing equality for vault config
2018-06-07 16:23:50 -04:00
Chelsea Holland Komlo
282f37b1ee
fix for dynamically reloading vault
2018-06-07 15:34:18 -04:00
Nick Ethier
b3c767fae0
client/driver: drop docker pull progress estimate if its < 0
2018-06-07 15:23:31 -04:00
Michael Lange
780e9a18a5
Style tasks on the alloc index page like other tables of things
2018-06-07 11:31:06 -07:00
Michael Lange
ef2e49e82d
Merge pull request #4388 from hashicorp/f-ui-show-deployment-deadline
...
UI: Show deployment deadline for each task group in the running deployment
2018-06-07 08:55:53 -07:00
James Rasell
367a8b5152
Add the local clients advertise address to interpolation env vars
...
This commit adds the Nomad local client advertise address in the
form host:port to the environment variables passed to each task.
2018-06-07 09:45:15 +02:00
Alex Dadgar
cfaa52e55e
Merge pull request #4380 from hashicorp/b-drain-monitor
...
Monitoring non-draining node exits
2018-06-06 17:50:30 -07:00
Michael Lange
73881a388c
Show the progress deadline for task groups in a running deployment
2018-06-06 17:35:18 -07:00
Michael Lange
37a8fb2af2
Add new property to factory
2018-06-06 17:34:50 -07:00
Michael Lange
f86604d240
Merge pull request #4387 from hashicorp/b-ui-task-row-link
...
UI: Make task rows clickable.
2018-06-06 15:40:58 -07:00
Michael Schurter
0fc624133d
Merge pull request #4384 from hashicorp/b-global-log-flags
...
agent: global logger should use the same flags
2018-06-06 15:15:15 -07:00
Alex Dadgar
72effb8632
code review
2018-06-06 14:52:26 -07:00
Michael Lange
ee093ffc16
Make task rows clickable.
...
Right now they are the only tables where the entire row isn't a
click-target to drill into the detail page.
2018-06-06 14:50:28 -07:00
Alex Dadgar
c441c17927
Merge pull request #4382 from hashicorp/b-init
...
Progress deadline included in nomad init
2018-06-06 14:49:10 -07:00
Alex Dadgar
d478b50393
indentation
2018-06-06 14:48:51 -07:00
Alex Dadgar
f795f9073a
Merge pull request #4385 from hashicorp/b-node-status-drain
...
Handle force draining
2018-06-06 14:45:34 -07:00
Alex Dadgar
217231347f
Handle force draining
2018-06-06 13:05:39 -07:00
Michael Schurter
f8e12e6ee7
agent: global logger should use the same flags
...
Prior to this change logs from the global logger only used seconds:
```
2018/06/06 18:25:58 http: TLS handshake error from ...
```
After this change they properly use the microseconds flag:
```
2018/06/06 18:39:50.702447 http: TLS handshake error ...
```
They still lack a log level unfortunately.
2018-06-06 11:40:08 -07:00
Michael Lange
7e1e42be5f
changelog update
2018-06-06 11:38:42 -07:00
Nick Ethier
0118f68710
Merge pull request #4383 from hashicorp/b-node-drain-empty-event
...
nomad: handle edge case where node drain event shouldn't be emitted
2018-06-06 14:21:28 -04:00
Nick Ethier
2555bff4f5
nomad: add error check in test
2018-06-06 14:08:42 -04:00
Nick Ethier
d35bf6d184
nomad: handle edge case where node drain event shouldn't be emitted
2018-06-06 14:02:10 -04:00
Alex Dadgar
14c1bec157
progress deadline init
2018-06-06 10:30:47 -07:00
Alex Dadgar
ac02e7cbc2
Merge pull request #4379 from hashicorp/b-consul-deregister
...
Fix bug with determining when agent is a client
2018-06-05 17:59:55 -07:00
Alex Dadgar
f4fccd7ed2
Monitoring non-draining node exits
2018-06-05 17:58:44 -07:00