Alex Dadgar
2b09a4c302
improve help message for fs missing input
2016-05-16 11:08:28 -07:00
Alex Dadgar
9272de88ca
Merge pull request #1150 from hashicorp/f-fs-command
...
Refactor fs subcommands into fs command
2016-05-16 11:05:29 -07:00
Jake Champlin
c1ef910f4d
Update per comments
2016-05-16 13:17:37 -04:00
Sean Chittenden
29be52f762
Speling police
2016-05-15 09:41:34 -07:00
Diptanu Choudhury
9c60703e52
Testing if stats is present and it is a map
2016-05-14 01:20:51 -07:00
Diptanu Choudhury
f2de4f2019
Using advertise addr for the http address
2016-05-14 01:09:05 -07:00
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
Jake Champlin
d4b8133220
Refactor fs subcommands into fs command
...
Refactors `nomad fs` command to eliminate `fs` subcommands.
Automatically displays the file, if the path specified is a file; lists
the directory if the path is a directory; or displays stat information
if the `-stat` flag is set.
Currently running `nomad fs ls` to find a file, then running the exact
same command with the exception of `cat` instead of `ls` is time
consuming and awkward. This allows operational testing to be greatly
enhanced, and makes our lives so much better.
2016-05-04 23:59:38 -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