Chelsea Komlo
c42a07b488
Merge pull request #4328 from hashicorp/r-single-tls-config-constructor
...
Refactor to prefer using NewTLSConfiguration constructor
2018-05-24 13:46:29 -04:00
Alex Dadgar
58039325b0
Merge pull request #4321 from hashicorp/f-network-info
...
Display bind/advertise addresses on agent startup
2018-05-24 17:30:56 +00:00
Charlie Voiselle
db8043d7a5
Fixed typo in deployment help text
2018-05-24 12:44:21 -04:00
Nick Ethier
0c62b9cd0f
command: fix node drain monitor case
2018-05-24 06:39:12 -04:00
Nick Ethier
10be0d5355
command: add docs for node drain -monitor flag
2018-05-24 06:37:28 -04:00
Nick Ethier
6287ac0009
command: use 0 as index for monitor request
2018-05-24 06:37:28 -04:00
Nick Ethier
d7b17a719c
command: add '-monitor' flag to node drain
2018-05-24 06:37:25 -04:00
Chelsea Holland Komlo
6733d768f0
refactor NewTLSConfiguration to pass in verifyIncoming/verifyOutgoing
...
add missing fields to TLS merge method
2018-05-23 18:35:30 -04:00
Alex Dadgar
796e623dde
Use Tags when CanaryTags isn't specified
...
This PR fixes a bug where we weren't defaulting to `tags` when
`canary_tags` was empty and adds documentation.
2018-05-23 13:07:47 -07:00
Alex Dadgar
df70a934b2
Display bind/advertise addresses on agent startup
...
Sample outputs from demo/vagrant/(server/client1).hcl and `nomad agent -dev` mode
Server:
```
==> Nomad agent configuration:
Advertise Addrs: HTTP: 192.168.1.75:4646; RPC: 192.168.1.75:4647; Serf: 192.168.1.75:4648
Bind Addrs: HTTP: 0.0.0.0:4646; RPC: 0.0.0.0:4647; Serf: 0.0.0.0:4648
Client: false
Log Level: DEBUG
Region: global (DC: dc1)
Server: true
Version: 0.8.4-dev
```
Client:
```
==> Nomad agent configuration:
Advertise Addrs: HTTP: 192.168.1.75:5656
Bind Addrs: HTTP: 0.0.0.0:5656
Client: true
Log Level: DEBUG
Region: global (DC: dc1)
Server: false
Version: 0.8.4-dev
```
Dev:
```
==> Nomad agent configuration:
Advertise Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
Bind Addrs: HTTP: 127.0.0.1:4646; RPC: 127.0.0.1:4647; Serf: 127.0.0.1:4648
Client: true
Log Level: DEBUG
Region: global (DC: dc1)
Server: true
Version: 0.8.4-dev
```
2018-05-22 15:14:33 -07:00
Alex Dadgar
cc0a50b1b6
safety guard
2018-05-22 14:45:34 -07:00
Alex Dadgar
091e628b38
Unit test for dev agent
2018-05-22 14:45:34 -07:00
Alex Dadgar
598596c7f6
Do not bypass normal RPC codepath when running both client and server at once
2018-05-22 14:45:34 -07:00
Alex Dadgar
cfc9d1fbbd
Register events
2018-05-22 14:06:33 -07:00
Preetha
447527ab2b
Merge pull request #4274 from hashicorp/f-force-rescheduling
...
Add CLI and API support for forcing rescheduling of failed allocs
2018-05-21 16:24:22 -07:00
Preetha Appan
a5ca3790a5
remove extra return
2018-05-21 18:00:14 -05:00
Chelsea Holland Komlo
0bd7c0325c
Add autocomplete where missing
2018-05-11 18:05:43 -04:00
Preetha Appan
ae5d8fd593
Add new method EvaluateWithOptions to avoid breaking go API client
2018-05-11 14:18:53 -05:00
Preetha Appan
b2006cc784
more review feedback
2018-05-11 13:39:55 -05:00
Chelsea Komlo
31c21988b8
Merge pull request #4269 from hashicorp/f-tls-remove-weak-standards
...
Configurable TLS cipher suites and versions; disallow weak ciphers
2018-05-11 08:11:46 -04:00
Nick Ethier
ddab0f1600
Merge pull request #4279 from hashicorp/f-short-init
...
Add job init '-short' command docs to website
2018-05-10 23:20:59 -04:00
Nick Ethier
32ec72d97d
command: add autocomplete for init -short flag
2018-05-10 23:19:08 -04:00
Preetha Appan
e2f13d2807
unit test for job eval should detach
2018-05-10 15:30:44 -05:00
Preetha Appan
53c05c590d
Add support for monitoring evals, and -detach/-verbose support
2018-05-10 15:02:58 -05:00
Preetha Appan
879c2c93c9
Code review feedback
2018-05-10 14:42:24 -05:00
Nick Ethier
17abb1b5b4
command: remove ephemeral disk from short init jobspec
2018-05-10 13:16:45 -04:00
Chelsea Holland Komlo
509180ee00
add support for configurable TLS minimum version
2018-05-09 18:07:12 -04:00
Chelsea Holland Komlo
0f46208cc1
allow configurable cipher suites
...
disallow 3DES and RC4 ciphers
add documentation for tls_cipher_suites
2018-05-09 17:15:31 -04:00
Preetha Appan
1bad719612
Added CLI for evaluating job given ID, and modified client API for evaluate to take a request payload
2018-05-09 15:04:27 -05:00
Preetha Appan
242cc191a1
Work in progress - force rescheduling of failed allocs
2018-05-08 17:26:57 -05:00
Preetha
0fdbdfd30b
Merge pull request #4259 from hashicorp/f-deployment-improvements
2018-05-08 16:37:10 -05:00
Chelsea Holland Komlo
321b0779d5
only write error log line on error
2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
496b5cce38
remove log line for empty addresses which could confuse on initalization
2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
d00e096073
retry until all options are exhausted
2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
9e78d227e5
ensure provider= is always the string prefix
2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
f34d76a7ed
update test for more realistic IP address from go-discover
2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
0d3c6a0441
comments and other fixups
2018-05-07 16:57:06 -04:00
Chelsea Holland Komlo
1e3bb6b21d
add go-discover
2018-05-07 16:57:06 -04:00
Chelsea Holland Komlo
5b7027d9ec
refactor to retryJoiner interface
2018-05-07 16:57:06 -04:00
Michael Schurter
435a6bddce
consul: remove services with/without canary tags
...
Guard against Canary being set to false at the same time as an
allocation is being stopped: this could cause RemoveTask to be called
with the wrong Canary value and leaking a service.
Deleting both Canary values is the safest route.
2018-05-07 14:55:01 -05:00
Michael Schurter
17c6eb8629
consul: support canary tags for services
...
Also refactor Consul ServiceClient to take a struct instead of a massive
set of arguments. Meant updating a lot of code but it should be far
easier to extend in the future as you will only need to update a single
struct instead of every single call site.
Adds an e2e test for canary tags.
2018-05-07 14:55:01 -05:00
Alex Dadgar
20df5aea5b
Canary tags structs
2018-05-07 14:50:01 -05:00
Alex Dadgar
8be599af94
Mark canaries on creation, and unmark on promotion
2018-05-07 14:50:01 -05:00
Alex Dadgar
eb6a99a6d8
CLI
2018-05-07 14:50:01 -05:00
Alex Dadgar
15c3abf816
Initial implementation
2018-05-07 14:50:01 -05:00
Michael Schurter
bd4e761c29
Merge pull request #4251 from hashicorp/f-grpc-checks
...
Support Consul gRPC Health Checks
2018-05-04 14:55:16 -07:00
Michael Schurter
f2f6dab332
Merge pull request #4234 from hashicorp/b-4159
...
Fix race in StreamFramer and truncation in api/AllocFS.Logs
2018-05-04 14:24:07 -07:00
Michael Schurter
905bef8f2d
consul: make grpc checks more like http checks
2018-05-04 11:08:11 -07:00
Michael Schurter
93356e7d70
consul: initial grpc implementation
...
Needs to be more like http.
2018-05-04 11:08:11 -07:00
Michael Schurter
758e1cb7f3
cli: expand drain info for node status
2018-05-04 10:32:25 -07:00