Seth Vargo
e5063b1d46
Fix formatting
2016-09-30 14:15:11 -04:00
Seth Vargo
9946e8977b
Clarify logs docs
2016-09-30 14:09:02 -04:00
Sean Chittenden
6f6f6de96c
Add a small anchor tag to the periodic block.
2016-09-30 10:39:54 -07:00
Michael Schurter
cb007879a5
Merge pull request #1768 from hashicorp/b-squelch-spammy-consul-errors
...
Only log consul errors once since last succesful run
2016-09-30 09:03:18 -07:00
Michael Schurter
39219c2ad5
Only log consul errors once since last succesful run
2016-09-28 17:18:45 -07:00
Alex Dadgar
1f1ec12298
Merge pull request #1763 from hashicorp/sethvargo/docs
...
Fix docker args docs
2016-09-27 22:34:40 -07:00
Seth Vargo
c00859456e
Fix docker args docs
2016-09-27 19:14:10 -07:00
Diptanu Choudhury
6eaafa838c
Fixed task group validation tests
2016-09-27 17:57:30 -07:00
Alex Dadgar
903865720d
changelog
2016-09-27 17:29:39 -07:00
Alex Dadgar
2143ee15a0
Merge pull request #1762 from hashicorp/b-scan-pids
...
Constant size space tracking of pids
2016-09-27 17:28:35 -07:00
Alex Dadgar
42c4346dcf
Constant time space tracking of pids
2016-09-27 16:57:26 -07:00
Michael Schurter
95af8374f0
Merge pull request #1735 from hashicorp/b-bootstrap-flapping
...
Retry all servers on RPC call failure
2016-09-27 16:33:15 -07:00
Michael Schurter
91936f4cf3
Cleanup changelog entries
2016-09-27 16:32:32 -07:00
Michael Schurter
64aa187e9e
Add #1735 related fixes/improvements to changelog
2016-09-27 16:07:41 -07:00
Michael Schurter
ac29e9cffe
Remove unused const
2016-09-27 16:04:01 -07:00
Seth Vargo
04c7163aa2
Clarify server-members is server-only ( #1761 )
...
* Add a note to the CLI that only servers can run this command
* Add a callout that this is a server command
* Remove the annoying bottom margin on callouts
2016-09-27 13:51:54 -07:00
Diptanu Choudhury
50e3217211
Avoiding copying files if they are already present in chrootw ( #1753 )
2016-09-27 11:43:27 -07:00
Michael Schurter
ec81fc9baf
Fix lies found in comments by fact checkers
2016-09-26 16:51:53 -07:00
Michael Schurter
ac90d1de76
No need to put reaper ticker on the struct
2016-09-26 16:15:19 -07:00
Michael Schurter
d6b149678e
Drop clumsy timeout on discovery notifications
...
It's better to just let goroutines fallback to their longer retry
intervals then try to be clever here.
2016-09-26 16:05:21 -07:00
Michael Schurter
93fbc12401
Flip disco chan; clarify method names/comments
2016-09-26 15:52:40 -07:00
Michael Schurter
a4a61e81d5
Return csv of servers from Stats, not just count
2016-09-26 15:40:26 -07:00
Alex Dadgar
ec9e395b27
Merge pull request #1752 from hashicorp/f-consul-template
...
Consul template structs
2016-09-26 15:38:24 -07:00
Alex Dadgar
757ba24875
Parse
2016-09-26 15:36:11 -07:00
Alex Dadgar
99d3f15035
Template diff
2016-09-26 15:36:11 -07:00
Alex Dadgar
56b9767f8e
Add template structs
2016-09-26 15:36:11 -07:00
Alex Dadgar
b097191ec6
Test fix
2016-09-26 15:35:59 -07:00
Michael Schurter
a35fb33f8f
doDisco -> triggerDiscoveryCh; discovered -> serversDiscoveredCh
...
Also fix log line formatting
2016-09-26 15:21:28 -07:00
Michael Schurter
3bac14324f
noServers -> noServersErr
2016-09-26 15:12:35 -07:00
Michael Schurter
01ff307c3e
consul -> Consul
2016-09-26 15:06:57 -07:00
Michael Schurter
6b9be92dea
Fix agent server set test
...
Test asserted endpoint appendend servers, but the new/desired behavior
is for the endpoint to set/overwrite servers.
2016-09-26 11:57:06 -07:00
Alex Dadgar
417cda78d2
Merge pull request #1742 from hashicorp/b-text-file-busy
...
Closing files when files are removed
2016-09-26 11:50:27 -07:00
Alex Dadgar
f74eb65b3c
Merge pull request #1744 from hashicorp/sethvargo/init_format
...
Update the sample jobfile syntax
2016-09-26 11:26:33 -07:00
Alex Dadgar
e853e2de7a
Merge pull request #1745 from mwieczorek/windows-named-pipes
...
Update vendor package github.com/fsouza/go-dockerclient
2016-09-26 11:17:00 -07:00
Alex Dadgar
a240f1de04
Merge pull request #1748 from jippi/patch-1
...
Fix syntax error in JSON example
2016-09-26 11:11:52 -07:00
Alex Dadgar
7211d73833
Merge pull request #1750 from hashicorp/sethvargo/update_hashicorp
...
Update middleman-hashicorp
2016-09-26 11:08:37 -07:00
Alex Dadgar
7f6468583b
Merge pull request #1751 from dvusboy/fix_broken_link
...
[docs] Add the missing '/' to make the URL path absolute
2016-09-26 11:06:40 -07:00
K.C. Wong
4d30e32305
Add the missing '/' to make the URL path absolute
...
* without that '/' it becomes a relative link and thus it is
broken
2016-09-26 10:44:58 -07:00
Seth Vargo
00b6ee4cfa
Update middleman-hashicorp
2016-09-26 11:33:29 -05:00
Christian Winther
4a0c2e96d0
Fix syntax error in JSON example
2016-09-26 16:26:07 +02:00
Michal Wieczorek
21c9be9c34
Update vendor package github.com/fsouza/go-dockerclient
...
Added dependencies of updated github.com/fsouza/go-dockerclient:
- golang.org/x/net/context/ctxhttp
- github.com/docker/engine-api/types/swarm
- github.com/Microsoft/go-winio
- github.com/docker/engine-api/types/mount
2016-09-24 21:53:49 +02:00
Seth Vargo
c1ee623c78
Update the sample jobfile syntax
...
- Uses spaces instead of tabs for the sample job file. Even though Nomad
is written in Go, the HCL style guide uses two spaces for indentation,
and this will match Terraform and Vault in terms of configuration.
- Locks to redis:3.2 instead of floating latest. Running latest in
production is a bad idea and we shouldn't encourage it even via
example.
- Removes the linux constraint (native docker exists for both Mac and
Windows now)
- Aligns equal signs and stuff as per the HCL formatter
- Closes #1743
2016-09-24 14:42:25 -04:00
Seth Vargo
279c4c62fd
Convert example job file constraint to comment
...
This improves the "getting started" happy path experience for non-linux
users who are running the native Docker tools on their machines. There
is no need to constrain this job to linux, since driver detection for
docker will already (basically) do this.
2016-09-24 14:12:30 -04:00
Diptanu Choudhury
bc82dd67b5
Closing files when files are removed
2016-09-23 22:17:53 -07:00
Diptanu Choudhury
44be9eb0c3
Not setting a drained node as preferred node ( #1740 )
2016-09-23 21:15:50 -07:00
Michael Schurter
6d9670e9ab
Replace periodic handlers with event driven disco
...
Remove use of periodic consul handlers in the client and just use
goroutines. Consul Discovery is now triggered with a chan instead of
using a timer and deadline to trigger.
Once discovery is complete a chan is ticked so all goroutines waiting
for servers will run.
Should speed up bootstraping and recovery while decreasing spinning on
timers.
2016-09-23 17:02:48 -07:00
Alex Dadgar
e2fda9b84a
Merge pull request #1738 from sandstrom/patch-1
...
Timestamp changelog
2016-09-23 13:45:30 -07:00
sandstrom
c6ed4504c6
Timestamp changelog
2016-09-23 22:38:28 +02:00
Michael Schurter
64ac9b9359
Retry all servers on RPC call failure
...
rpcproxy is refactored into serverlist which prioritizes good servers
over servers in a remote DC or who have had a failure.
Registration, heartbeating, and alloc status updating will retry faster
when new servers are discovered.
Consul discovery will be retried more quickly when no servers are
available (eg on startup or an outage).
2016-09-23 11:44:48 -07:00
Diptanu Choudhury
dd3af85114
Adding a snapshot endpoint on the client ( #1730 )
2016-09-21 21:28:12 -07:00