Commit graph

10502 commits

Author SHA1 Message Date
Preetha Appan eaedffc7f7
Fix go vet errors 2018-02-28 12:21:27 -06:00
Chelsea Holland Komlo b4b0c7cdcf fix up linting 2018-02-28 12:58:44 -05:00
Chelsea Holland Komlo 355805db56 reset timer after updating node copy 2018-02-27 17:18:10 -05:00
Michael Lange a503fbe73c In the event the server also times out, show an error message 2018-02-27 13:38:31 -08:00
Jainin Shah 6eb7da002f changing the formula to correctly pass the CPUQota to docker 2018-02-27 12:32:23 -08:00
Michael Schurter 891db3ef4e
Merge pull request #3912 from maihde/issue-3881
Update vendor package github.com/shirou/gopsutil/process, resolves #3881
2018-02-27 11:20:39 -08:00
Chelsea Holland Komlo a72aaaf47f add network resources equal method, use time ticker
remove impossible test case
2018-02-27 12:42:53 -05:00
Michael Ihde 359e1f3497 Update vendor package github.com/shirou/gopsutil/process, resolves #3881 2018-02-26 22:34:44 -05:00
Michael Lange d5254c1563
Merge pull request #3845 from hashicorp/f-ui-node-meta
UI: Add client meta attributes to the client detail page
2018-02-26 16:53:06 -08:00
Michael Lange 16daba97e1 Cleanup following review 2018-02-26 16:35:41 -08:00
Chelsea Holland Komlo e736e31820 use time ticker, update how network resources are compared 2018-02-26 18:47:11 -05:00
Preetha 80cd635cb4
Merge pull request #3889 from hashicorp/f-reconciler-bugfix
Fixes bug in reconciler where previously rescheduled allocs
2018-02-26 16:56:30 -06:00
Chelsea Holland Komlo 5059065b52 improved testing; node networks comparison 2018-02-26 15:55:38 -05:00
csawyerYumaed 88ed5ad112
Template docs, add vault PKI integration example.
Update the template documentation, and add a vault PKI integration example.
2018-02-26 12:41:39 -08:00
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