Commit graph

1125 commits

Author SHA1 Message Date
Gavin M. Roy 69f5dcf8dd Add the logo favicon to the webui 2014-07-22 12:42:24 -04:00
Armon Dadgar bf26a9160f consul: Defer serf handler until initialized. Fixes #254. 2014-07-22 09:36:58 -04:00
Armon Dadgar 9936ec93b6 Adding the deps file for 0.3.1 2014-07-21 11:34:10 -04:00
Armon Dadgar ed298b0336 website: Update dummy 2014-07-21 11:26:53 -04:00
Armon Dadgar 541081cefb Cutting v0.3.1 2014-07-21 10:58:37 -04:00
Armon Dadgar 84e5bd2727 agent: Provide better DNS setup error messages 2014-07-17 10:57:21 -07:00
Jack Pearkes a38eaa1e43 ui: scroll extra items on nodes/services
fixes #232
2014-07-17 09:48:38 -04:00
Armon Dadgar c13f9f2a98 agent: Fixing issue with excessive failed node filtering 2014-07-16 15:11:45 -07:00
Armon Dadgar 8b8184d942 website: remove old docs on the -encrypt flag 2014-07-15 09:50:49 -07:00
Armon Dadgar 5b2c79a77d Merge pull request #243 from nelhage/statsite
Fix statsite integration
2014-07-11 10:52:04 -07:00
Nelson Elhage 95f3ebcb43 While we're at it, make statsite_addr work at all. 2014-07-10 18:16:47 -07:00
Nelson Elhage c505b49bf8 There is no -statsite command-line flag. 2014-07-10 18:06:36 -07:00
Armon Dadgar ba8c0802c7 agent: Fixing passing filter. Fixes #241 2014-07-05 09:49:21 -07:00
Armon Dadgar 09bc613e48 Merge pull request #239 from bscofield/clarify-rpc-addr
Improve clarity around changing the `-client` param
2014-07-02 13:12:32 -07:00
Ben Scofield 14e282dca8 Improve clarity around changing the -client param
This is a small change that (IMO) makes more explicit the effect
of changing `-client` -- namely, that you'll have to provide
`-rpc-addr` to every other consul command you run.
2014-07-02 21:21:37 +02:00
Armon Dadgar 3b6e3d1846 website: Keep old bootstrapping docs 2014-07-01 15:02:42 -07:00
Armon Dadgar 358b473e01 Updating documentation for new bootstrap method 2014-07-01 15:02:26 -07:00
Armon Dadgar 020802f7a5 Merge pull request #233 from nelhage/tls-no-subjname
Restore the 0.2 TLS verification behavior.
2014-07-01 13:41:00 -07:00
Jack Pearkes 00d2fd99d8 Merge pull request #235 from nelhage/fix-make-rules
Fix a Makefile typo that was breaking Travis.
2014-06-29 21:20:47 -07:00
Nelson Elhage 84adb708db Fix a Makefile typo.
The broken .PHONY declaration is breaking Travis: 'make deps' is now a
no-op, because of the new 'deps' directory.
2014-06-29 18:22:44 -07:00
Nelson Elhage 627b2e455f Add some basic smoke tests for wrapTLSclient.
Check the success case, and check that we reject a self-signed
certificate.
2014-06-29 18:11:32 -07:00
Nelson Elhage 0a2476b20e Restore the 0.2 TLS verification behavior.
Namely, don't check the DNS names in TLS certificates when connecting to
other servers.

As of golang 1.3, crypto/tls no longer natively supports doing partial
verification (verifying the cert issuer but not the hostname), so we
have to disable verification entirely and then do the issuer
verification ourselves. Fortunately, crypto/x509 makes this relatively
straightforward.

If the "server_name" configuration option is passed, we preserve the
existing behavior of checking that server name everywhere.

No option is provided to retain the current behavior of checking the
remote certificate against the local node name, since that behavior
seems clearly buggy and unintentional, and I have difficulty imagining
it is actually being used anywhere. It would be relatively
straightforward to restore if desired, however.
2014-06-28 13:32:42 -07:00
Armon Dadgar 80b86c9ee9 Rename Expect to BootstrapExpect. Fixes #223. 2014-06-19 17:08:55 -07:00
Jack Pearkes a721c818de ui: display session name on list of sessions under locked key 2014-06-19 17:00:16 -04:00
Armon Dadgar 6f612895d3 Merge pull request #227 from pkwarren/rpc_typo
Fix a small typo in RPC docs.
2014-06-19 12:08:20 -07:00
Philip K. Warren 6e9af77bff Fix a small typo in RPC docs. 2014-06-19 13:53:43 -05:00
Armon Dadgar 406d19f483 consul: Minor cleanups 2014-06-18 16:15:28 -07:00
Armon Dadgar 45337371dc Merge branch 'robxu9-master' 2014-06-18 15:48:57 -07:00
Armon Dadgar e54ad5d878 Fixing merge conflict 2014-06-18 15:48:46 -07:00
Robert Xu fff6546c75 Minor cleanup to logic and testsuite.
Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 18:47:05 -04:00
Armon Dadgar df637c7070 CHANGELOG updates 2014-06-18 10:35:42 -07:00
Armon Dadgar 93034084ce agent: Fixing missing copy of RejoinAfterLeave flag. #110 2014-06-18 10:32:19 -07:00
Robert Xu a2fea2ce55 Utilise new raft.SetPeers() method, move expect logic to leader.go.
This way, we don't use EnableSingleMode, nor cause chaos adding peers.

Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-18 12:03:30 -04:00
Armon Dadgar be0554778d agent: Fix issues with re-registration. Fixes #216 2014-06-17 16:48:19 -07:00
Armon Dadgar fe5fadc6ea Merge branch 'pmarkert-semantic' 2014-06-17 12:50:44 -07:00
Armon Dadgar 87239044a5 Fix merge conflict 2014-06-17 12:50:35 -07:00
Mitchell Hashimoto 90249629c3 Update leader-election.html.markdown 2014-06-17 09:41:59 -07:00
Mitchell Hashimoto 27fec33034 Merge pull request #217 from zembutsu/patch-2
website: fix typos
2014-06-17 09:41:42 -07:00
Jack Pearkes 26050493a2 Merge pull request #219 from pmarkert/master
Fixing small website typos
2014-06-17 07:55:34 -07:00
Phillip Markert 4db6d83f44 website: Fixed semantic meaning of upstream in DNS guide 2014-06-17 10:02:44 -04:00
Phillip Markert fd2380bfc0 website: Format hyperlink inside HTML literal 2014-06-17 09:55:17 -04:00
Phillip Markert 5a345164c7 website: Fixing small typos in guides section 2014-06-17 09:55:00 -04:00
Masahito Zembutsu e262bdc35c fix typos 2014-06-17 21:02:01 +09:00
Robert Xu 31c392813c Add expect bootstrap '-expect=n' mode.
This allows for us to automatically bootstrap a cluster of nodes after
'n' number of server nodes join. All servers must have the same 'n' set, or
they will fail to join the cluster; all servers will not join the peer set
until they hit 'n' server nodes.

If the raft commit index is not empty, '-expect=n' does nothing because it
thinks you've already bootstrapped.

Signed-off-by: Robert Xu <robxu9@gmail.com>
2014-06-16 17:40:33 -04:00
Armon Dadgar 0577ec21a8 agent: Copy ServerName config 2014-06-13 11:27:44 -07:00
Armon Dadgar 91373968a8 Adding server_name configuration for TLS 2014-06-13 11:10:27 -07:00
Armon Dadgar 355a62496c Adding the build versions 2014-06-13 10:16:56 -07:00
Armon Dadgar 46a5faa388 Cutting v0.3.0 2014-06-13 10:11:53 -07:00
Armon Dadgar 39f61e462c Merge pull request #212 from rbg/master
Seems like we should actually check the reference count.
2014-06-13 09:59:56 -07:00
Armon Dadgar 0188d95c95 Merge pull request #210 from robholland/patch-1
Improve clarity of ?keys behaviour.
2014-06-13 09:57:47 -07:00