Commit graph

10638 commits

Author SHA1 Message Date
Chelsea Holland Komlo b7bcd0b59f fingerprinters accessing node information should be thread safe 2018-02-26 15:25:54 -05:00
Michael Lange dc72ac2bc7 Fallback to using the nomad server for log streaming
Only when the client isn't accessible
2018-02-26 12:23:47 -08:00
Michael Lange 470b8131bd Get client stats through the server agent 2018-02-26 12:23:47 -08:00
Michael Schurter 2228e1fd0c
Merge pull request #3897 from hashicorp/f-docs-command-with-output
Removed text between command and output
2018-02-26 10:47:22 -08:00
Michael Schurter c1d903497c
Merge pull request #3902 from filipochnik/patch-1
Add missing backticks in cap_add and cap_drop docs
2018-02-26 09:45:37 -08:00
Chelsea Holland Komlo 1f31b39fe8 code review fixups 2018-02-26 12:36:30 -05:00
Chelsea Holland Komlo ed8c8afbcd edge trigger node update
test update config copy trigger
2018-02-26 12:36:04 -05:00
Filip Ochnik 756d1358bd
Add missing backticks in cap_add and cap_drop docs 2018-02-24 10:27:23 +01:00
Charlie Voiselle 0a9f2a65f2 Removed text between command and output
Removed some low-value text between the example command and the sample output.
2018-02-22 16:36:13 -05:00
Charlie Voiselle 64badc3562
Merge pull request #3704 from matosf/patch-1
removed duplicate stats command from output
2018-02-22 10:24:50 -05:00
Charlie Voiselle 3f7e0b90c5
Removing text between command and output
Per @dadgar's review and @matosf yielding in comments so we can get this correction merged.
2018-02-22 10:22:00 -05:00
Alex Dadgar 2291489cbf Merge branch 'master' of github.com:hashicorp/nomad 2018-02-20 16:39:09 -08:00
Alex Dadgar ebe9ee1514 changelog 2018-02-20 16:38:59 -08:00
Preetha Appan 1fa50d22d3
Disables verbose mode in travis 2018-02-20 18:38:18 -06:00
Alex Dadgar 483e011720
Merge pull request #3892 from hashicorp/f-tunnel
Client RPC Endpoints, Server Routing and Streaming RPCs
2018-02-20 16:35:42 -08:00
Alex Dadgar aa6b3acfa7
Merge pull request #3877 from hashicorp/f-tls
Add TLS to streaming RPCs
2018-02-20 16:09:45 -08:00
Preetha Appan 7b6ba7a1f4
Fixes bug in reconciler where previously rescheduled allocs are rescheduled again. Simplified logic and added test case to catch this. 2018-02-20 12:07:56 -06:00
Charlie Voiselle 3e4f6dfa25
Merge pull request #3867 from c4milo/patch-1
docs: Fix a very small typo
2018-02-20 10:11:22 -05:00
Charlie Voiselle 5915e2d686
Merge pull request #3887 from johncowen/d-metrics-404-link
Fix erroneous metrics link + code block typo on the metrics page
2018-02-20 10:10:48 -05:00
John Cowen 28dd41c419 Fix erroneous metrics link + code block typo on the metrics page 2018-02-20 15:00:56 +00:00
Alex Dadgar 8b86e64fd8 Show HTTP request method 2018-02-16 15:55:26 -08:00
Alex Dadgar e916940cfb vet 2018-02-15 17:08:58 -08:00
Alex Dadgar eff4455c68 Fix original client server list behavior 2018-02-15 16:04:53 -08:00
Alex Dadgar 0ebf7f3b7f remove tmp file 2018-02-15 15:51:27 -08:00
Alex Dadgar 6810c66bd8 Fix autopilot tests 2018-02-15 15:48:32 -08:00
Alex Dadgar f9fd1ce98c fix unknown rpc tests 2018-02-15 15:29:31 -08:00
Alex Dadgar f9cf642436 Client tls 2018-02-15 15:22:57 -08:00
Alex Dadgar a1faab0e58 Server TLS 2018-02-15 15:03:12 -08:00
Alex Dadgar bdefb9f2c7 doc improvements 2018-02-15 13:59:03 -08:00
Alex Dadgar 5b9806590b add logging 2018-02-15 13:59:03 -08:00
Alex Dadgar 4c60a7ea40 improve test 2018-02-15 13:59:03 -08:00
Alex Dadgar 0715a4884b fix test 2018-02-15 13:59:03 -08:00
Alex Dadgar a8908ad380 Fix incorrect deletion of node conn
This PR fixes an issue where if the client has multiple connections to a
server, a single connection closing would cause the routing to the node
to be lost.
2018-02-15 13:59:03 -08:00
Alex Dadgar 57a0b7a774 allow setting timeout on any api config 2018-02-15 13:59:03 -08:00
Alex Dadgar 94d8086492 Update client2.hcl 2018-02-15 13:59:03 -08:00
Alex Dadgar aa98f8ba7b Enhance API pkg to utilize Server's Client Tunnel
This PR enhances the API package by having client only RPCs route
through the server when they are low cost and for filesystem access to
first attempt a direct connection to the node and then falling back to
a server routed request.
2018-02-15 13:59:03 -08:00
Alex Dadgar 0e85ae77b4 fix flaky gc tests 2018-02-15 13:59:03 -08:00
Alex Dadgar 38b695b69c feedback and rebasing 2018-02-15 13:59:03 -08:00
Alex Dadgar c5e9ebb656 Use helper for forwarding 2018-02-15 13:59:03 -08:00
Alex Dadgar 9117ef4650 HTTP agent 2018-02-15 13:59:03 -08:00
Alex Dadgar d7029965ca Server side impl + touch ups 2018-02-15 13:59:02 -08:00
Alex Dadgar ce0caccad2 client implementation of alloc gc and stats 2018-02-15 13:59:02 -08:00
Alex Dadgar 14845bb918 Refactor determining the handler for a node id call 2018-02-15 13:59:02 -08:00
Alex Dadgar e685211892 Code review feedback 2018-02-15 13:59:02 -08:00
Alex Dadgar a9c4f8a4c8 clarify force 2018-02-15 13:59:02 -08:00
Alex Dadgar 317485e4f7 Streaming helper 2018-02-15 13:59:02 -08:00
Alex Dadgar dc75501c69 Respond to comments 2018-02-15 13:59:02 -08:00
Alex Dadgar 4aa8bdd4e1 Document server handling of client endpoints
This PR adds API documentation noting the change in 0.8 where servers
can handle client endpoints and annotated the endpoints that now have an
optional parameter to specify the node_id.
2018-02-15 13:59:02 -08:00
Alex Dadgar 64ad3119d0 Implement MultiplexV2 RPC handling
Implements and tests the V2 multiplexer. This will not be used until
several versions of Nomad have been released to mitigate upgrade
concerns.
2018-02-15 13:59:02 -08:00
Alex Dadgar cea77df6a7 Add Streaming RPC ack
This PR introduces an ack allowing the receiving end of the streaming
RPC to return any error that may have occured during the establishment
of the streaming RPC.
2018-02-15 13:59:02 -08:00