Commit graph

11998 commits

Author SHA1 Message Date
Preetha Appan 0b4fc2b755
make link relative 2018-06-11 17:43:42 -05:00
Preetha Appan aa8092337c
Move autopilot to top level and fix links 2018-06-11 17:22:31 -05:00
Michael Schurter 39f64acb86
Merge pull request #4400 from hashicorp/b-fix-powershell-shutdown
executor: fix Windows blocking on pipe close
2018-06-11 11:05:54 -07: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
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
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