Commit Graph

447 Commits

Author SHA1 Message Date
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
Alex Dadgar
eec0e3e9d6 inspect/stop uses prefix search 2016-03-21 13:00:14 -07:00
Alex Dadgar
52347d42f9 Add nomad inspect command 2016-03-21 12:46:35 -07:00
Diptanu Choudhury
7e1e8a42de Merge pull request #941 from hashicorp/f-interface-name
Use an interface name to find the bind addr for rpc, http and serf components
2016-03-20 23:57:44 -07:00
Diptanu Choudhury
f8db94671e Overriding the device configuration if addresses is present 2016-03-20 23:41:16 -07:00
Diptanu Choudhury
c25be74061 Added a comment about iteration of ips in a network device 2016-03-20 23:22:16 -07:00
Alex Dadgar
afbc8621ee less verbose output and show node's total resources 2016-03-20 17:36:40 -07:00
Alex Dadgar
63e172747a Reduce verbosity of alloc-status 2016-03-20 16:52:24 -07:00
Diptanu Choudhury
97f56d6cc1 Using the interfaces for configuring bind addrs for nomad servers 2016-03-19 00:54:19 -07:00
Diptanu Choudhury
ce29ce5b53 Setting the ip from the network interface to Addresses 2016-03-18 22:26:13 -07:00
Diptanu Choudhury
fa52d4921c Parsing interfaces from the config file 2016-03-18 22:05:57 -07:00
Diptanu Choudhury
ab4b1e1f09 Using the interface name to find bind address for network services 2016-03-18 21:44:22 -07:00
Diptanu Choudhury
c51db58509 Added an interfaces config 2016-03-18 13:50:29 -07:00
Jake Champlin
54ba2c025f Allow fs commands to use job-id
Adds `-job` flag argument to `nomad fs` commands to randomly lookup a
job's allocation-id to use in an `fs` command.

Can be used when debugging a job, where a specific allocation ID is not
a strict requirement.
2016-03-18 15:05:35 -04:00
Diptanu Choudhury
929a0783e4 Merge pull request #936 from hashicorp/always-prefix-match
Always defaulting to prefix match
2016-03-17 17:26:52 -07:00