Commit graph

5449 commits

Author SHA1 Message Date
Diptanu Choudhury 3dec7cd2c9 Added LocalDisk to diff 2016-08-26 20:38:50 -07:00
Diptanu Choudhury 13497913f9 Ensuring resources are re-calculated properly in fsm 2016-08-26 20:13:11 -07:00
Diptanu Choudhury e79cb67391 Changing implementation of AllocsFit 2016-08-26 17:28:29 -05:00
Alex Dadgar 6548851c7c update architecture copy 2016-08-26 13:57:43 -07:00
Diptanu Choudhury 2f681b6415 Added copy method to LocalDisk 2016-08-26 14:24:47 -05:00
Michael Schurter 32626ac608 Remove unused embedded lock on ExecContext 2016-08-26 11:58:03 -07:00
Michael Schurter 83f307823c Add changelog entry for #1558's fix 2016-08-26 11:45:34 -07:00
Alex Dadgar 11fec5ac43 Changelog 2016-08-26 11:30:26 -07:00
Alex Dadgar 87d4475f8f Merge pull request #1656 from hashicorp/b-fix-http-timeout
Fix http timeout for Consul check for servers
2016-08-26 11:28:56 -07:00
Alex Dadgar 4e8576516f Increase the timeout to be greater than the RPC hold threshold 2016-08-26 11:13:20 -07:00
Michael Schurter d31f373a5b Merge pull request #1653 from hashicorp/b-fix-artifact-retry
Don't fail other tasks when retrying artifact get
2016-08-26 09:53:39 -07:00
Diptanu Choudhury b844dc3600 Fixed more tests 2016-08-26 01:51:19 -05:00
Diptanu Choudhury ec5afdae3d Fixed some more tests 2016-08-25 23:05:21 -05:00
Diptanu Choudhury 605a5b52b2 Fixed api tests 2016-08-25 22:10:25 -05:00
Michael Schurter 592b898f43 Make sure bad doesn't fail before web runs 2016-08-25 17:25:51 -07:00
Michael Schurter 139d2e7939 Ensure bad task reaches terminal state within test 2016-08-25 16:05:19 -07:00
Alex Dadgar 9a9815b6d5 Merge pull request #1655 from hashicorp/f-travis-vault
Update install of Vault
2016-08-25 14:53:05 -07:00
Michael Schurter a739058fa3 Ensure web task exited successfully
Web task should run to completion successfully while the `bad` task is
retrying artifact downloads.
2016-08-25 14:42:50 -07:00
Alex Dadgar e7fa97ae10 Update install of Vault 2016-08-25 14:07:15 -07:00
Diptanu Choudhury 3447658bba Added scheduler tests to ensure disk constraints are honored 2016-08-25 15:31:56 -05:00
Michael Schurter 5ce26f82fe Don't fail other tasks when retrying artifact get
The artifact fetching may be retried and succeed, so don't set the task
as dead.

Fixes #1558
2016-08-25 13:16:41 -07:00
Alex Dadgar 7d779faf6e Merge branch 'master' of github.com:hashicorp/nomad 2016-08-25 13:13:36 -07:00
Alex Dadgar d690d0afdc bump vault version 2016-08-25 13:13:20 -07:00
Alex Dadgar 499f335fea Merge pull request #1652 from hashicorp/b-monitor-alloc-dir
Monitor the complete alloc directory, not just the shared part.
2016-08-25 13:10:13 -07:00
Diptanu Choudhury ffaf6c6299 Fixed some tests 2016-08-25 13:56:39 -05:00
Ivo Verberk d89dc40fe2 Small comment fix. 2016-08-25 20:50:11 +02:00
Ivo Verberk 57012e8d8c Monitor the complete alloc directory, not just the shared part. 2016-08-25 20:48:19 +02:00
Ivo Verberk a33c5a6a52 Merge pull request #1651 from hashicorp/b-fix-client-tests
Don't duplicate TaskKilled event and check for TaskSiblingFailed.
2016-08-25 20:47:04 +02:00
Ivo Verberk 9113244131 Don't duplicate TaskKilled event and check for TaskSiblingFailed. 2016-08-25 20:11:10 +02:00
Diptanu Choudhury 8105613c25 Added an upgrade path for existing jobs with no local disk 2016-08-25 13:00:20 -05:00
Diptanu Choudhury ec73c768f1 Making the scheduler use LocalDisk instead of Resources.DiskMB 2016-08-25 12:27:42 -05:00
Alex Dadgar 6f7d776ba6 Merge pull request #1613 from nak3/plan255
command.plan: tiny: Fix expect error code message from 1 to 255
2016-08-24 15:33:40 -07:00
Diptanu Choudhury b80147d183 Merge pull request #1645 from capone212/failing_cehcks_fix
issue #1636:  start CheckRunner if check exists in consul already
2016-08-24 16:27:05 -05:00
Diptanu Choudhury da6629e1f3 Merge pull request #1648 from nfisher/patch-1
getting-started/running.html.md: update output for nomad 0.4.1.
2016-08-24 16:26:24 -05:00
Alex Dadgar f6e940c3c9 update pr number 2016-08-24 14:24:03 -07:00
Diptanu Choudhury d156f32f94 Implemented job spec parsing for sticky volumes 2016-08-24 13:51:15 -05:00
Diptanu Choudhury e9b27a528c Fixed the raw_exec fingerprint test 2016-08-24 13:38:43 -05:00
Diptanu Choudhury 10e10b2fe1 fixed the qemu fingerprinter test 2016-08-24 12:25:02 -05:00
vishalnayak 56e42cf03d Employ DeriveVaultToken API and flesh-up DeriveToken 2016-08-24 12:29:59 -04:00
vishalnayak 6002e596c4 VaultClient for Nomad Client 2016-08-24 09:43:45 -04:00
Diptanu Choudhury ca7de798a7 Merge pull request #1649 from hashicorp/test-fixes
fixed the exec fingerprinter test
2016-08-23 17:39:21 -05:00
capone ce4d236a40 Fixed CR defects 2016-08-24 01:33:44 +03:00
Nathan Fisher 2b40afb7c4 getting-started/running.html.md: update nomad server-members output to 0.4.1 release. 2016-08-23 22:56:13 +01:00
Nathan Fisher 5e540320d8 Revert "Update running.html.md"
This reverts commit deaac26e1a822a45a0473fa4c2b507623f103e66.
2016-08-23 22:52:13 +01:00
Diptanu Choudhury 9309247f9d Fixed a java test 2016-08-23 16:51:09 -05:00
Diptanu Choudhury 05fe72e89e fixed the exec fingerprinter test 2016-08-23 16:40:56 -05:00
Nathan Fisher 03bb93ab27 Update running.html.md
Update running.html.md for nomad 4.1 output.
2016-08-23 22:27:57 +01:00
Diptanu Choudhury 1d52ab2d04 Merge pull request #1647 from hoffoo/fix_initial_status_api
api/tasks.go: add check initial_status
2016-08-23 16:20:19 -05:00
Marin 9ad8ecc149 api/tasks.go: add check initial_status 2016-08-23 14:09:42 -07:00
Diptanu Choudhury 588a4802c1 removing driver_mock 2016-08-23 16:05:03 -05:00