Commit Graph

4950 Commits

Author SHA1 Message Date
Michal Wieczorek
d5ae1cb93e Set windows containers default network mode to 'nat' 2016-08-05 06:01:26 +02:00
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
b140b03947 Merge pull request #1520 from hashicorp/f-sort-tg-names-summaries
Sorting the job summaries while displaying
2016-08-04 13:32:29 -07:00
Diptanu Choudhury
0b02b7ad5d Merge pull request #1475 from mwieczorek/windows-hostIp-portBindings
Empty host ip for windows containers port bindings
2016-08-04 13:30:43 -07:00
Diptanu Choudhury
4cc24c0354 Removing the custom sorting logic 2016-08-04 13:17:21 -07:00
Alex Dadgar
f12370f1ad Changelog 2016-08-04 12:55:06 -07:00
Alex Dadgar
ed08b5f5b8 Merge pull request #1519 from vrenjith/master
Remove docker volumes while removing container
2016-08-04 12:54:00 -07:00
Diptanu Choudhury
6550a53b39 Sorting the task group names and not the output of the format list 2016-08-04 11:54:18 -07:00
Alex Dadgar
d4a4700bfc changelog 2016-08-04 11:38:18 -07:00
Alex Dadgar
eaf083a2a7 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
ca857d95a5 Merge pull request #1517 from hashicorp/f-reconcile-summaries
Endpoint for reconciling job summaries
2016-08-04 11:31:33 -07:00
Diptanu Choudhury
3bdaf91dd1 Updated tests and comments 2016-08-04 11:29:36 -07:00
Alex Dadgar
6b2e9ea4e1 test sched doesn't mark complete as lost + core_sched tests 2016-08-04 11:24:17 -07:00
Diptanu Choudhury
b8ffd9709f Sorting the job summaries while displaying 2016-08-04 10:42:53 -07:00
vrenjith
52c6201f4a Update docker.go
Remove container volumes
2016-08-04 11:43:50 +05:30
vrenjith
b686be0c9b Update checks_test.go
Remove docker volumes while exiting container
2016-08-04 11:42:47 +05:30
Diptanu Choudhury
2ff26b9739 Not updating summary if job is de-registered 2016-08-03 17:00:08 -07:00
Diptanu Choudhury
72cd53d6e5 Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
Alex Dadgar
3ec1f75d09 Make scheduler mark allocations as lost 2016-08-03 15:57:46 -07:00
Diptanu Choudhury
5c03764015 Added a test for restoring the summaries in fsm 2016-08-03 11:58:36 -07:00
Alex Dadgar
38561b073c Remove old way of marking lost 2016-08-03 11:20:56 -07:00
Alex Dadgar
789a6b260b changelog 2016-08-03 11:11:55 -07:00
Alex Dadgar
2c48b7b42c 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
7ee48809de Fix tests 2016-08-03 11:09:50 -07:00
Alex Dadgar
0cd511c65a changelog 2016-08-03 10:28:45 -07:00
Alex Dadgar
91a5304d59 Merge pull request #1513 from mlafeldt/workdir
Docker driver: allow to configure working directory
2016-08-03 10:27:49 -07:00
Alex Dadgar
3b779480f9 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
7d4b2225f1 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
27d787e76c Test configuration of Docker working directory 2016-08-03 16:35:49 +02:00
Mathias Lafeldt
1ad79f8a19 Docker driver: allow to configure working directory 2016-08-03 16:18:15 +02:00
Mathias Lafeldt
f1f05769ae Job Spec: Link restart policy reference
For easier lookup.
2016-08-03 15:42:51 +02:00
Diptanu Choudhury
48eb7dcb21 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
1a7d961d12 changelog 2016-08-02 19:33:45 -07:00
Diptanu Choudhury
94203339ac using the job associated with the alloc to determine if job is present 2016-08-02 19:14:05 -07:00
Diptanu Choudhury
38880cdf3e 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
136ee79c52 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
c988db2b9d Do not update the job of allocations that are being stopped 2016-08-02 17:53:31 -07:00
Diptanu Choudhury
977bc9dc13 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
0981036105 changelog 2016-08-02 16:17:09 -07:00
Alex Dadgar
a2acc52329 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
2d66cf0a7c use priviledge of the config 2016-08-02 16:10:15 -07:00
Diptanu Choudhury
77eea6def6 Updated the logic to update job summary 2016-08-02 16:08:20 -07:00
Alex Dadgar
c2a43d5540 remove gating of ipc, user ns and pidmode based on hosts priviledge mode config 2016-08-02 16:02:34 -07:00
Diptanu Choudhury
6636f22fa7 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
678d97af15 Updating the summary after we have updated the current allocation 2016-08-02 14:59:41 -07:00
Alex Dadgar
a78d21901d Merge pull request #1504 from mlafeldt/atttempts
Fix typo: atttempts
2016-08-02 10:05:31 -07:00
Mathias Lafeldt
b0b3e5e1f6 Fix typo: atttempts 2016-08-02 18:11:03 +02:00
Alex Dadgar
7ccf55caf0 KillTimeout can be modified in place 2016-08-01 20:19:12 -07:00
Alex Dadgar
ded46507e9 plan returns appropriate exit code 2016-08-01 20:07:49 -07:00
Diptanu Choudhury
65d503a298 Updated changelog 2016-08-01 19:56:16 -07:00