Commit Graph

9709 Commits

Author SHA1 Message Date
Preetha
f27d0ddcef Merge pull request #3618 from hashicorp/b_fix_ns_inspect_test
Fix Test: Inspect returns json, not cli formatted output
2017-12-05 12:41:04 -06:00
Michael Schurter
b53f24b19e Merge pull request #3563 from hashicorp/b-snapshot-atomic
Atomic Snapshotting / Sticky Volume Migration
2017-12-05 09:16:33 -08:00
Charlie Voiselle
4c263413cc Inspect returns json, not cli formatted output 2017-12-05 12:04:11 -05:00
Michael Schurter
104e0e5b19 Merge pull request #3615 from hashicorp/b-rkt-host-ports
rkt: Don't require port_map with host networking
2017-12-04 14:49:42 -08:00
Alex Dadgar
f8807cee5d Merge pull request #3555 from PagerDuty/fix-loop-on-sigpipe
Do not emit logs on SIGPIPE since logging service could be unavailable
2017-12-04 14:11:05 -08:00
Alex Dadgar
dd7b0208eb Merge pull request #3616 from hashicorp/b-hostname
Emit hostname as a label
2017-12-04 13:10:06 -08:00
Alex Dadgar
d7071a008a drop gas 2017-12-04 13:07:24 -08:00
Alex Dadgar
19563c5067 changelog 2017-12-04 10:43:27 -08:00
Alex Dadgar
74ec709629 Emit hostname as a label 2017-12-04 10:42:31 -08:00
Chelsea Komlo
619189e7a9 Merge pull request #3601 from hashicorp/nomad-stop-timeout
Support StopTimeout for Docker tasks
2017-12-04 10:38:46 -05:00
Rob Genova
c4ba7e5802 Update README.md 2017-12-03 14:16:45 -08:00
Rob Genova
fb0c9ecd43 Update README.md 2017-12-03 14:14:19 -08:00
Michael Schurter
730e2aa4c8 rkt: Don't require port_map with host networking
Also don't try to return a DriverNetwork with host networking. None will
ever exist as that's the point of host networking: rkt won't create a
network namespace.
2017-12-01 17:23:25 -08:00
Chelsea Holland Komlo
584644287e get KillTimeout in seconds, not nanoseconds 2017-12-01 10:43:00 -05:00
Chelsea Komlo
4a6ceee5da Merge pull request #3611 from jens-solarisbank/master
Fix typos in metric names. #3610
2017-12-01 10:25:18 -05:00
Jens Herrmann
0fe9b07ac2 Fix typos in metric names. #3610 2017-12-01 15:24:14 +01:00
Michael Lange
6457735560 Merge pull request #3603 from hashicorp/f-ui-placement-failures
UI Placement Failures & Evaluations
2017-11-30 13:36:34 -08:00
Charlie Voiselle
fef063e334 Merge pull request #3602 from angrycub/b-namespace-cli-prefix-collision-fix
Handle exact namespace match properly when also matched as prefix
2017-11-30 15:18:19 -05:00
Michael Lange
b4ee45a2d6 Acceptance tests for evaluations 2017-11-29 20:12:45 -08:00
Michael Lange
46d25b771c Fixes an off by one bug in the ipv6 generator function
Sigh.
2017-11-29 20:12:13 -08:00
Michael Lange
98fb10f9ad Mirage magic for evaluations 2017-11-29 20:12:13 -08:00
Michael Lange
f30772556e Be clear about what the placment failures number next to task groups is 2017-11-29 20:12:12 -08:00
Michael Lange
a7b0541676 List placement failures on the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
3f3b31614c Add a table of evaluations to the job detail page 2017-11-29 20:12:12 -08:00
Michael Lange
0af56f3af4 Associate jobs, task groups, and evaluations 2017-11-29 20:12:12 -08:00
Michael Lange
c72cb2ee4f Models evaluation data 2017-11-29 20:12:12 -08:00
Michael Lange
ad6307933c Revert "UI Placement failures""
This reverts commits
141ecd8d91
d2d838c2de
8099db4336
86262b3cef
eb4104ec52
0e0e23e238
6d45658d77
b52a8176e8
2017-11-29 20:03:39 -08:00
Michael Lange
b52a8176e8 Acceptance tests for evaluations 2017-11-29 19:46:28 -08:00
Michael Lange
6d45658d77 Fixes an off by one bug in the ipv6 generator function
Sigh.
2017-11-29 19:46:27 -08:00
Michael Schurter
1ffb189ed2 Add atomic migrations to changelog and docs 2017-11-29 17:27:13 -08:00
Michael Schurter
50b335f3f0 Add comment and normalize err check ordering
as per PR comments
2017-11-29 17:26:11 -08:00
Michael Schurter
e3256ec4ee Check for error file when receiving snapshots 2017-11-29 17:26:11 -08:00
Michael Schurter
a05862dbdf Destroy partially migrated alloc dirs
Test that snapshot errors don't return a valid tar currently fails.
2017-11-29 17:26:11 -08:00
Michael Schurter
4a49375988 Handle errors during snapshotting
If an alloc dir is being GC'd (removed) during snapshotting the walk
func will be passed an error. Previously we didn't check for an error so
a panic would occur when we'd try to use a nil `fileInfo`.
2017-11-29 17:26:11 -08:00
Charlie Voiselle
8356bfd5d5 gofmt changes 2017-11-29 19:43:19 -05:00
Charlie Voiselle
1592bf5b0c Handle exact namespace match properly when also matched as prefix
This fixes an issue with the nomad namespace inspect and nomad namespace status commands failing to run for namespaces whose names are the start of another namespace's name: for example, foo and foobar. If the argument matches the first possibility returned by prefix exactly, that namespace will be targetted. If no exact match occurs, the behavior is unchanged.
2017-11-29 19:40:08 -05:00
Michael Lange
0e0e23e238 Mirage magic for evaluations 2017-11-29 16:30:33 -08:00
Michael Lange
eb4104ec52 Be clear about what the placment failures number next to task groups is 2017-11-29 16:30:33 -08:00
Michael Lange
86262b3cef List placement failures on the job detail page 2017-11-29 16:30:33 -08:00
Michael Lange
8099db4336 Add a table of evaluations to the job detail page 2017-11-29 16:30:33 -08:00
Michael Lange
d2d838c2de Associate jobs, task groups, and evaluations 2017-11-29 16:30:33 -08:00
Michael Lange
141ecd8d91 Models evaluation data 2017-11-29 16:30:33 -08:00
Chelsea Holland Komlo
94bbf2b60f add changelog 2017-11-29 15:27:50 -05:00
Chelsea Holland Komlo
9a719cbea2 Support StopTimeout for Docker tasksw
Update github.com/fsouza/go-dockerclient
2017-11-29 14:33:05 -05:00
Michael Lange
e369a9a971 Merge pull request #3564 from hashicorp/f-ui-log-streaming
UI: Log streaming
2017-11-29 09:36:41 -08:00
Chelsea Komlo
e0d657f131 Merge pull request #3597 from tbartelmess/b-fix-exhaustion-strings
Changed Superset to only return the resource name
2017-11-29 11:19:18 -05:00
Chelsea Komlo
fe53f720cf Merge pull request #3598 from jrasell/patch-3
Update community.html.erb to include Levant.
2017-11-29 10:23:27 -05:00
James Rasell
6af4808e39 Update community.html.erb to include Levant.
This change requests that Levant be added to the Nomad community page. Levant is an open source templating and deployment tool for HashiCorp Nomad jobs that provides realtime feedback and detailed failure messages upon deployment issues. Further details about Levant can be seen on the [jrasell/levant](https://github.com/jrasell/levant) GitHub page.
2017-11-29 12:39:28 +01:00
Thomas Bartelmess
51a407f2bc Changed Superset to only return the resource name
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.

The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Michael Schurter
7eaf1822d6 Merge pull request #3596 from tbartelmess/b-min-resource-errors
Fixed error messges for MeetsMinResources
2017-11-28 18:20:20 -07:00