Commit graph

5153 commits

Author SHA1 Message Date
Alex Dadgar fb30549ae3 Changelog 2016-08-04 12:55:06 -07:00
Alex Dadgar 1fe4158097 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
Diptanu Choudhury 4761ce9eaf Sorting the task group names and not the output of the format list 2016-08-04 11:54:18 -07:00
Alex Dadgar ff1012282f changelog 2016-08-04 11:38:18 -07:00
Alex Dadgar 2fb67fefb5 Merge pull request #1516 from hashicorp/f-lost-state-sched
Make scheduler mark allocations as lost
2016-08-04 11:36:02 -07:00
Diptanu Choudhury 4cbfd699b5 Merge pull request #1517 from hashicorp/f-reconcile-summaries
Endpoint for reconciling job summaries
2016-08-04 11:31:33 -07:00
Diptanu Choudhury 88d383c47f Updated tests and comments 2016-08-04 11:29:36 -07:00
Alex Dadgar e33bda76bf test sched doesn't mark complete as lost + core_sched tests 2016-08-04 11:24:17 -07:00
Jay Oster 24e8f752ab Add chroot_env to Java driver (which uses the exec driver internally) 2016-08-04 11:15:35 -07:00
Diptanu Choudhury 5d3a2ac1e5 Sorting the job summaries while displaying 2016-08-04 10:42:53 -07:00
Kenjiro Nakayama cd12645e4c Add TestRktTaskValidate 2016-08-04 23:15:13 +09:00
Kenjiro Nakayama bf27963903 Add TestRktTrustPrefix 2016-08-04 17:26:10 +09:00
Kenjiro Nakayama 1176fd123e Pass command and trust_prefix to the validation of rkt task configuration 2016-08-04 17:24:56 +09:00
vrenjith 41cf7cc623 Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
vrenjith 4e603e1306 Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Jay Oster 7df692226a Add config field to specify chroot mapping for exec driver
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:

client {
  chroot_env {
    "/etc" = "/etc"
    "/lib" = "/lib"
    "/opt/projects/foo/bin" = "/usr/bin"
  }
}
2016-08-03 17:17:17 -07:00
Diptanu Choudhury c24e8ba7d8 Not updating summary if job is de-registered 2016-08-03 17:00:08 -07:00
Diptanu Choudhury 74caed0c7a Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
Alex Dadgar ac3328e812 Make scheduler mark allocations as lost 2016-08-03 15:57:46 -07:00
Diptanu Choudhury 1b60e0823a Added a test for restoring the summaries in fsm 2016-08-03 11:58:36 -07:00
Alex Dadgar 4197e62e78 Remove old way of marking lost 2016-08-03 11:20:56 -07:00
Alex Dadgar 558c357ee1 changelog 2016-08-03 11:11:55 -07:00
Alex Dadgar 7b64adfcdd Merge pull request #1502 from hashicorp/f-plan-exit-code
Plan exit code map to whether allocations would change + bug fix
2016-08-03 11:10:21 -07:00
Alex Dadgar 91db768430 Fix tests 2016-08-03 11:09:50 -07:00
Alex Dadgar e8d3e45495 changelog 2016-08-03 10:28:45 -07:00
Alex Dadgar 2eb9127ef1 Merge pull request #1513 from mlafeldt/workdir
Docker driver: allow to configure working directory
2016-08-03 10:27:49 -07:00
Alex Dadgar 1611cd0488 Merge pull request #1491 from nak3/add-format-to-test
Add go fmt before running test in Makefile
2016-08-03 10:02:48 -07:00
Alex Dadgar 31e2cfc3f8 Merge pull request #1512 from mlafeldt/restart-policy-link
Job Spec: Link restart policy reference
2016-08-03 09:50:08 -07:00
Mathias Lafeldt 0727db4ca0
Test configuration of Docker working directory 2016-08-03 16:35:49 +02:00
Mathias Lafeldt d91f7dbdf8
Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Mathias Lafeldt dba6183b38
Job Spec: Link restart policy reference
For easier lookup.
2016-08-03 15:42:51 +02:00
Diptanu Choudhury d73d708a98 Merge pull request #1509 from hashicorp/fix-accounting
Not updating summary if create index of summary not same as job's cre…
2016-08-02 19:58:04 -07:00
Alex Dadgar 2662bfb2f9 changelog 2016-08-02 19:33:45 -07:00
Diptanu Choudhury b95cf91ee3 using the job associated with the alloc to determine if job is present 2016-08-02 19:14:05 -07:00
Diptanu Choudhury 6f8c40fca7 Not updating summary if create index of summary not same as job's create index 2016-08-02 18:59:45 -07:00
Diptanu Choudhury b2d388bcba Merge pull request #1508 from hashicorp/b-dont-update-job
Do not update the job of allocations that are being stopped
2016-08-02 18:58:39 -07:00
Alex Dadgar 2332a58944 Do not update the job of allocations that are being stopped 2016-08-02 17:53:31 -07:00
Diptanu Choudhury c02f9a52df Merge pull request #1505 from hashicorp/f-fix-summary
Fix the logic for updating summary
2016-08-02 16:24:51 -07:00
Alex Dadgar 797509be8c changelog 2016-08-02 16:17:09 -07:00
Alex Dadgar 08bae69bf1 Merge pull request #1506 from hashicorp/b-priviledge-gate
Handle privileged correctly and don't gate various configs on it
2016-08-02 16:16:02 -07:00
Alex Dadgar 47f5c8f523 use priviledge of the config 2016-08-02 16:10:15 -07:00
Diptanu Choudhury 87fdeb5393 Updated the logic to update job summary 2016-08-02 16:08:20 -07:00
Alex Dadgar cec6d8a1eb remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Diptanu Choudhury 3966a46996 Updating the summary after we have updated the current allocation when client updates the alloc 2016-08-02 15:06:39 -07:00
Diptanu Choudhury 92e32e46f1 Updating the summary after we have updated the current allocation 2016-08-02 14:59:41 -07:00
Alex Dadgar 63eca3040f Merge pull request #1504 from mlafeldt/atttempts
Fix typo: atttempts
2016-08-02 10:05:31 -07:00
Mathias Lafeldt acbee08a0a
Fix typo: atttempts 2016-08-02 18:11:03 +02:00
Alex Dadgar 3a9f3a31bc KillTimeout can be modified in place 2016-08-01 20:19:12 -07:00
Alex Dadgar e474ea7cce plan returns appropriate exit code 2016-08-01 20:07:49 -07:00
Diptanu Choudhury 25eb5999f6 Updated changelog 2016-08-01 19:56:16 -07:00