Commit graph

7893 commits

Author SHA1 Message Date
Michael Schurter d8a816ccee Merge pull request #2750 from hashicorp/b-system-jobs-running
System jobs should be running until stopped
2017-07-03 14:47:31 -07:00
Michael Schurter 2d741c770b Merge pull request #2732 from hashicorp/b-persist-alloc-updates
Persist Alloc when EvalID changes
2017-07-03 14:46:43 -07:00
Michael Schurter 56a6f8ca8a Merge pull request #2763 from hashicorp/f-bad-state-help
Add more logging to restore state errors
2017-07-03 14:45:03 -07:00
Michael Schurter 9d4b0651ef Merge pull request #2753 from hashicorp/b-leader-dies-first
Destroy task group leader first
2017-07-03 14:38:04 -07:00
Michael Schurter 6e7cc3964e Merge pull request #2709 from hashicorp/f-advertise-docker-ips
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter 5ec52ec24a Destroy task group leader first
Before this commit all tasks in a task group were destroyed
concurrently. This meant logging sidecars might be stopped before the
leader task whose logs still need to be shipped.

This commit blocks on the leader shutting down before signalling to
followers to shutdown.
2017-07-03 13:56:56 -07:00
Michael Schurter 8d3e13ab8a System jobs without evals are running too 2017-07-03 13:48:51 -07:00
Michael Schurter 9aa2218c13 Merge pull request #2746 from hashicorp/f-validate-job-updates
Validate job updates
2017-07-03 13:43:18 -07:00
Michael Schurter d9e032aabf Merge pull request #2735 from hashicorp/f-no_host_uuid-true
Default no_host_uuid to true instead of false
2017-07-03 13:18:25 -07:00
Michael Schurter 596727230b Suggest wiping out alloc dir too 2017-07-03 12:29:21 -07:00
Michael Schurter 11f68bfca2 Add more logging to restore state errors 2017-07-03 11:58:41 -07:00
Alex Dadgar a72ceffd51 changelog 2017-07-02 16:12:16 -07:00
Alex Dadgar 1205560873 Merge pull request #2762 from alexandredantas/master
Use node name always false
2017-07-02 16:11:28 -07:00
Alexandre Dantas 100b51ac6a Fixing issue where use_node_name was always been set as false when merging telemetry configurations 2017-07-02 00:31:09 -03:00
Alex Dadgar 83bf127763 Merge pull request #2743 from JarvusInnovations/master
Update middleman-hashicorp to 0.3.28 for mega nav fixes
2017-06-30 18:22:56 -07:00
Michael Schurter 2646fad718 Merge pull request #2757 from hashicorp/b-normalize-ipv6
Properly normalize IPv6 addresses
2017-06-30 10:27:34 -07:00
Rob Genova cf12ab199b order guides alphabetically; rewrite getting started page; fix typos 2017-06-29 17:12:23 -07:00
Michael Schurter e9c357187c Properly normalize IPv6 addresses
A fix to #2739 instead of forcing IPv6 users to always specify a port as
well.

Prior to this commit IPv6 advertise addresses which lacked a port would
fail instead of having the default port added because
`net.SplitHostPort(someipv6)` returns a different error than
`net.SplitHostPort(someipv4)`.
2017-06-29 10:46:31 -07:00
Michael Schurter 34ed718d06 Merge pull request #2748 from hashicorp/d-migrate-needs-sticky
Ephemeral Disks: `migrate` requires `sticky`
2017-06-29 09:15:15 -07:00
Michael Schurter aefbb9f7d2 Merge pull request #2749 from hashicorp/d-ephemeral-size-not-enforced
Noted that ephemeral storage `size` not enforced
2017-06-29 09:14:31 -07:00
Seth Vargo 4b6b9d4bab
Document permissions for agents
Fixes GH-948
2017-06-29 16:59:19 +08:00
Seth Vargo 73b2f8e1ec
Document context of service checks
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Rob Genova c0c913cd40 Apache Spark Integration guide 2017-06-28 17:10:05 -07:00
Michael Schurter f7d2a74ddf System jobs should be running until stopped
Prior to this commit they would be marked as dead if they had no
currently running allocations -- even though they would spring back to
life (running) if the cluster state changed such that a new eval+alloc
was created.
2017-06-28 11:39:24 -07:00
Charlie Voiselle 9cd861a307 Noted that ephemeral storage size not enforced
This value is strictly used in the job placement, but is not enforced like a quota
2017-06-28 12:51:27 -04:00
Charlie Voiselle 47a1077c62 Ephemeral Disks: migrate requires sticky
The migrate option is a no-op when sticky is set to false
2017-06-28 12:21:01 -04:00
Michael Schurter 9c56f70d12 Validate job updates
Incurs a local read-before-write but because validation is transitive
there's no need to retry the read-validate-write on concurrent updates.
2017-06-27 16:08:18 -07:00
Arvid E. Picciani aa4f029f10 Do not fail when no docker registry auth is available
this amends the behaviour introduced with #2651
and allows pulling public images when docker.auth.helper is set
2017-06-27 11:11:18 +02:00
Michael Schurter 66d1c78763 Merge pull request #2737 from hashicorp/fix-typo
Remove an errant # from vault policy sample.
2017-06-26 13:16:28 -07:00
Michael Schurter a863ead30e Fix test error formats 2017-06-26 12:53:43 -07:00
Michael Schurter 71c2cb3b83 Merge pull request #2740 from multani/upgrade-go-sockaddr
Upgrade hashicorp/go-sockaddr/template to latest version + upgrade CHANGELOG
2017-06-26 12:01:43 -07:00
Ryon Coleman 9dd9dfed0d Update middleman-hashicorp to 0.3.28 for mega nav fixes
Fixes detailed at https://github.com/hashicorp/middleman-hashicorp/pull/47
2017-06-26 14:30:09 -04:00
Michael Schurter 2d2325eea7 Fix super minor typos 2017-06-26 10:56:50 -07:00
Michael Schurter e51e4dee9a Minor doc updates
Oxford comma, links to spark fork, etc
2017-06-26 10:51:59 -07:00
Rob Genova 3d5805d296 update AMI 2017-06-25 12:59:50 -07:00
Jonathan Ballet 3ffb39ea2b Upgrade go-sockaddr/template to latest version + upgrade CHANGELOG 2017-06-25 20:55:40 +02:00
Rob Genova fddf190f5f cleanup build/provision shell scripts 2017-06-25 11:54:56 -07:00
Rob Genova 7f1c84c59c slight tweak to Packer README 2017-06-25 11:54:29 -07:00
Rob Genova 7a938fde20 cleanup Vagrantfile, Terraform configs and Nomad job files 2017-06-25 11:10:14 -07:00
Rob Genova dbbaea9e09 reformat Packer README 2017-06-25 11:09:05 -07:00
Rob Genova 72f45ff634 README formatting 2017-06-25 10:45:30 -07:00
Rob Genova da8811a097 various script and config file tweaks 2017-06-25 10:09:54 -07:00
Rob Genova ebc20d47da update READMEs 2017-06-25 10:09:28 -07:00
Rob Genova e52ae12941 obscure KEY_NAME 2017-06-24 16:51:26 -07:00
Rob Genova 2edf307503 update READMEs 2017-06-24 16:50:11 -07:00
Rob Genova e509a5478b update top level README 2017-06-24 16:28:55 -07:00
Rob Genova 708dcd1cc7 add job files and Dockerfiles 2017-06-24 16:28:12 -07:00
Rob Genova 4752dcd117 refactor build and provisioning scripts to support DNS integration, HDFS 2017-06-24 16:25:46 -07:00
Rob Genova 1e6cb9042f refactor Terraform module, Packer config; bump tool version #s in Vagrantfile 2017-06-24 16:24:24 -07:00
Jeremy Voorhis cd2a9e7bea Remove an errant # from vault policy sample. 2017-06-23 21:15:25 -07:00