Michael Schurter
450e347708
Add support for go-getter modes
...
Fixes #2678
2017-07-06 10:45:44 -07:00
Michael Schurter
b9434683d8
Merge pull request #2780 from hashicorp/b-tiny-race-fix
...
Tiny client race condition fix
2017-07-06 10:43:44 -07:00
Michael Schurter
ccfea7f183
Merge pull request #2768 from hashicorp/d-getting-started-consul
...
Start consul in getting started vagrant
2017-07-06 10:40:45 -07:00
Michael Schurter
2b97f61ac0
Consistently quote alloc ids in client logs
2017-07-06 10:24:52 -07:00
Alex Dadgar
78624cbd76
Merge pull request #2755 from hashicorp/sethvargo/docs-updates
...
Update docs notes
2017-07-06 10:02:38 -07:00
Michael Schurter
4794de99fd
Tiny client race condition fix
...
Plus some logging improvements that may help with #2563
2017-07-05 16:15:19 -07:00
Michael Schurter
941d9f62d0
Merge pull request #2769 from hashicorp/b-fix-no-host-uuid
...
Fix no_host_uuid parsing
2017-07-05 09:45:12 -07:00
Michael Schurter
fb96b86c3d
Merge pull request #2777 from hashicorp/b-2686-dont-escape-env
...
rkt: use %s instead of %q when interpolating env
2017-07-05 09:43:00 -07:00
Michael Schurter
80436f7e7c
Add #2777 to changelog
2017-07-05 09:42:30 -07:00
Michael Schurter
9eb1a87c47
rkt: use %s instead of %q when interpolating env
...
Fixes #2686
2017-07-05 09:36:17 -07:00
Michael Schurter
79b7cfd506
Fix no_host_uuid parsing
...
Need to pointerify it to default to true since we can't tell false from
unset if it's not a pointer.
2017-07-03 17:41:20 -07:00
Michael Schurter
8a9926c6ae
Start consul in getting started vagrant
...
Sneak a version bump to consul in as well
2017-07-03 16:45:13 -07:00
Michael Schurter
e1ab0bf6db
Mention #2745
2017-07-03 15:17:57 -07:00
Michael Schurter
da14944a70
Merge pull request #2745 from hashicorp/b-2638-cpu_total_compute
...
Fix cpu_total_compute override
2017-07-03 15:13:51 -07:00
Michael Schurter
bde854cc14
Add #2654 #2695 #2702 #2709 #2729 #2735 #2746 #2750 #2753
2017-07-03 15:03:34 -07:00
Michael Schurter
ca38020521
0 compute == error
2017-07-03 14:51:02 -07:00
Michael Schurter
2b0f088495
Document cpu.totalcompute attribute
2017-07-03 14:51:02 -07:00
Michael Schurter
c10f530964
Fix cpu_total_compute override
2017-07-03 14:51:02 -07:00
Michael Schurter
887c7b0bfb
Don't fail on first error detecting cpu stats
...
Since cpu.Counts() never returns an error this doesn't functionally
change anything today.
2017-07-03 14:51:02 -07:00
Michael Schurter
d16eb8738b
Merge pull request #2750 from hashicorp/b-system-jobs-running
...
System jobs should be running until stopped
2017-07-03 14:47:31 -07:00
Michael Schurter
89e5971bc7
Merge pull request #2732 from hashicorp/b-persist-alloc-updates
...
Persist Alloc when EvalID changes
2017-07-03 14:46:43 -07:00
Michael Schurter
02691c988b
Merge pull request #2763 from hashicorp/f-bad-state-help
...
Add more logging to restore state errors
2017-07-03 14:45:03 -07:00
Michael Schurter
dcf30f984a
Merge pull request #2753 from hashicorp/b-leader-dies-first
...
Destroy task group leader first
2017-07-03 14:38:04 -07:00
Michael Schurter
6b3ae9acd8
Merge pull request #2709 from hashicorp/f-advertise-docker-ips
...
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter
11863660a0
Destroy task group leader first
...
Before this commit all tasks in a task group were destroyed
concurrently. This meant logging sidecars might be stopped before the
leader task whose logs still need to be shipped.
This commit blocks on the leader shutting down before signalling to
followers to shutdown.
2017-07-03 13:56:56 -07:00
Michael Schurter
cd9da16f14
System jobs without evals are running too
2017-07-03 13:48:51 -07:00
Michael Schurter
937203f4cf
Merge pull request #2746 from hashicorp/f-validate-job-updates
...
Validate job updates
2017-07-03 13:43:18 -07:00
Michael Schurter
bf6c736ffe
Merge pull request #2735 from hashicorp/f-no_host_uuid-true
...
Default no_host_uuid to true instead of false
2017-07-03 13:18:25 -07:00
Michael Schurter
e71673e24b
Suggest wiping out alloc dir too
2017-07-03 12:29:21 -07:00
Michael Schurter
6b9af8fcc3
Add more logging to restore state errors
2017-07-03 11:58:41 -07:00
Alex Dadgar
460296eedb
changelog
2017-07-02 16:12:16 -07:00
Alex Dadgar
79d323d410
Merge pull request #2762 from alexandredantas/master
...
Use node name always false
2017-07-02 16:11:28 -07:00
Alexandre Dantas
8d07eca012
Fixing issue where use_node_name was always been set as false when merging telemetry configurations
2017-07-02 00:31:09 -03:00
Alex Dadgar
47c9637659
Merge pull request #2743 from JarvusInnovations/master
...
Update middleman-hashicorp to 0.3.28 for mega nav fixes
2017-06-30 18:22:56 -07:00
Michael Schurter
76e3d7b20c
Merge pull request #2757 from hashicorp/b-normalize-ipv6
...
Properly normalize IPv6 addresses
2017-06-30 10:27:34 -07:00
Michael Schurter
3e13aa253d
Properly normalize IPv6 addresses
...
A fix to #2739 instead of forcing IPv6 users to always specify a port as
well.
Prior to this commit IPv6 advertise addresses which lacked a port would
fail instead of having the default port added because
`net.SplitHostPort(someipv6)` returns a different error than
`net.SplitHostPort(someipv4)`.
2017-06-29 10:46:31 -07:00
Michael Schurter
10a0900c35
Merge pull request #2748 from hashicorp/d-migrate-needs-sticky
...
Ephemeral Disks: `migrate` requires `sticky`
2017-06-29 09:15:15 -07:00
Michael Schurter
2f6ac77156
Merge pull request #2749 from hashicorp/d-ephemeral-size-not-enforced
...
Noted that ephemeral storage `size` not enforced
2017-06-29 09:14:31 -07:00
Seth Vargo
dfcbd498e6
Document permissions for agents
...
Fixes GH-948
2017-06-29 16:59:19 +08:00
Seth Vargo
3e3b77bd55
Document context of service checks
...
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Michael Schurter
3f50e71fe3
System jobs should be running until stopped
...
Prior to this commit they would be marked as dead if they had no
currently running allocations -- even though they would spring back to
life (running) if the cluster state changed such that a new eval+alloc
was created.
2017-06-28 11:39:24 -07:00
Charlie Voiselle
6958e4d11b
Noted that ephemeral storage size not enforced
...
This value is strictly used in the job placement, but is not enforced like a quota
2017-06-28 12:51:27 -04:00
Charlie Voiselle
237b433062
Ephemeral Disks: migrate requires sticky
...
The migrate option is a no-op when sticky is set to false
2017-06-28 12:21:01 -04:00
Michael Schurter
d3b0c93c94
Validate job updates
...
Incurs a local read-before-write but because validation is transitive
there's no need to retry the read-validate-write on concurrent updates.
2017-06-27 16:08:18 -07:00
Michael Schurter
e9a55d9e0e
Merge pull request #2737 from hashicorp/fix-typo
...
Remove an errant # from vault policy sample.
2017-06-26 13:16:28 -07:00
Michael Schurter
85860dcb67
Fix test error formats
2017-06-26 12:53:43 -07:00
Michael Schurter
7c51bf3a28
Merge pull request #2740 from multani/upgrade-go-sockaddr
...
Upgrade hashicorp/go-sockaddr/template to latest version + upgrade CHANGELOG
2017-06-26 12:01:43 -07:00
Ryon Coleman
45faaaf68b
Update middleman-hashicorp to 0.3.28 for mega nav fixes
...
Fixes detailed at https://github.com/hashicorp/middleman-hashicorp/pull/47
2017-06-26 14:30:09 -04:00
Jonathan Ballet
55e18c2ed0
Upgrade go-sockaddr/template to latest version + upgrade CHANGELOG
2017-06-25 20:55:40 +02:00
Jeremy Voorhis
6ce5b67651
Remove an errant # from vault policy sample.
2017-06-23 21:15:25 -07:00