Commit Graph

1474 Commits

Author SHA1 Message Date
Alex Dadgar 89763663ce Merge pull request #310 from hashicorp/f-node-up-eval
Create evals for system jobs on node registration
2015-10-21 18:06:07 -07:00
Alex Dadgar 3195b25aba Also create evals from Down -> Ready 2015-10-21 17:58:54 -07:00
Mitchell Hashimoto dff2b23406 Merge pull request #316 from gregory-m/vet
Make go vet happy
2015-10-21 10:44:39 -07:00
Gregory Man 400363079c Make go vet happy 2015-10-21 15:47:36 +03:00
Diptanu Choudhury 44a6fcd330 Merge pull request #312 from hashicorp/b-rolling-update
Added the UpdataStrategy struct to the api/jobs struct
2015-10-20 17:14:46 -07:00
Alex Dadgar 40fa9cbb89 Do a full loop of the sys-job iterator before the fast-path check 2015-10-20 17:11:57 -07:00
Diptanu Choudhury 79ccde7c2c Fixed the imports 2015-10-20 16:42:53 -07:00
Diptanu Choudhury b4d714ec56 Added the UpdataStrategy struct to the api/jobs struct so that we don't loose the information passed on from the cli 2015-10-20 16:16:05 -07:00
Alex Dadgar fcee850c2b Cleanup system job loop 2015-10-20 13:02:55 -07:00
Alex Dadgar 91a8528bba UpdateStatus test to ensure system evals are created on state transistion 2015-10-20 11:33:37 -07:00
Alex Dadgar 2314bd7c2c Add scheduler type index to jobs table; create evals for system jobs on node init to ready transition 2015-10-20 10:57:53 -07:00
Alex Dadgar 7d239c1297 Merge pull request #308 from poll0rz/patch-1
Update doc with System Scheduler from PR #287
2015-10-19 13:47:55 -07:00
poll0rz 6b20a33c91 format long line 2015-10-19 22:46:10 +02:00
Alex Dadgar 0ef5ee51f6 Merge pull request #307 from hashicorp/qemu-checkup-doc-update
driver/qemu: Update docs, we use SHA256 not MD5
2015-10-19 13:35:15 -07:00
Alex Dadgar c3fbce46b7 Update cgroup CPU to use int comparison not float 2015-10-19 13:33:22 -07:00
poll0rz 387f78a521 system scheduler (PR #287)
https://github.com/hashicorp/nomad/pull/287
2015-10-19 21:30:21 +02:00
poll0rz e92d6ce479 Update schedulers - system (PR #287)
https://github.com/hashicorp/nomad/pull/287
2015-10-19 21:26:26 +02:00
Clint Shryock 9d0005e87e driver/qemu: Update docs, we use SHA256 not MD5 2015-10-19 14:14:41 -05:00
Alex Dadgar 489b9a925b Check for invalid CPU limit for cgroups 2015-10-19 11:28:05 -07:00
Alex Dadgar 8582b4d7f9 Merge pull request #299 from charlieok/patch-2
suggested clarification on automatic port mapping
2015-10-19 10:53:04 -07:00
Charlie O'Keefe f360e9e9eb Update docker.html.md 2015-10-17 15:56:05 -06:00
Chris Bednarski 95db713184 Merge pull request #300 from charlieok/patch-3
depending how how -> depending on how
2015-10-17 14:23:04 -07:00
Charlie O'Keefe 2e08ff67bd depending how how -> depending on how 2015-10-17 14:55:55 -06:00
Charlie O'Keefe 225f93f067 suggested clarification on automatic port mapping 2015-10-17 11:54:17 -06:00
Alex Dadgar 2f5a2b795b Fix a racy test and increase the raft timeouts to mitigate other racy tests 2015-10-16 17:53:43 -07:00
Alex Dadgar fbc5eee001 Merge pull request #287 from hashicorp/f-system-scheduler
Add System Scheduler that runs tasks on every node
2015-10-16 17:21:45 -07:00
Alex Dadgar fd77180d64 Merge pull request #291 from hashicorp/d-rkt-volume-mounts-blocked
Document that Rkt doesn't support task directory mounting
2015-10-16 17:07:53 -07:00
Alex Dadgar a087f6223c Merge pull request #297 from achanda/jvm_opts_fix
Actually append jvm opts to the CLI
2015-10-16 17:07:05 -07:00
Alex Dadgar d9b78ffdfe Remove base nodes from stack constructors 2015-10-16 17:05:23 -07:00
Alex Dadgar 1a1febba4f Unit tests for the refactor scheduler methods 2015-10-16 16:35:55 -07:00
Abhishek Chanda 9e541450c2 Actually append jvm opts to the CLI
- Also adds a test
2015-10-16 22:45:16 +00:00
Alex Dadgar bdfe7e0887 Validate task group count on system scheduler 2015-10-16 14:15:01 -07:00
Alex Dadgar 1ec921a3c2 Refactor task group constraint logic in generic/system stack 2015-10-16 14:00:51 -07:00
Chris Bednarski ec3aef58ab Merge pull request #296 from hashicorp/remove-defaultclient
Remove usage of http.DefaultClient
2015-10-16 13:57:36 -07:00
Jeff Mitchell 50c2955f54 Remove usage of http.DefaultClient 2015-10-16 16:56:43 -04:00
Alex Dadgar 4de4292536 Merge pull request #293 from achanda/jvm_opts
Support passing options to the JVM in java driver
2015-10-16 13:37:53 -07:00
Abhishek Chanda 603526c341 Add docs for jvm_options 2015-10-16 12:44:43 -07:00
Abhishek Chanda dfbdb10fcb No need to pass jvm_options initially 2015-10-16 12:44:43 -07:00
Abhishek Chanda ab1a8f3532 Some minor style cleanups 2015-10-16 12:44:33 -07:00
Abhishek Chanda 6ab97078e5 Support passing options to the JVM in java driver
Closes #292
2015-10-16 12:44:33 -07:00
Alex Dadgar ab9acb9edf diffResult stores values not pointers 2015-10-16 11:43:09 -07:00
Alex Dadgar 406e135ce8 Add negative test to DriverIterator, increase system scheduler attempts, and fix evictAndPlace status message 2015-10-16 11:36:26 -07:00
Alex Dadgar cadc738fa0 Fix broken test 2015-10-16 10:11:31 -07:00
Alex Dadgar f185701d6d Rkt driver clears task environment variables 2015-10-15 18:19:13 -07:00
Alex Dadgar 384a622c59 Add clearing to environment variables 2015-10-15 18:13:05 -07:00
Alex Dadgar 9c7c88176a Rename from bug to issue 2015-10-15 17:56:36 -07:00
Alex Dadgar fe9c0f46bf Document that Rkt doesn't support task directory mounting 2015-10-15 17:55:26 -07:00
Alex Dadgar 668b103332 Merge pull request #290 from hashicorp/f-docker-alloc-mount
Mount task_local and alloc dir to docker containers
2015-10-15 17:47:32 -07:00
Alex Dadgar c7fd8993c1 Change two helper functions to be methods 2015-10-15 17:47:14 -07:00
Alex Dadgar a0d9f8dd33 Remove debug lines 2015-10-15 17:30:40 -07:00