Commit Graph

11764 Commits

Author SHA1 Message Date
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
Chelsea Komlo
87150130c9 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
80561af1ff Update jobs.html.md 2018-05-21 18:54:26 -04:00
Chelsea Komlo
b35afbee19 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
2ea09b82a0 Fix docs and method documentation in API 2018-05-21 17:20:59 -05:00
Chelsea Holland Komlo
f935b4fb46 upgrade nomad to 1.10.2 2018-05-21 17:24:51 -04:00
Preetha
69f74996b0 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
2c03aa4ec0 changing allocation ID used with nomad alloc status command 2018-05-21 16:51:30 -04:00
Preetha Appan
015852c05a Check allocation's desired state in GC eligibility logic in core scheduler 2018-05-21 13:28:31 -05:00
Preetha
173a2b9c41 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
e485603c0b Changelog 2018-05-21 10:52:47 -07:00
Alex Dadgar
df8f367b98 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
2c89613058 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
eed87d450c Changelog 2018-05-21 10:51:08 -07:00
Alex Dadgar
d7fd033959 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
56c5ff0ba3 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
67f43254f2 Merge pull request #4312 from lcnja/master
Fix a typo
2018-05-21 16:56:00 +00:00
Kim Ko
880bccfa1f Fix a typo 2018-05-22 00:31:20 +08:00
Charlie Voiselle
5ada59bf1d Merge pull request #4311 from aymericbeaumet/patch-1
docs: fix typo in json documentation
2018-05-21 08:36:06 -05:00
Aymeric Beaumet
d2c851d148 docs: fix typo in json documentation 2018-05-21 12:01:44 +02:00
insanejudge
9d9cd7348d Merge remote-tracking branch 'origin' into systemd-killmode-patch-1 2018-05-16 18:44:49 -07:00
Nick Ethier
504a9109f9 client/driver: use correct repo address when using docker-credential helper (#4266) 2018-05-15 17:39:48 -04:00
Justen Walker
ba2d9570e8 driver/docker: add test for dockerImageRef 2018-05-14 14:24:03 -04:00
Justen Walker
f4670f6003 driver/docker: fix up TestParseDockerImage 2018-05-14 14:23:48 -04:00
Justen Walker
44923339a8 driver/docker: fix TestDockerDriver_ForcePull_RepoDigest 2018-05-14 14:23:02 -04:00
Nick Ethier
6e86c4e28c client/driver: gaurd authHelper test from running on windows 2018-05-14 13:46:57 -04:00
Justen Walker
ce63b79449 driver/docker: cleanup parseDockerImage 2018-05-14 11:11:51 -04:00
Justen Walker
e77d8a59eb driver/docker: pull image with digest
GH #4290

Add digest support to the docker driver image config. This commit
factors out some common code to print the repo:tag (dockerImageRef) for
events/logs as well as parsing the image to retreive the repo,tag
(parseDockerImage) so that the results are consistent/sane for both
repo:tag and repo@sha256:... references.

When pulling an image with a digest, the tag is blank and the repo
contains the digest. See:
https://github.com/fsouza/go-dockerclient/blob/master/image_test.go#L471
2018-05-14 10:42:58 -04:00
Charlie Voiselle
126e0490e4 Merge pull request #4293 from maihde/patch-1
Update minimum Go version.
2018-05-12 12:13:07 -04:00
maihde
bd1389be12 Update minimum Go version.
In commit 758e1cb7 the `strings.Builder` API was used; this isn't available until Go 1.10+
2018-05-12 09:42:07 -04:00