Commit Graph

9895 Commits

Author SHA1 Message Date
Michael Lange 1af06e882c
Merge pull request #3627 from hashicorp/b-ui-logs-horizontal-scrollbar
UI: Make sure the code element within a cli-window takes the full height
2017-12-06 14:09:15 -08:00
Chelsea Holland Komlo 2ea8e43214 code review fixups 2017-12-06 16:37:47 -05:00
Michael Lange a833248a9d Make sure the code element within a cli-window takes the full height 2017-12-06 13:36:18 -08:00
Chelsea Holland Komlo 021336eaee fix up test fixture to properly parse 2017-12-06 16:23:55 -05:00
Michael Lange 03680ec180 A short guide for proxying to a different nomad cluster
when developing the UI
2017-12-06 12:38:38 -08:00
Chelsea Holland Komlo 2f22442370 use assert library 2017-12-06 15:03:02 -05:00
Preetha Appan d162c715d9
Remove newline 2017-12-06 13:36:46 -06:00
Chelsea Holland Komlo a010db084b 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 69e4d03694 add missing new file 2017-12-06 14:36:45 -05:00
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
Preetha Appan d8ecdd2bf9
Makes tests on travis not run in verbose mode. 2017-12-06 13:30:31 -06:00
Alex Dadgar 5c9e4a5321 Update go-getter 2017-12-06 11:16:17 -08:00
Rob Genova b81df5503c
Update README.md 2017-12-06 10:51:39 -08:00
Michael Lange 3b6a084a1d Warn errors in prod 2017-12-06 10:33:03 -08:00
Michael Lange 54cb23c577 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08: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
Michael Lange 4a88d3338c Remove UTC timezone tag 2017-12-05 19:12:18 -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
Kyle Havlovitz 4a78a3b393
Merge pull request #3581 from hashicorp/raft-protocol
Added support for v2 raft APIs and -raft-protocol option
2017-12-04 13:13:11 -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
Kyle Havlovitz f3361e578a Use region instead of datacenter for version checking 2017-12-04 12:35:41 -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
Michael Schurter 288e94302e Add changelog entry for #3608 2017-12-01 15:59:42 -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 Schurter 2cbde16b9b Add check for Windows ECONNRESET 2017-11-30 21:30:20 -08:00
Michael Schurter 3e8e3aac70 Add defensive check to safeguard from future #3342s
I hate adding "this should never happen" checks, but causing a tight
loop that OOMs Nomad is just too easy in this code otherwise.
2017-11-30 20:37:13 -08:00
Michael Schurter 29d86eb348 Fix race in framer and improperly returned err
Fixes #3342

Two bugs were fixed:

* Closing the StreamFramer's exitCh before setting the error means other
  goroutines blocked on exitCh closing could see the error as nil. This
  was *not* observered.
* parseFramerError on Windows would fall through and return an
  improperly captured nil err variable. There's no need for
  parseFramerError to be a closure which fixes the confusion.
2017-11-30 17:42:53 -08:00
Michael Schurter 5c00d10fe2 Update tail, x/sys, and fsnotify deps 2017-11-30 15:52:43 -08:00