Commit Graph

1094 Commits

Author SHA1 Message Date
Alex Dadgar
8b1359c2d0 Fix canonicalization of services 2017-03-01 15:30:01 -08:00
Alex Dadgar
8538770be9 Fix plan 2017-03-01 14:50:26 -08:00
Alex Dadgar
b92e091a81 Handle periodic paramaterized jobs
Fixes https://github.com/hashicorp/nomad/issues/2382
2017-03-01 11:45:20 -08:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
b6991b3357 Allow random UUID 2017-02-27 13:42:37 -08:00
Alex Dadgar
e2d2911d06 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Alex Dadgar
e8e3bbeada Fix pointer dereference for stats 2017-02-25 13:36:23 -08:00
Sean Chittenden
6fc901a8f3 Change the default display name from the Circonus Instance ID to
`Nomad`.

The display name is already scoped to target/host.
2017-02-24 14:59:11 -08:00
Alex Dadgar
22969c07ea Node-status displays drivers
This PR adds the drivers that are enabled to the output of `nomad
node-status`
2017-02-22 18:54:28 -08:00
Alex Dadgar
c89d8247e6 Merge pull request #2302 from hashicorp/f-task-state-setup
Adding a task event for setup
2017-02-22 18:42:57 -08:00
Alex Dadgar
85a59d3852 Merge pull request #2347 from hashicorp/b-parse
Remove defaulting from parse and fix tests
2017-02-22 18:42:43 -08:00
Diptanu Choudhury
c80bdd9f5f Adding a task event for setup 2017-02-22 18:28:07 -08:00
Alex Dadgar
6c1673cbc5 Revert "Deregistering non-existant job returns 404" 2017-02-22 18:22:02 -08:00
Alex Dadgar
89b259b089 Fix wrong types 2017-02-22 16:56:51 -08:00
Alex Dadgar
eaa57878d9 Vendor + test fixes 2017-02-22 15:55:33 -08:00
Troy Swanson
fcbffba61a s/successfully/successful 2017-02-21 10:58:33 -06:00
Alex Dadgar
1ba2875393 Deregistering non-existant job returns 404
Fixes https://github.com/hashicorp/nomad/issues/2326
2017-02-20 20:10:21 -08:00
Alex Dadgar
ee76b78922 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar
69aa5db628 Add leader and timezone to conversion 2017-02-20 16:36:41 -08:00
Alex Dadgar
7cef0d7a6b fix pointer 2017-02-20 16:22:31 -08:00
Alex Dadgar
503746c7c4 Add defaulting test and fix types on the agent job endpoint tests 2017-02-20 15:53:56 -08:00
Alex Dadgar
76ab4b6448 Merge branch 'master' into refactor-parser 2017-02-20 15:13:21 -08:00
Alex Dadgar
fb4b6bdeb2 Merge pull request #2321 from hashicorp/f-timezone
Allow specification of timezones in Periodic Jobs
2017-02-17 11:32:14 -08:00
Diptanu Choudhury
aa820e9ccf Merge branch 'refactor-parser' of github.com:hashicorp/nomad into refactor-parser 2017-02-16 15:18:46 -08:00
Diptanu Choudhury
8557a89d38 Fixed cli tests 2017-02-16 15:18:38 -08:00
Alex Dadgar
ef00766e31 Fix CLI handling of parameterized/periodic jobs 2017-02-16 14:29:34 -08:00
Alex Dadgar
6debb3e03b Refactor test and fix them 2017-02-16 14:00:41 -08:00
Alex Dadgar
b6e0d12de7 Flatmap 2017-02-16 13:52:39 -08:00
Alex Dadgar
ea79a1475f Fix detection of missing port 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
592bc73a4c Making the job register endpoint use api.Job 2017-02-16 13:52:39 -08:00
Alex Dadgar
7eac718eea Use RC to see if cause of failure 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
67e6098f87 Removing un-neccessary conversions 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
b56764a0ec Fixed the nomad status command 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
5502a669e8 Added tests 2017-02-16 13:52:39 -08:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Alex Dadgar
c1e9ab69ca fix test 2017-02-15 16:28:28 -08:00
Alex Dadgar
03feb2efad Fix escaping 2017-02-15 15:14:47 -08:00
Alex Dadgar
8d101c0d25 Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar
1399cd6293 Fix interval breaking two tests 2017-02-14 17:06:30 -08:00
Alex Dadgar
cdce86251e Merge pull request #2308 from hashicorp/f-leader-task
Leader task
2017-02-14 11:03:32 -08:00
Alex Dadgar
826fb96799 Remove old vault status 2017-02-13 10:44:10 -08:00
Alex Dadgar
edbc84087c Add Leader support to client 2017-02-10 17:55:19 -08:00
Alex Dadgar
24995a6749 Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
David Bresson
a49759f1b8 avoid nil pointer dereference 2017-02-03 08:39:57 -08:00
David Bresson
1a6c67d106 extend config merge test to test merging to empty config 2017-02-03 08:35:18 -08:00
Diptanu Choudhury
9d44247b11 Merging GC related config values 2017-02-02 13:38:11 -08:00
Alex Dadgar
acf9e58064 Merge pull request #2278 from hashicorp/b-consul-merge
Fix Consul Config Merging/Copying
2017-02-02 11:39:26 -08:00
Alex Dadgar
d212d40b18 Fix Consul Config Merging/Copying
This PR fixes config merging/copying code.

Fixes https://github.com/hashicorp/nomad/issues/2264
2017-02-02 11:12:07 -08:00
Alex Dadgar
258ed556ba Vault Client on Server handles SIGHUP
This PR allows the Vault client on the server to handle a SIGHUP. This
allows updating the Vault token and any other configuration without
downtime.
2017-02-01 14:24:10 -08:00
Diptanu Choudhury
6b0a1ebb58 Making the GC related fields tunable 2017-01-31 15:51:20 -08:00