Commit Graph

461 Commits

Author SHA1 Message Date
Diptanu Choudhury
8c5aa0fe65 Added some docs 2016-05-14 00:36:26 -07:00
Diptanu Choudhury
947c481a45 Merge branches 'master' and 'f-config-consul-block' of github.com:hashicorp/nomad into f-config-consul-block 2016-05-13 13:05:11 -07:00
Diptanu Choudhury
b2c18168a4 Making Nomad register services with consul in dev mode 2016-05-13 10:19:49 -07:00
Diptanu Choudhury
2216944676 Fixed an agent test 2016-05-11 17:26:53 -07:00
Diptanu Choudhury
de660c4acf Removed allocID and task name from consul service 2016-05-11 16:26:41 -07:00
Diptanu Choudhury
a2237a6057 Implemented registering client and server services 2016-05-11 16:07:02 -07:00
Sean Chittenden
47146b9b87 Fix the unit tests for TestPrettyPrintOff
A different failing test masked that this wasn't even being run.

Pointy Hat: sean- for testing first on Travis in a branch vs verifying locally
2016-05-11 15:48:43 -07:00
Diptanu Choudhury
7b720afd86 Added tests for parsing consul client configuration 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
e5f0d7e531 Adding logic for checking health of client 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
d32757b03e Added a check command 2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2c1611c8cc Added parsing logic for config block 2016-05-11 15:22:58 -07:00
Sean Chittenden
1e8d6eb283 Fix unit tests for TestPrettyPrintBare 2016-05-11 15:20:57 -07:00
Sean Chittenden
534156d9eb Update tests for pretty printing that includes a newline.
Add a test verifying that pretty printing can be disabled, too.
2016-05-11 10:55:01 -07:00
Sean Chittenden
08aa82b483 Append a newline when pretty-printing the response
Instead of typing `curl http://foo/v1/nodes?pretty; echo` to inject a
newline into your terminal, now pretty will provide its own newline.
2016-05-10 15:46:20 -07:00
Sean Chittenden
65d80a64e0 When checkpoint emits a log message indicating an agent is out of
date, include the current version along with the available version
according to checkpoint.

Inspired by: log output in hashicorp/consul#993
2016-05-04 23:56:37 -07:00
Alex Dadgar
b6585fc50c Better error handling 2016-04-22 15:59:56 -07:00
Alex Dadgar
37a0c2065b Fix missing format variable 2016-04-18 18:53:05 -07:00
Alex Dadgar
47d694d710 Merge pull request #1090 from hashicorp/f-inspect-submittable
Make inspect output submittable via HTTP API
2016-04-13 17:18:54 -07:00
Alex Dadgar
0c88b6b6ba Merge pull request #1089 from hashicorp/f-validate-driver-on-submit
Validate driver config on job register
2016-04-13 16:54:59 -07:00
Alex Dadgar
20a009e180 Make inspect output submittable 2016-04-13 16:53:39 -07:00
Alex Dadgar
090c1b1448 Lower number of submitted jobs 2016-04-13 16:33:30 -07:00
Alex Dadgar
3896cfb56f check for exact match on job for inspect/stop 2016-04-13 16:05:58 -07:00
Alex Dadgar
6c32b1ebd8 Validate driver config on job register 2016-04-13 15:55:46 -07:00
Alex Dadgar
b63f3bb078 Periodic jobs always are evaluated in UTC TZ 2016-04-12 09:47:25 -07:00
Alex Dadgar
e6e3225c5c Add -self flag to node-drain 2016-04-11 15:20:49 -07:00
Diptanu Choudhury
d8d24c0a8a Merge pull request #1053 from hashicorp/remove-interfaces
removing interfaces from config
2016-04-09 09:18:17 -07:00
Alex Dadgar
bc631c4667 Merge pull request #1052 from iverberk/b-fix-panic-on-fs-job-parameter
Fixes a panic when fs commands with a job parameter return zero allocations
2016-04-08 11:27:20 -07:00
Alex Dadgar
da543308f2 Sort the task resources in alloc-status 2016-04-07 14:55:48 -07:00
Ivo Verberk
13e670159b Make sure we exit on errors 2016-04-07 22:56:17 +02:00
Diptanu Choudhury
1e9fa644a4 removing interfaces from config 2016-04-07 13:25:38 -07:00
Ivo Verberk
b7bc3aae6f Fixes a panic when fs commands with a job parameter return zero allocations 2016-04-07 20:22:09 +02:00
Diptanu Choudhury
b31b6b5d6e Showing the status of the first job when it's prefixed matched and the user input matched exact 2016-03-30 22:17:41 -07:00
Alex Dadgar
a4e4819716 run -output adds job key 2016-03-29 15:02:14 -07:00
Alex Dadgar
3fbe8a1642 node-status -self command and docs 2016-03-29 12:36:24 -07:00
Alex Dadgar
0b1ecce6ed Merge pull request #997 from hashicorp/fs-cat-api
Added the /fs/cat/ api
2016-03-28 14:14:47 -07:00
Diptanu Choudhury
c8f74a3d9c Added the /fs/cat/ api 2016-03-28 11:06:22 -07:00
Diptanu Choudhury
3259593b28 Fixes the logic for job-stop confirmation prompt 2016-03-27 19:21:23 -07:00
Diptanu Choudhury
66b67e5994 Fixes the logic for node drain confirmation prompt 2016-03-27 19:17:29 -07:00
Alex Dadgar
fb2534084f nomad run -output emits the JSON representation of the job 2016-03-25 18:24:51 -07:00
Alex Dadgar
6e779b863e Explain restart decision and display in alloc-status 2016-03-25 12:47:14 -07:00
Alex Dadgar
aaff02ca49 Merge pull request #978 from hashicorp/f-enforce-user
Operator specifiable blacklist for task's using certain users
2016-03-25 12:44:05 -07:00
Alex Dadgar
a9575287d7 Merge pull request #983 from hashicorp/f-destroy-conf
Confirmation on destructive commands
2016-03-25 10:31:38 -07:00
Alex Dadgar
f1b485511e Confirmation on destructive commands 2016-03-24 14:43:20 -07:00
Pete Shima
80f28ebf0b Move update servers cli output to the correct commands location 2016-03-24 13:31:23 -07:00
Alex Dadgar
cd89a97529 Operator specifiable blacklist for task's using certain users 2016-03-24 10:55:14 -07:00
Alex Dadgar
2417f531b2 Merge pull request #965 from hashicorp/f-nomad-fingerprinter
client: add nomad fingerprinter
2016-03-22 17:55:42 -07:00
Alex Dadgar
b818379576 add nomad fingerprinter 2016-03-22 17:12:30 -07:00
Alex Dadgar
0872c8effd node-status fix panic 2016-03-22 16:25:25 -07:00
Alex Dadgar
9544291833 Fix indentation of init file 2016-03-21 18:16:57 -07:00
Alex Dadgar
b0d10b1409 Merge pull request #952 from hashicorp/f-nomad-inspect
cli: Add nomad inspect command
2016-03-21 13:01:48 -07:00