Commit graph

12181 commits

Author SHA1 Message Date
Kate Taggart c2e5da393e fix typo: 'ode' to 'node'. 2018-05-23 13:19:33 -07:00
Michael Lange 861690482f Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07:00
Alex Dadgar 51e67daf69 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 dd52ec402c 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 5bd6a01fea
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 3a1f1e086d changelog 2018-05-22 14:46:21 -07:00
Alex Dadgar 44697efd9a safety guard 2018-05-22 14:45:34 -07:00
Alex Dadgar 586895965c Unit test for dev agent 2018-05-22 14:45:34 -07:00
Alex Dadgar 58d2a4c7c2 Do not bypass normal RPC codepath when running both client and server at once 2018-05-22 14:45:34 -07:00
Alex Dadgar c268640c02 Fix noisy log 2018-05-22 14:45:34 -07:00
Alex Dadgar eb5ff42889 changelog 2018-05-22 14:12:13 -07:00
Alex Dadgar f0e73cb1af
Merge pull request #4292 from hashicorp/f-heartbeat
Emit heartbeat and node registration events
2018-05-22 21:06:53 +00:00
Alex Dadgar 21c5ed850d Register events 2018-05-22 14:06:33 -07:00
Alex Dadgar 17aac1c9de node heartbeat missed event 2018-05-22 14:05:46 -07:00
Alex Dadgar cff8fc33e7
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 1fe9cb4f00 update error message 2018-05-22 14:04:59 -07:00
Alex Dadgar 5f2080bc26 Emit events based on eligibility 2018-05-22 14:04:59 -07:00
Alex Dadgar 86be50fa05
Merge pull request #4284 from hashicorp/f-drain-event
Emit Node Events for draining
2018-05-22 21:04:18 +00:00
Alex Dadgar b6ecb75af9 update error message 2018-05-22 14:01:43 -07:00
Preetha d7d595be43
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 e517267fb4
Update CHANGELOG.md 2018-05-21 21:37:38 -05:00
Preetha 9084bb025e
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 8f450f6c13
Update CHANGELOG.md 2018-05-21 18:52:21 -05:00
Preetha b409a3ed5b
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 41c5180a53
Update CHANGELOG.md 2018-05-21 18:32:00 -05:00
Preetha 159888a856
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 64ae37e19f
remove extra return 2018-05-21 18:00:14 -05:00
Chelsea Komlo 85def027bc
Merge pull request #4315 from hashicorp/f-upgrade-to-go-1.10.2
Upgrade Nomad to Go 1.10.2
2018-05-21 18:55:49 -04:00
Omar Khawaja 033c9133c8
Update jobs.html.md 2018-05-21 18:54:26 -04:00
Chelsea Komlo f0428ddb67
Merge pull request #4273 from hashicorp/f-add-autocomplete-to-missing-commands
Add autocomplete to missing commands
2018-05-21 18:21:31 -04:00
Preetha Appan 4a400f045b
Fix docs and method documentation in API 2018-05-21 17:20:59 -05:00
Chelsea Holland Komlo e70aa124b4 upgrade nomad to 1.10.2 2018-05-21 17:24:51 -04:00
Preetha 0834cd2228
Merge pull request #4314 from Omar-Khawaja/allocation-id-typo
changing allocation ID used with nomad alloc status command
2018-05-21 14:06:38 -07:00
Omar Khawaja 759ae3fe85 changing allocation ID used with nomad alloc status command 2018-05-21 16:51:30 -04:00
Jesus Vazquez 23d959e42c Add job, task, taskgroup to open method 2018-05-21 20:37:18 +02:00
Jesus Vazquez 0a062a04c7 Remove allocID from dockerhandle struct 2018-05-21 20:33:01 +02:00
Jesus Vazquez e5a81815bb Rename labels job, task_group and task 2018-05-21 20:32:50 +02:00
Jesus Vazquez ffe1b1a1b6 Remove allocid label from driver.docker.oom counter metric 2018-05-21 20:30:56 +02:00
Preetha Appan a9d63c0df3
Check allocation's desired state in GC eligibility logic in core scheduler 2018-05-21 13:28:31 -05:00
Preetha 6a7d6c7846
Merge pull request #4281 from hashicorp/f-leave-on-terminate-docs
Doc updates to clarify leave_on_terminate
2018-05-21 11:10:56 -07:00
Alex Dadgar 18d975c60b Changelog 2018-05-21 10:52:47 -07:00
Alex Dadgar 38762d9bde
Merge pull request #4282 from hashicorp/f-rotator
Avoid splitting log line across two files
2018-05-21 17:52:13 +00:00
Alex Dadgar 88d4b770a1
Merge pull request #4288 from apenney/add-warning-to-docs
Add a warning not to share consul nodes
2018-05-21 17:51:53 +00:00
Alex Dadgar bfe2c5bdd2 Changelog 2018-05-21 10:51:08 -07:00
Alex Dadgar d95698e2c5
Merge pull request #4298 from justenwalker/docker-driver-digest-tags
driver/docker: pull image with digest
2018-05-21 17:46:14 +00:00
Alex Dadgar 3cd324b5f2
Merge pull request #4305 from insanejudge/systemd-killmode-patch-1
set killmode/killsignal in systemd example
2018-05-21 17:26:58 +00:00
Alex Dadgar c60b441dd7
Merge pull request #4312 from lcnja/master
Fix a typo
2018-05-21 16:56:00 +00:00
Kim Ko 40d89ce0ad
Fix a typo 2018-05-22 00:31:20 +08:00
Charlie Voiselle 38c69cf0e6
Merge pull request #4311 from aymericbeaumet/patch-1
docs: fix typo in json documentation
2018-05-21 08:36:06 -05:00
Aymeric Beaumet 0d3f6c9733
docs: fix typo in json documentation 2018-05-21 12:01:44 +02:00