Commit Graph

6330 Commits

Author SHA1 Message Date
Alex Dadgar
a09fc0ff60 vendor update 2017-01-23 10:57:06 -08:00
Alex Dadgar
bcd2a448c5 Merge branch 'master' of github.com:hashicorp/nomad 2017-01-23 10:52:05 -08:00
Alex Dadgar
2d4fc8ad9b Wording 2017-01-23 10:51:57 -08:00
Diptanu Choudhury
ef8c11163f Merge pull request #2231 from hashicorp/b-close-ch
Locking appropriately before closing the channel to indicate migration
2017-01-23 10:50:24 -08:00
Alex Dadgar
6f8852eb2f Merge pull request #2228 from iconara/exec-chroot-doc-clarification
Clarify that exec copies all chroot_env directories
2017-01-23 10:47:01 -08:00
Diptanu Choudhury
c254fbfa4f Locking appropriately before closing the channel to indicate migration 2017-01-23 10:46:57 -08:00
Theo
36229fd587 Clarify that exec copies all chroot_env directories
This was not clear to me and is very important to understand since you can quickly fill up your disk if you run batch jobs.
2017-01-23 08:13:27 +01:00
Alex Dadgar
0d2e8eaa33 changelog 2017-01-22 18:23:54 -08:00
Alex Dadgar
030cd19356 fix typo 2017-01-22 14:08:40 -08:00
Alex Dadgar
71679ccef4 remove reference to entrypoint 2017-01-22 14:04:41 -08:00
Alex Dadgar
d0b9ee910c changelog 2017-01-22 13:55:33 -08:00
Alex Dadgar
ab54d7d6e2 Merge pull request #2227 from hashicorp/b-template-splay
Actually randomize the splay in the template
2017-01-22 13:52:46 -08:00
Alex Dadgar
42c5cafd2f Actually randomize the splay 2017-01-22 13:50:33 -08:00
Michael Schurter
d1c45dfc9c Fix tests 2017-01-20 17:04:52 -08:00
Michael Schurter
78c9c00ba8 Fix index we get allocs by 2017-01-20 16:30:40 -08:00
Michael Schurter
b048c9eefb Fix java tests 2017-01-20 14:12:30 -08:00
Michael Schurter
e79ef1135e Merge pull request #2216 from hashicorp/b-rootless-raw-exec
Don't link shared alloc dir into task dir for raw_exec
2017-01-20 13:18:54 -08:00
Michael Schurter
ef154fa449 Merge pull request #2215 from hashicorp/b-2211-host-env
Fix image based drivers having host env vars set
2017-01-20 13:16:44 -08:00
Michael Schurter
76d2e0dada Merge pull request #2198 from hashicorp/b-rootless-docker
Stop trying to use mount for image based drivers
2017-01-20 13:03:56 -08:00
Michael Schurter
269b3c7e14 Merge pull request #2186 from hashicorp/f-driver-cleanup
Add Cleanup method to Driver interface
2017-01-20 13:02:14 -08:00
Michael Schurter
70f95b46c9 Merge pull request #2221 from hashicorp/b-rename-constructor
Rename Constructor -> Parameterized Job
2017-01-20 12:59:42 -08:00
Michael Schurter
3404fb565e parameterized_job -> parameterized 2017-01-20 12:46:04 -08:00
Michael Schurter
1a845561dd Rename Constructor -> Parameterized Job 2017-01-20 12:43:10 -08:00
Michael Schurter
783118b34d Update created resources before exiting cleanup 2017-01-19 16:48:23 -08:00
Michael Schurter
828151ea38 Exit early when cleanup succeeds 2017-01-19 15:07:01 -08:00
Michael Schurter
cf0157af89 Fix incorrect lock usage 2017-01-19 11:39:18 -08:00
Michael Schurter
c2ec30c47b Bump unknown resource to ERR 2017-01-19 09:48:07 -08:00
Diptanu Choudhury
9fbad265d8 Merge pull request #2208 from hashicorp/duplicate-service-name
register service names with duplicate name
2017-01-18 16:17:45 -08:00
Diptanu Choudhury
a53f2daede Merge pull request #2212 from jasonhancock/nomad_doc_fix
fix a copy/paste error on api.Regions() comment
2017-01-18 16:17:13 -08:00
Diptanu Choudhury
49e6735227 Merge pull request #2159 from hashicorp/b-consul-config
Fixed merging consul config
2017-01-18 16:14:54 -08:00
Diptanu Choudhury
6d669fb48e Moved functions to helper from structs 2017-01-18 15:55:14 -08:00
Michael Schurter
b6cf2174d2 Don't link shared alloc dir into task dir for raw_exec
Fixes running raw_exec tasks when nomad isn't root.
2017-01-18 11:28:34 -08:00
Michael Schurter
17bdfaf9e7 Fix image based drivers having host env vars set
Add detailed tests for GetTaskEnv to avoid this issue happening again!

Fixes #2211
2017-01-18 10:27:03 -08:00
Jason Hancock
c6f562249c fix a copy/paste error on api.Regions() comment 2017-01-17 22:48:01 -08:00
Michael Schurter
cf06204c82 Add CreatedResources.Remove and use it 2017-01-17 16:41:59 -08:00
Michael Schurter
9c012a71e0 Remove outdated comment 2017-01-17 16:23:29 -08:00
Michael Schurter
a17c3a9ded Updated CreatedResources as images are cleaned 2017-01-17 16:13:40 -08:00
Michael Schurter
17d9e8e189 Remove outdated comment 2017-01-17 16:05:21 -08:00
Michael Schurter
4dcba012f4 Return error from Prestart 2017-01-17 16:04:09 -08:00
Alex Dadgar
6a431b4538 changelog 2017-01-17 15:26:54 -08:00
Alex Dadgar
11200cdfd2 Merge pull request #2199 from hashicorp/f-jars
Support setting class_path and class name.
2017-01-17 15:25:47 -08:00
Michael Schurter
054d6f8bb6 Remove BC note 2017-01-17 13:36:19 -08:00
Michael Schurter
8e82326c2f Prevent race between alloc runners
Block ar1's periodic syncing which could recreate the state file ar2 was
destroying.
2017-01-17 13:10:20 -08:00
Michael Schurter
b100293a06 Try to get test passing in Travis 2017-01-17 12:51:19 -08:00
Diptanu Choudhury
38fd66f209 Merge pull request #2192 from hashicorp/f-api-gc
Added the API for GC of allocations and nodes
2017-01-17 12:32:14 -08:00
Diptanu Choudhury
741a01ec7d Ensuring we can register service names with duplicate name but different ports 2017-01-17 12:26:07 -08:00
Alex Dadgar
3b1ea4eb72 Merge pull request #2204 from troyswanson/patch-1
Fix typo in docs
2017-01-17 10:05:15 -08:00
Troy Swanson
61d3008b5c s/acess/access 2017-01-16 14:35:14 -06:00
Michael Schurter
1f35e97510 Use Image ID instead of Image Name 2017-01-13 16:53:58 -08:00
Michael Schurter
db096b23b5 Switch to use recoverable errors from Cleanup
TaskRunner handles retrying but Cleanup handles all of CreatedResources.
2017-01-13 16:46:08 -08:00