Commit graph

2760 commits

Author SHA1 Message Date
Jake Champlin e053511232 Use net.JoinHostPort 2016-01-29 05:39:28 -05:00
Jake Champlin 78814cba28 Spelling 2016-01-29 05:11:50 -05:00
Jake Champlin 729742e575 Document Agent config as well 2016-01-29 00:20:17 -05:00
Jake Champlin 4102e95105 Add in some docs 2016-01-29 00:16:02 -05:00
Jake Champlin e2f0244776 Update agent_endpoint_test 2016-01-28 23:33:01 -05:00
Jake Champlin 9a6bd0d7fe Updates from comments, fix tests 2016-01-28 23:11:13 -05:00
Jake Champlin ee1be79093 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
Alex Dadgar 37d188ea73 Merge pull request #707 from hashicorp/h-stack-constraint-serialization
Memoized constraint string
2016-01-28 10:09:46 -08:00
Diptanu Choudhury f208b3bca7 Merge pull request #719 from ryanslade/patch-1
Replace "delay" with "interval" in Service Discovery docs
2016-01-28 09:12:57 -08:00
Ryan Slade cbd6d6217c Replace "delay" with "interval" in Service Discovery docs
Delay appears to be incorrect. 

I was unable to get Consul checks working until I changed it to "interval"
2016-01-28 11:09:59 +02:00
Diptanu Choudhury 8bbbfb188d Added synopsis of fs sub commands in the docs 2016-01-27 22:19:03 -08:00
Diptanu Choudhury 67088d7b05 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 8541c0072d Updated the changelog 2016-01-27 22:09:40 -08:00
Diptanu Choudhury 9e85ce3cc1 Not wrapping the stat errors 2016-01-27 22:08:06 -08:00
Diptanu Choudhury 0d56c4426a Added the docs 2016-01-27 22:05:22 -08:00
Diptanu Choudhury a3140cff3f Changing an error message 2016-01-27 21:43:52 -08:00
Diptanu Choudhury c265b610f1 Not trying to parse response if the body is not a json 2016-01-27 21:39:50 -08:00
Diptanu Choudhury 17b6db4465 Moving to subcommands for fs commands 2016-01-27 16:29:29 -08:00
Diptanu Choudhury 7878899cc4 Changed to fs-ls 2016-01-27 14:58:55 -08:00
Diptanu Choudhury f4e891b0c1 Formatting time to RFC822 2016-01-27 14:56:17 -08:00
Diptanu Choudhury 980bc19d10 Added more information about files 2016-01-27 14:20:10 -08:00
Diptanu Choudhury 0736f45937 Simplified the logic of detecting addrs 2016-01-27 13:34:01 -08:00
Diptanu Choudhury 4f28050d65 Removing the short option flag 2016-01-27 13:26:12 -08:00
Diptanu Choudhury cfea32067f Limiting the alloc and eval ids based on short/verbose flags 2016-01-27 12:56:38 -08:00
Diptanu Choudhury 82b2e24ff6 Added the short and verbose options 2016-01-27 12:53:25 -08:00
Diptanu Choudhury 2351f70590 Changed some comments, cli instructions etc 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 4a1d4ff69a Changed the api of the ReadAt API 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 2a9dd78572 Introducing an AllocFileInfo in the api package 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 4efcca20b1 Fixed a comment 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 69a17e2a29 Added the advertise http option to the client 2016-01-27 12:53:24 -08:00
Diptanu Choudhury e83130934d Using the bindAddr only when user hasn't overrident it 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 26d9554d02 Added some comments 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 2956f71519 Implemented prefix matching 2016-01-27 12:53:24 -08:00
Diptanu Choudhury 68c2164088 Added the cli for fs-cat 2016-01-27 12:53:23 -08:00
Diptanu Choudhury a70e5dbdc7 Added an impl for stating a file 2016-01-27 12:53:23 -08:00
Diptanu Choudhury edd3194a16 Added some comments 2016-01-27 12:53:23 -08:00
Diptanu Choudhury 1e9c817a52 Added the cli for listing alloc dir 2016-01-27 12:53:23 -08:00
Alex Dadgar 51cdddbeea Merge pull request #718 from hashicorp/f-bsd-make-compatibility
Allow compilation on BSD
2016-01-27 12:53:01 -08:00
Jake Champlin f40371963b 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 4332263048 standardize on <> for required flags 2016-01-27 12:00:31 -08:00
Alex Dadgar 5ed22f75d6 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 837ca9ab86 limit length of string, taking into account its length 2016-01-27 10:42:10 -08:00
Alex Dadgar d3f0464284 Merge pull request #714 from ryanslade/patch-1
Fix a typo
2016-01-27 10:14:45 -08:00
Alex Dadgar 5887a147e1 changelog 2016-01-27 10:14:24 -08:00
Alex Dadgar 6e876771cd 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 2ca09feec2 Fix vet 2016-01-27 09:23:57 -08:00
Ryan Slade e8b3ee3c69 Fix a typo 2016-01-27 17:49:32 +02:00
Ivo Verberk 2921cf0d92 Fix comment 2016-01-27 10:56:35 +01:00
Ivo Verberk 7f97dd8553 Only enable exec driver when cgroups are available
Make the exec driver fingerprinter periodic to disable the driver when
cgroups become unavailable.
2016-01-27 07:32:32 +01:00
Ivo Verberk 5f86e28974 Add a periodic cgroup fingerprinter 2016-01-27 07:22:25 +01:00