Commit Graph

7375 Commits (b6080910144a08e24ed11bde5f3eedb995851c19)

Author SHA1 Message Date
Andrei Burd b608091014 adding human readability for dns requests debug log (#3751) 2018-02-11 09:02:28 -06:00
Tomáš Bedřich e4792dbbee Update check script exit code explanation (#3882)
Change misleading formulation which might imply, that any non-zero code is enough to mark check as failing.
(https://www.consul.io/docs/agent/checks.html#check-scripts)
2018-02-11 08:30:40 -06:00
Kyle Havlovitz c3e94970a0
Add gRPC fields to client api and agent check endpoint docs 2018-02-09 16:02:27 -08:00
Kyle Havlovitz 7acc1d6dbc
Puts the tree back into dev mode 2018-02-09 10:25:58 -08:00
Preetha Appan 707c5c7204
Updates download version to 1.0.6 2018-02-09 12:21:18 -06:00
Preetha Appan 9a494b5fb9
Release v1.0.6 2018-02-09 12:00:27 -06:00
Preetha Appan f9a418108e
Puts tree in release mode for 1.0.6 2018-02-09 11:45:56 -06:00
Preetha e0bed0fe8b
Update CHANGELOG.md 2018-02-09 11:41:35 -06:00
James Phillips 0960112cad
Bumps Go version back down to 1.9.3.
See #3879.
2018-02-08 19:42:53 -08:00
James Phillips 9ae9ab0fe9
Updates the change log. 2018-02-08 18:47:30 -08:00
James Phillips 4f664595e2
Merge pull request #3878 from hashicorp/issue-3877
Fixes a panic on TCP-based DNS lookups.
2018-02-08 18:45:54 -08:00
James Phillips 3724e49ddf
Fixes a panic on TCP-based DNS lookups.
This came in via the monkey patch in #3861.

Fixes #3877
2018-02-08 17:57:41 -08:00
James Phillips 94ea08d066
Adds a basic INTERNALS.md guide with some pointers into the code. 2018-02-08 17:05:36 -08:00
Preetha d6030459cc
Update CHANGELOG.md 2018-02-08 17:23:17 -06:00
Preetha dfd484c090
Fix panic in azure go discover provider (#3876) 2018-02-08 16:46:33 -06:00
James Phillips 3a49730503
Merge pull request #3873 from hashicorp/travis-redux
Makes Travis build a little more reliable.
2018-02-07 21:18:01 -08:00
James Phillips 18335da27e
Bumps the standard retry up. 2018-02-07 18:03:39 -08:00
James Phillips beee26cd48
Makes Travis build run less parallel.
This makes it run less packages in parallel as well as less parallel tests per package.
2018-02-07 17:17:00 -08:00
James Phillips cc58166245
Updates the change log. 2018-02-07 17:11:03 -08:00
James Phillips e2392ae216
Merge pull request #3872 from hashicorp/go-1.9.4
Bumps Go version to 1.9.4.
2018-02-07 17:09:57 -08:00
James Phillips 1a5d06ba05
Bumps Go version to 1.9.4. 2018-02-07 17:09:48 -08:00
Preetha Appan 1ad26e8050
Puts tree back in dev mode 2018-02-07 15:25:36 -06:00
Preetha Appan 82c8e6c9f2
Update CHANGELOG 2018-02-07 15:25:17 -06:00
Kyle Havlovitz f80cebaef3
Bump download version to 1.0.5 2018-02-07 12:50:12 -08:00
Preetha Appan 09f90c9bfa
Release v1.0.5 2018-02-07 14:32:42 -06:00
Preetha Appan ef145af930
Puts version in 1.0.5 release mode 2018-02-07 14:28:50 -06:00
Preetha Appan 1719513f2c
Update CHANGELOG with release date 2018-02-07 14:28:03 -06:00
James Phillips 7f4789d93e
Update CHANGELOG.md 2018-02-07 10:45:40 -08:00
James Phillips 2ca87652b4
Updates the change log. 2018-02-07 08:08:17 -08:00
James Phillips abdf4feaf7
Merge pull request #3867 from hashicorp/churn-fix
Fixes accidental state store updates from output-side fixups.
2018-02-07 08:04:16 -08:00
James Phillips fbfe0c65a7
Switches to HashiCorp fork of jteeuwen/go-bindata.
This was reported in #3868. We make a HashiCorp hard fork of the
jteeuwen/go-bindata hard fork that was replaced and diffed the code
against a Dec 1, 2015 copy of the original repository we had as a
cross-check of that hard fork.

This replaces references to jteeuwen/go-bindata to point to the
HashiCorp fork.

Fixes #3868
2018-02-07 07:39:10 -08:00
James Phillips c2a59f1e6c
Addresses additional state mutations.
Did a sweep of 84d6ac2d51
and checked them all.
2018-02-07 07:02:10 -08:00
James Phillips 1c6de1d623
Fixes all the racy output-side updates to tags. 2018-02-06 20:35:55 -08:00
James Phillips 11f6961e47
Adds a more robust unit test for index churn. 2018-02-06 20:35:38 -08:00
James Phillips e5d76d6af4
Rolls back to 1.0.3 release for downloads. 2018-02-06 16:56:15 -08:00
Preetha Appan 2ea47271ce
Puts version.go into dev mode 2018-02-06 18:01:47 -06:00
Preetha Appan 996c84d42f
Puts the tree back into dev mode 2018-02-06 17:56:22 -06:00
Preetha Appan 93970e4c20
Update version for downloads 2018-02-06 15:48:59 -06:00
Preetha Appan 95587edeca
Release v1.0.4 2018-02-06 15:17:10 -06:00
Preetha Appan 484bb9721e
Bumps tree to 1.0.4 release mode 2018-02-06 15:07:54 -06:00
Preetha Appan f7d49e6ecc
Release prep 2018-02-06 15:06:23 -06:00
James Phillips ea0ef93d41
Updates the change log. 2018-02-05 18:15:31 -08:00
James Phillips 99a365179f
Merge pull request #3864 from hashicorp/proactive-fail
Makes server manager shift away from failed servers from Serf events.
2018-02-05 18:12:23 -08:00
James Phillips d9a6e2a901
Makes server manager shift away from failed servers from Serf events.
Because this code was doing pointer equality checks, it would work for
the case of a failed attempted RPC because the objects are from the
manager itself:

https://github.com/hashicorp/consul/blob/v1.0.3/agent/consul/rpc.go#L283-L302

But the pointer check would always fail for events coming in from the
Serf path because the server object is newly-created:

https://github.com/hashicorp/consul/blob/v1.0.3/agent/router/serf_adapter.go#L14-L40

This means that we didn't proactively shift RPC traffic away from a
failed server, we'd have to wait for an RPC to fail, which exposes
the error to the calling client.

By switching over to a name check vs. a pointer check we get the correct
behavior. We added a DEBUG log as well to help observe this behavior during
integrated testing.

Related to #3863 since the fix here needed the same logic duplicated, owing
to the complicated atomic stuff.

/cc @dadgar for a heads up in case this also affects Nomad.
2018-02-05 17:56:00 -08:00
James Phillips 0123d9db2e
Updates the change log. 2018-02-05 16:21:06 -08:00
James Phillips fc155dac19
Adds a before/after test for #3845. 2018-02-05 16:18:29 -08:00
James Phillips 533f65b7a6
Merge pull request #3845 from 42wim/tagfix
Fix service tags not added to health check. Part two
2018-02-05 16:18:00 -08:00
Preetha 5d48b38315
Moved DNS vendor update to security section 2018-02-05 17:52:27 -06:00
Preetha 7c013ce594
Update CHANGELOG.md 2018-02-05 17:35:46 -06:00
Preetha Appan a431f8391b
Update CHANGELOG 2018-02-05 17:34:33 -06:00