Commit Graph

2647 Commits

Author SHA1 Message Date
Jake Champlin
38bf85b3cb Update agent_endpoint_test 2016-01-28 23:33:01 -05:00
Jake Champlin
fed8184da1 Updates from comments, fix tests 2016-01-28 23:11:13 -05:00
Jake Champlin
fb92f83714 Allow ports to be optional when adding servers
When updating a clients servers, as nomad does not use the gossip
protocol over a specified port for clients, it was required to specify
ports along with server addresses.

Now specifying ports are optional, and if unspecified the default `4647`
port is used, reflecting a notice back to the user.
2016-01-28 22:08:28 -05:00
Diptanu Choudhury
fc95782f20 Added synopsis of fs sub commands in the docs 2016-01-27 22:19:03 -08:00
Diptanu Choudhury
82f5dba678 Merge pull request #709 from hashicorp/f-fs-cli
Added the cli for inspecting alloc dir
2016-01-27 22:14:06 -08:00
Diptanu Choudhury
3ed1df3b63 Updated the changelog 2016-01-27 22:09:40 -08:00
Diptanu Choudhury
8d3cc75f14 Not wrapping the stat errors 2016-01-27 22:08:06 -08:00
Diptanu Choudhury
a2e037ace7 Added the docs 2016-01-27 22:05:22 -08:00
Diptanu Choudhury
11de167af1 Changing an error message 2016-01-27 21:43:52 -08:00
Diptanu Choudhury
0f9657d122 Not trying to parse response if the body is not a json 2016-01-27 21:39:50 -08:00
Diptanu Choudhury
3bec55e0af Moving to subcommands for fs commands 2016-01-27 16:29:29 -08:00
Diptanu Choudhury
edc112f138 Changed to fs-ls 2016-01-27 14:58:55 -08:00
Diptanu Choudhury
68269b5f39 Formatting time to RFC822 2016-01-27 14:56:17 -08:00
Diptanu Choudhury
12ffecf021 Added more information about files 2016-01-27 14:20:10 -08:00
Diptanu Choudhury
d0fbdd8689 Simplified the logic of detecting addrs 2016-01-27 13:34:01 -08:00
Diptanu Choudhury
641dbd9a68 Removing the short option flag 2016-01-27 13:26:12 -08:00
Diptanu Choudhury
bd2cbfce8f Limiting the alloc and eval ids based on short/verbose flags 2016-01-27 12:56:38 -08:00
Diptanu Choudhury
58d0529940 Added the short and verbose options 2016-01-27 12:53:25 -08:00
Diptanu Choudhury
a081fecbfa Changed some comments, cli instructions etc 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
a906b7747b Changed the api of the ReadAt API 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
9491295027 Introducing an AllocFileInfo in the api package 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
c6d4f00526 Fixed a comment 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
90840eaf29 Added the advertise http option to the client 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
8915619093 Using the bindAddr only when user hasn't overrident it 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
9b3b0f4a7e Added some comments 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
57379e1de8 Implemented prefix matching 2016-01-27 12:53:24 -08:00
Diptanu Choudhury
d706878112 Added the cli for fs-cat 2016-01-27 12:53:23 -08:00
Diptanu Choudhury
a2db48ec60 Added an impl for stating a file 2016-01-27 12:53:23 -08:00
Diptanu Choudhury
89452e7a9c Added some comments 2016-01-27 12:53:23 -08:00
Diptanu Choudhury
40a205f466 Added the cli for listing alloc dir 2016-01-27 12:53:23 -08:00
Alex Dadgar
800fef3363 Merge pull request #718 from hashicorp/f-bsd-make-compatibility
Allow compilation on BSD
2016-01-27 12:53:01 -08:00
Jake Champlin
ee1b41622b Allow compilation on BSD
BSD Make uses `$.CURDIR` instead of `$CURDIR`. BSD and GNU share `$PWD`
though, so it works as a drop in replacement.

Also update scripts in `scripts/` to call `/usr/bin/env` in the shebang,
as BSD places `bash` at `/usr/local/bin/bash` instead of `/bin/bash`
2016-01-27 20:37:29 -05:00
Alex Dadgar
bdb8512522 standardize on <> for required flags 2016-01-27 12:00:31 -08:00
Alex Dadgar
8589a82cd5 Merge pull request #717 from hashicorp/b-status-panic
Limit length of string, taking into account its length
2016-01-27 11:54:52 -08:00
Alex Dadgar
4836bd5656 limit length of string, taking into account its length 2016-01-27 10:42:10 -08:00
Alex Dadgar
3a543ad81a Merge pull request #714 from ryanslade/patch-1
Fix a typo
2016-01-27 10:14:45 -08:00
Alex Dadgar
1a23103ac4 changelog 2016-01-27 10:14:24 -08:00
Alex Dadgar
6d7202309e Merge pull request #708 from hashicorp/f-feasibility-node-classes
Stack uses computed node class to minimize number of feasibility checks
2016-01-27 10:12:53 -08:00
Alex Dadgar
d3f74ce5b8 Fix vet 2016-01-27 09:23:57 -08:00
Ryan Slade
f681f57eb0 Fix a typo 2016-01-27 17:49:32 +02:00
James Phillips
f0700457ba Merge pull request #710 from hashicorp/b-typos
Cleans up some small typos in the service discovery page.
2016-01-26 21:21:36 -08:00
James Phillips
2eaf8669b9 Cleans up some small typos in the service discovery page. 2016-01-26 21:09:03 -08:00
Alex Dadgar
6aefa16578 Fix GetNode test 2016-01-26 17:57:53 -08:00
Alex Dadgar
c4f1952a08 Update the interpretation of node.id/name on the client 2016-01-26 17:38:36 -08:00
Alex Dadgar
49238770c6 EvalEligibility unit tests and simplify escaped constraint tracking 2016-01-26 17:34:41 -08:00
Alex Dadgar
450252f8ae Respond to comments 2016-01-26 16:43:42 -08:00
Alex Dadgar
97070f44f8 Add benchmark 2016-01-26 15:16:43 -08:00
Alex Dadgar
7929ee76dc Change the unique namespace on the node 2016-01-26 15:16:43 -08:00
Alex Dadgar
0ad3575897 FeasibilityWrapper uses computed node class eligibility to call feasibility checks minimally 2016-01-26 15:16:43 -08:00
Alex Dadgar
a90c1273ed EvalEligibility in context 2016-01-26 15:16:43 -08:00