Commit Graph

12146 Commits

Author SHA1 Message Date
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
Preetha Appan 82837839eb
Fix bug with determining when agent is a client
This fixes a bug introduced in commit e27caadca6 that sets a boolean flag
when the agent is a client. It incorrectly checked state before initializing
the client. This leads to Nomad clients not deregistering any services registered
in Consul after allocs are destroyed
2018-06-05 19:19:52 -05:00
Preetha 54f9b2d76e
Merge pull request #4378 from hashicorp/e2e-progress-deadline
Add more end to end tests for progress deadline and fix flaky test
2018-06-05 16:17:40 -07:00
Preetha Appan 06cef731c3
Update CHANGELOG 2018-06-05 17:33:28 -05:00
Preetha d098f4ea34
Merge pull request #4377 from hashicorp/b-create-deployment-job-index
Fix reconciler bug with deployment not being created
2018-06-05 15:31:19 -07:00
Preetha Appan b64788043e
make test create index clearer 2018-06-05 17:29:59 -05:00
Preetha Appan 27308b7c5e
Add more end to end tests for progress deadline and fix flaky test 2018-06-05 17:25:28 -05:00
Preetha Appan 3e264dcb79
Fix reconciler bug with deployment not being created if job create index is different
This fixes an issue where if a job is purged and resubmitted Nomad does not create
a new deployment. Adds unit test that failed before this fix
2018-06-05 13:58:53 -05:00
Michael Lange 334325e624
Merge pull request #4369 from hashicorp/b-ui-use-network-ip
UI: Use the network ip for the task address instead of the node ip
2018-06-05 11:15:48 -07:00
Alex Dadgar d7ec121ca1
Merge pull request #4375 from listrophy/patch-3
README: newer Vault init command
2018-06-05 09:55:07 -07:00
Alex Dadgar d6ec8ab407
Merge pull request #4374 from listrophy/patch-2
README: use newer command
2018-06-05 09:54:47 -07:00
Brad Grzesiak 28e50dfcb8
README: newer Vault init command
Got a warning message:

```
WARNING! The "vault init" command is deprecated. Please use "vault operator
init" instead. This command will be removed in Vault 0.11 (or later).
```
2018-06-05 11:37:06 -05:00