Chelsea Holland Komlo
359613e115
fix up basic test
...
add conversion for KillSignal for api/struct representation of task
2017-12-06 14:36:45 -05:00
Chelsea Holland Komlo
a6936662b6
add missing new file
2017-12-06 14:36:45 -05:00
Chelsea Holland Komlo
8356c6183c
extract signal helper into utils
2017-12-06 14:36:44 -05:00
Chelsea Holland Komlo
9e49836d4f
move kill_signal to task level, extend to docker
2017-12-06 14:36:39 -05:00
Chelsea Holland Komlo
079e6b5fb1
allow controlling the stop signal in exec/raw_exec
2017-12-06 11:28:45 -05:00
Rob Genova
deba901a92
Update resources.html.erb
2017-12-05 21:30:07 -08:00
Rob Genova
bb8e2a2cd5
Merge pull request #3617 from hashicorp/d-resources
...
Add a Resources page to the website
2017-12-05 15:49:53 -08:00
Rob Genova
b07064cd40
Fix typo
2017-12-05 23:47:23 +00:00
Chelsea Komlo
fef15f447a
Merge pull request #3612 from hashicorp/docker-rkt-user
...
Set user for rkt tasks
2017-12-05 17:45:08 -05:00
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
Chelsea Holland Komlo
c4e1dc339d
fix up test
2017-12-05 10:12:40 -05:00
Rob Genova
bff0babc48
Minor changes and reformatting
2017-12-04 23:51:09 +00:00
Rob Genova
a138d7f033
Add Resources page
2017-12-04 23:39:16 +00:00
Chelsea Holland Komlo
723e47c98c
remove unused user option
2017-12-04 18:01:31 -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
Chelsea Holland Komlo
23b7042dd5
add ability to specify user for rkt
2017-12-04 14:21:48 -05: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