Chelsea Holland Komlo
7dfb64f941
extract signal helper into utils
2017-12-06 14:36:44 -05:00
Chelsea Holland Komlo
b08611cfac
move kill_signal to task level, extend to docker
2017-12-06 14:36:39 -05:00
Chelsea Holland Komlo
80de7d5ebd
allow controlling the stop signal in exec/raw_exec
2017-12-06 11:28:45 -05:00
Rob Genova
2a69339ef8
Update resources.html.erb
2017-12-05 21:30:07 -08:00
Rob Genova
4245dc6d47
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
5a94eafe36
Fix typo
2017-12-05 23:47:23 +00:00
Chelsea Komlo
9ae849e09c
Merge pull request #3612 from hashicorp/docker-rkt-user
...
Set user for rkt tasks
2017-12-05 17:45:08 -05:00
Preetha
4e6204777e
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
b66aa5b7f6
Merge pull request #3563 from hashicorp/b-snapshot-atomic
...
Atomic Snapshotting / Sticky Volume Migration
2017-12-05 09:16:33 -08:00
Charlie Voiselle
f7c4156f95
Inspect returns json, not cli formatted output
2017-12-05 12:04:11 -05:00
Chelsea Holland Komlo
4463dc607e
fix up test
2017-12-05 10:12:40 -05:00
Rob Genova
1bb667c4dd
Minor changes and reformatting
2017-12-04 23:51:09 +00:00
Rob Genova
910b98c35b
Add Resources page
2017-12-04 23:39:16 +00:00
Chelsea Holland Komlo
7284f2385a
remove unused user option
2017-12-04 18:01:31 -05:00
Michael Schurter
6ccc4219d3
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
0bec137561
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
4b40c8de8f
Merge pull request #3616 from hashicorp/b-hostname
...
Emit hostname as a label
2017-12-04 13:10:06 -08:00
Alex Dadgar
c3f3f5092c
drop gas
2017-12-04 13:07:24 -08:00
Chelsea Holland Komlo
7c74968452
add ability to specify user for rkt
2017-12-04 14:21:48 -05:00
Alex Dadgar
cff9fe2938
changelog
2017-12-04 10:43:27 -08:00
Alex Dadgar
ab67a98c13
Emit hostname as a label
2017-12-04 10:42:31 -08:00
Chelsea Komlo
2acdabdc5f
Merge pull request #3601 from hashicorp/nomad-stop-timeout
...
Support StopTimeout for Docker tasks
2017-12-04 10:38:46 -05:00
Rob Genova
ac325b8dd9
Update README.md
2017-12-03 14:16:45 -08:00
Rob Genova
18374b04c0
Update README.md
2017-12-03 14:14:19 -08:00
Michael Schurter
2bf1d6d85e
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
4ee2122536
get KillTimeout in seconds, not nanoseconds
2017-12-01 10:43:00 -05:00
Chelsea Komlo
297c4ddbf9
Merge pull request #3611 from jens-solarisbank/master
...
Fix typos in metric names. #3610
2017-12-01 10:25:18 -05:00
Jens Herrmann
5680fcccc2
Fix typos in metric names. #3610
2017-12-01 15:24:14 +01:00
Michael Lange
94ebdc652f
Merge pull request #3603 from hashicorp/f-ui-placement-failures
...
UI Placement Failures & Evaluations
2017-11-30 13:36:34 -08:00
Charlie Voiselle
c057a2786e
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
956e967ffd
Acceptance tests for evaluations
2017-11-29 20:12:45 -08:00
Michael Lange
f3acc8bd6d
Fixes an off by one bug in the ipv6 generator function
...
Sigh.
2017-11-29 20:12:13 -08:00
Michael Lange
d663f7ea70
Mirage magic for evaluations
2017-11-29 20:12:13 -08:00
Michael Lange
bd7a474c28
Be clear about what the placment failures number next to task groups is
2017-11-29 20:12:12 -08:00
Michael Lange
4451265b79
List placement failures on the job detail page
2017-11-29 20:12:12 -08:00
Michael Lange
d1277ac933
Add a table of evaluations to the job detail page
2017-11-29 20:12:12 -08:00
Michael Lange
4e3b58a24a
Associate jobs, task groups, and evaluations
2017-11-29 20:12:12 -08:00
Michael Lange
8240f99769
Models evaluation data
2017-11-29 20:12:12 -08:00
Michael Lange
f747cc79e4
Revert "UI Placement failures""
...
This reverts commits
141ecd8d9170f56c8302b5c776532e6d287a40e3
d2d838c2de08aac716a9431d9720b5c12bb19ba1
8099db433641429816e8479c6d23116269f744c0
86262b3ceff607627a9c9e0e25eb81b9b5ee739c
eb4104ec528982e0ee6ae9a05fb0460e53139f3f
0e0e23e238017815bdb6dcfbc056275b3deaacca
6d45658d77fb4c40760a63cced71b74757356e48
b52a8176e85b9c6f13ec012f7fce2ec3df1c8751
2017-11-29 20:03:39 -08:00
Michael Lange
961926880a
Acceptance tests for evaluations
2017-11-29 19:46:28 -08:00
Michael Lange
84c9fb20f3
Fixes an off by one bug in the ipv6 generator function
...
Sigh.
2017-11-29 19:46:27 -08:00
Michael Schurter
0b12984552
Add atomic migrations to changelog and docs
2017-11-29 17:27:13 -08:00
Michael Schurter
5e975bbd0f
Add comment and normalize err check ordering
...
as per PR comments
2017-11-29 17:26:11 -08:00
Michael Schurter
d996c3a231
Check for error file when receiving snapshots
2017-11-29 17:26:11 -08:00
Michael Schurter
ca946679f6
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
23c66e37c5
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
c563aa7bd9
gofmt changes
2017-11-29 19:43:19 -05:00
Charlie Voiselle
8ef6964817
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
2ed76e50e3
Mirage magic for evaluations
2017-11-29 16:30:33 -08:00
Michael Lange
3b184b974b
Be clear about what the placment failures number next to task groups is
2017-11-29 16:30:33 -08:00