Michael Schurter
8e2e26c607
rkt: use %s instead of %q when interpolating env
...
Fixes #2686
2017-07-05 09:36:17 -07:00
Michael Schurter
2f7d5d4bf9
Mention #2745
2017-07-03 15:17:57 -07:00
Michael Schurter
6b7d7a41f8
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
7e35905ea0
Add #2654 #2695 #2702 #2709 #2729 #2735 #2746 #2750 #2753
2017-07-03 15:03:34 -07:00
Michael Schurter
b2382f99f2
0 compute == error
2017-07-03 14:51:02 -07:00
Michael Schurter
0f65a56627
Document cpu.totalcompute attribute
2017-07-03 14:51:02 -07:00
Michael Schurter
ecf090e980
Fix cpu_total_compute override
2017-07-03 14:51:02 -07:00
Michael Schurter
89abaf5ef4
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
d8a816ccee
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
2d741c770b
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
56a6f8ca8a
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
9d4b0651ef
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
6e7cc3964e
Merge pull request #2709 from hashicorp/f-advertise-docker-ips
...
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter
5ec52ec24a
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
8d3e13ab8a
System jobs without evals are running too
2017-07-03 13:48:51 -07:00
Michael Schurter
9aa2218c13
Merge pull request #2746 from hashicorp/f-validate-job-updates
...
Validate job updates
2017-07-03 13:43:18 -07:00
Michael Schurter
d9e032aabf
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
596727230b
Suggest wiping out alloc dir too
2017-07-03 12:29:21 -07:00
Michael Schurter
11f68bfca2
Add more logging to restore state errors
2017-07-03 11:58:41 -07:00
Alex Dadgar
a72ceffd51
changelog
2017-07-02 16:12:16 -07:00
Alex Dadgar
1205560873
Merge pull request #2762 from alexandredantas/master
...
Use node name always false
2017-07-02 16:11:28 -07:00
Alexandre Dantas
100b51ac6a
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
83bf127763
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
2646fad718
Merge pull request #2757 from hashicorp/b-normalize-ipv6
...
Properly normalize IPv6 addresses
2017-06-30 10:27:34 -07:00
Michael Schurter
e9c357187c
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
34ed718d06
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
aefbb9f7d2
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
Michael Schurter
f7d2a74ddf
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
9cd861a307
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
47a1077c62
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
9c56f70d12
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
66d1c78763
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
a863ead30e
Fix test error formats
2017-06-26 12:53:43 -07:00
Michael Schurter
71c2cb3b83
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
9dd9dfed0d
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
3ffb39ea2b
Upgrade go-sockaddr/template to latest version + upgrade CHANGELOG
2017-06-25 20:55:40 +02:00
Jeremy Voorhis
cd2a9e7bea
Remove an errant # from vault policy sample.
2017-06-23 21:15:25 -07:00
Michael Schurter
8fcf866a7d
Fix some tests still expecting reverted behavior
2017-06-23 16:51:38 -07:00
Michael Schurter
e81252ba45
Default no_host_uuid to true instead of false
...
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter
9b531d51a6
Remove defunct DRIVER references in docs
...
Simplifies things greatly!
2017-06-23 15:32:47 -07:00
Michael Schurter
5a274e6683
Style and comments
2017-06-23 15:20:04 -07:00
Michael Schurter
cff8546035
Fix spelling & re-add immutable state struct
2017-06-23 13:01:39 -07:00
Alex Dadgar
0a85733f7e
Merge pull request #2733 from grossws/patch-1
...
HCL typo fix
2017-06-23 11:36:41 -07:00
Michael Schurter
d359d3b554
Rename immutable -> alloc
...
meh; naming is hard
2017-06-23 10:58:36 -07:00
Konstantin Gribov
ea5e5788af
HCL typo fix
2017-06-23 20:40:50 +03:00
Michael Schurter
af2fc0f1bc
Persist Alloc when EvalID changes
2017-06-22 17:33:12 -07:00
Michael Schurter
9e686e84a1
Remove DRIVER env vars from docs
2017-06-22 16:16:17 -07:00
Michael Schurter
641bb7e031
Merge pull request #2729 from hashicorp/b-2696-lookup-ip-on-path
...
Update go-sockaddr to lookup ip on $PATH
2017-06-22 14:08:26 -07:00
Michael Schurter
3c66f4ddc8
Update go-sockaddr to lookup ip on $PATH
...
Fixes #2696
2017-06-22 13:46:48 -07:00
Michael Schurter
8b93ec023c
Fixup example
2017-06-21 17:19:08 -07:00