Commit Graph

7264 Commits

Author SHA1 Message Date
Kyle Havlovitz 4e325a6b8f
Add graceful handling of malformed persisted service/check files.
Previously a change was made to make the file writing atomic,
but that wasn't enough to cover something like an OS crash so we
needed something here to handle the situation more gracefully.

Fixes #1221.
2018-01-19 14:07:36 -08:00
Kyle Havlovitz f689b22639
Update CHANGELOG.md 2018-01-18 11:57:08 -08:00
Kyle Havlovitz a9139cac59
Merge pull request #3799 from fastest963/fileNotDir
Resolve symlinks in config directory
2018-01-18 11:26:23 -08:00
James Phillips 410e96108a
Update external.html.md 2018-01-12 13:23:16 -08:00
James Hartig aedab91a66 Resolve symlinks in config directory
Docker/Openshift/Kubernetes mount the config file as a symbolic link and
IsDir returns true if the file is a symlink. Before calling IsDir, the
symlink should be resolved to determine if it points at a file or
directory.

Fixes #3753
2018-01-12 15:43:38 -05:00
James Phillips cd09cafffe
Reorders the issue template. 2018-01-11 18:16:51 -08:00
James Phillips 5eeaf5feef
Update CHANGELOG.md 2018-01-11 16:16:38 -08:00
James Phillips fafd780876
Updates the change log. 2018-01-11 08:04:31 -08:00
James Phillips 3278716ff5
Merge pull request #3788 from fastest963/checkID
Added CheckID and Name to AgentServiceCheck struct
2018-01-11 08:03:20 -08:00
James Phillips 6378d607fd
Merge pull request #3794 from hashicorp/tls-cleanup
Removes stale TLS config clone() in favor of new supported method.
2018-01-10 15:25:27 -08:00
James Phillips 8324c1b9a6
Removes stale TLS config clone() in favor of new supported method. 2018-01-10 15:24:26 -08:00
James Phillips c21db94ad3
Updates the change log. 2018-01-10 15:19:47 -08:00
James Phillips 860fbc3902
Merge pull request #3793 from hashicorp/node-id
Adds the NodeID field back to the /v1/agent/self Config block.
2018-01-10 15:18:36 -08:00
James Phillips 9509aa6c4b
Adds the NodeID field back to the /v1/agent/self Config block.
Fixes #3778
2018-01-10 15:17:54 -08:00
James Phillips ebcd1787db
Adds more info about how to fix the private IP error.
Closes #3790
2018-01-10 09:53:41 -08:00
James Phillips 9dd1a70844
Merge pull request #3792 from hashicorp/issue-3791
Fixes crash where body was optional for PQ endpoint (it is not).
2018-01-10 09:43:59 -08:00
James Phillips 10b4eaf4ea
Updates the change log. 2018-01-10 09:38:13 -08:00
James Phillips 48cfe6ff5f
Fixes crash where body was optional for PQ endpoint (it is not).
Fixes #3791
2018-01-10 09:33:49 -08:00
James Phillips 6c3cce19fa
Merge pull request #3787 from kopaka/patch-2
Corrected word order sequence
2018-01-08 18:10:48 -08:00
James Phillips 8d3ff051aa
Updates builder to newer Ubuntu version. 2018-01-08 18:09:06 -08:00
James Phillips cfdc0f5064
Updates website Ruby gems to get newer nokogiri. 2018-01-08 18:08:42 -08:00
James Hartig ac225b2e7d Added CheckID and Name to AgentServiceCheck struct 2018-01-08 15:59:55 -05:00
Scott Pynn 0715ae968d
Corrected word order sequence
Also removed a couple of extraneous spaces.
2018-01-08 12:02:10 -05:00
James Phillips 8837a18d25
Merge pull request #3786 from jamesearl/docs/prefix-filter-dead-link
fix dead telemetry prefix filter link
2018-01-05 14:27:32 -08:00
James Cunningham 8dfe140501 fix dead telemetry prefix filter link 2018-01-05 15:19:33 -07:00
James Phillips 2aab5001cb
Merge pull request #3785 from whit537/over-parallelization
Provide hint about test over-parallelization
2018-01-05 13:56:31 -08:00
Chad Whitacre 9859f5ad12 Provide hint about test over-parallelization 2018-01-05 16:47:14 -05:00
Chad Whitacre 9ff59df34b Fix typo 2018-01-05 15:24:44 -05:00
James Phillips 832c304db6
Updates the change log. 2018-01-04 22:34:39 -08:00
James Phillips 25119c480a
Updates the change log. 2018-01-04 22:08:29 -08:00
James Phillips 1bca0297d8
Updates the change log. 2018-01-04 18:57:28 -08:00
James Phillips 10ff52c21c
Merge pull request #3765 from diptanu/f-agent-telemetry
Added telemetry around Catalog APIs
2018-01-04 18:56:26 -08:00
James Phillips 69d540a348
Merge pull request #3781 from whit537/default-GOPATH
Allow for default GOPATH
2018-01-04 18:53:52 -08:00
James Phillips f0a7b788f9
Update CHANGELOG.md 2018-01-04 18:05:39 -08:00
James Phillips 968627cad5
Merge pull request #3783 from whit537/doc-tweaks
Fix some small doc errors
2018-01-04 13:54:08 -08:00
Chad Whitacre 7dbe5654c7 Fix some small doc errors 2018-01-04 16:44:07 -05:00
Chad Whitacre d11a664e25 Allow for default GOPATH 2018-01-04 14:38:20 -05:00
James Phillips 96b47875ad
Merge pull request #3770 from akrymets/patch-1
Update checks.html.md
2018-01-03 18:32:53 -08:00
James Phillips 584a136906
Update checks.html.md 2018-01-03 18:32:42 -08:00
James Phillips 10ac6a9f98
Merge pull request #3775 from bagerard/fix_doc
fix in documentation
2018-01-03 13:42:39 -08:00
James Phillips 3a4f07abf6
Merge pull request #3776 from rskrishnar/add-missing-part-of-doc
add missing 'Port' description in register service doc
2018-01-03 13:41:46 -08:00
James Phillips 2c78d3960c
Merge pull request #3780 from hashicorp/monkey-patch-trace
Updates go-discover to get monkey patch for golang.org/x/net/trace.
2018-01-03 13:24:00 -08:00
James Phillips aaf43f999b
Updates go-discover to get monkey patch for golang.org/x/net/trace. 2018-01-03 13:22:42 -08:00
RS Krishna 88a73bd3e7 add missing Port description in register service doc 2017-12-31 22:10:35 +05:30
Bastien Gérard 967a1de1ed fix in documentation 2017-12-31 09:48:16 +01:00
Andrii Krymets 5131201736
Update checks.html.md
1. Replace deprecated "script" option with "args" in check definition examples
(Not sure in correctness of arguments splitting)
2017-12-27 17:23:29 +02:00
Diptanu Choudhury 3858317ac9 Updated docs 2017-12-21 20:37:13 -08:00
Diptanu Choudhury 294151c1ad Using labels 2017-12-21 20:30:29 -08:00
Diptanu Choudhury 7f28391cbf Added docs 2017-12-21 16:58:39 -08:00
Diptanu Choudhury 006eab2394 Added telemetry around Catalog APIs 2017-12-21 16:35:12 -08:00