Commit Graph

11794 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
8e2da4e048 refactor to remove duplication 2018-05-29 18:47:25 -04:00
Chelsea Holland Komlo
ac8afe0edb changelog 2018-05-29 18:32:13 -04:00
Chelsea Holland Komlo
5ae88d9f0c handle parsing multiple certificates in a pem file 2018-05-29 18:25:43 -04:00
Chelsea Holland Komlo
a8ff38f790 remove unnecessary type conversation 2018-05-29 17:07:38 -04:00
Chelsea Holland Komlo
d4152c77ea parse CA certificate to catch more specific errors 2018-05-25 18:14:32 -04:00
Michael Lange
826416cee3 Merge pull request #4325 from hashicorp/b-ui-placed-canaries
UI: Remodel task-group-deployment-summary to properly use PlacedCanaries
2018-05-25 10:16:19 -07:00
Alex Dadgar
3461634fb5 Merge pull request #4331 from capone212/b-3595-fix-heartbeat
Fixed #3595
2018-05-25 00:57:03 +00:00
Alex Dadgar
9b87962196 Merge pull request #4308 from rkettelerij/patch-1
[Docs] Improve docs around Consul ACL token
2018-05-25 00:39:46 +00:00
Richard Kettelerij
b1265da034 Incorporated review comments 2018-05-24 20:47:32 +02:00
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
Alex Dadgar
267a858b70 Merge pull request #4333 from hashicorp/b-deploy-typo
Fixed typo in deployment help text
2018-05-24 17:00:13 +00:00
Charlie Voiselle
db8043d7a5 Fixed typo in deployment help text 2018-05-24 12:44:21 -04:00
Nick Ethier
0574bd9e73 Merge pull request #4260 from hashicorp/f-cli-node-drain-monitor
command: add '-monitor' flag to node drain
2018-05-24 12:28:11 -04:00
capone212
aa2dc8336a Fixed #3595 (https://github.com/hashicorp/nomad/issues/3595)
Stopping heartbeat timer before remove
2018-05-24 13:15:06 +00:00
Nick Ethier
0c62b9cd0f command: fix node drain monitor case 2018-05-24 06:39:12 -04:00
Nick Ethier
faeb612bd9 api: emit different monitor message if node's drain strategy is never set 2018-05-24 06:39:09 -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
ee5acd35b5 Merge pull request #4326 from hashicorp/b-canary-tags
Use Tags when CanaryTags isn't specified
2018-05-23 21:05:17 +00:00
Alex Dadgar
7b18e44b92 Merge pull request #4327 from hashicorp/d-drain-typo
fix typo: 'ode' to 'node'.
2018-05-23 20:50:53 +00:00
Kate Taggart
01973f4fda fix typo: 'ode' to 'node'. 2018-05-23 13:19:33 -07:00
Michael Lange
1f83916058 Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07: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
e108f732b6 Merge pull request #4317 from hashicorp/b-no-path
Fix RPC tunneling when running both client/server
2018-05-22 21:47:10 +00:00
Alex Dadgar
ff25319099 changelog 2018-05-22 14:46:21 -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
37a4abdee4 Fix noisy log 2018-05-22 14:45:34 -07:00
Alex Dadgar
9e761d4049 changelog 2018-05-22 14:12:13 -07:00
Alex Dadgar
0061c38c99 Merge pull request #4292 from hashicorp/f-heartbeat
Emit heartbeat and node registration events
2018-05-22 21:06:53 +00:00
Alex Dadgar
cfc9d1fbbd Register events 2018-05-22 14:06:33 -07:00
Alex Dadgar
f01c0d72c6 node heartbeat missed event 2018-05-22 14:05:46 -07:00
Alex Dadgar
774dd0f84e Merge pull request #4291 from hashicorp/f-eligibility
Emit events when node eligibility is set
2018-05-22 21:05:15 +00:00
Alex Dadgar
adb58086c5 update error message 2018-05-22 14:04:59 -07:00
Alex Dadgar
3a2829b4fc Emit events based on eligibility 2018-05-22 14:04:59 -07:00
Alex Dadgar
b9d9b44013 Merge pull request #4284 from hashicorp/f-drain-event
Emit Node Events for draining
2018-05-22 21:04:18 +00:00
Alex Dadgar
79c5a9c7d5 update error message 2018-05-22 14:01:43 -07:00
Preetha
656731d924 Merge pull request #4316 from hashicorp/doc-fix-nomad-alloc-logs
change allocation ID used with nomad alloc logs command
2018-05-22 08:12:52 -07:00
Preetha Appan
5936311a76 Update CHANGELOG.md 2018-05-21 21:37:38 -05:00
Preetha
0fcfaab646 Merge pull request #4303 from hashicorp/b-docker-client-nil-panic
Add nil check before setting timeout on docker client
2018-05-21 19:34:44 -07:00
Preetha Appan
a0cce52c0e Update CHANGELOG.md 2018-05-21 18:52:21 -05:00
Preetha
369ac66322 Merge pull request #4313 from hashicorp/b-alloc-gc-desiredstate
Check allocation's desired state in GC eligibility logic
2018-05-21 16:49:49 -07:00
Preetha Appan
0f0f5cffff Update CHANGELOG.md 2018-05-21 18:32:00 -05: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