Commit graph

7317 commits

Author SHA1 Message Date
Alex Dadgar e7b128271f Diff code fixes 2017-04-16 16:54:40 -07:00
Alex Dadgar 7b3f3f80fb Status shows type of job 2017-04-15 17:08:05 -07:00
Alex Dadgar 34332af70e GC and some fixes 2017-04-15 17:08:05 -07:00
Alex Dadgar 3145086a42 non-purge deregisters 2017-04-15 17:08:05 -07:00
Alex Dadgar 45ad95e862 Agent API + api package 2017-04-15 17:08:05 -07:00
Alex Dadgar 7abcdff7fd GetJobVersions server endpoint 2017-04-15 17:08:05 -07:00
Alex Dadgar fda44689b7 Histories -> Versions 2017-04-15 17:08:05 -07:00
Alex Dadgar f97664512b Upsert Job Histories 2017-04-15 17:08:05 -07:00
Alex Dadgar d489ed3c7d Job History schema 2017-04-15 17:08:05 -07:00
Alex Dadgar 0c72aa9bd2 changelog 2017-04-14 15:30:31 -07:00
Alex Dadgar 5f04fc0d81 Merge pull request #2555 from hashicorp/f-nack-delay
Back-pressure on Nacks and ensure scheduling progress on failures
2017-04-14 15:27:54 -07:00
Alex Dadgar a331a234d4 NewEvalBroker comment 2017-04-14 15:26:54 -07:00
Alex Dadgar a9c8b09da8 Push to configs 2017-04-14 15:24:55 -07:00
Alex Dadgar 8aec604e3f Easy feedback fixes 2017-04-14 13:19:14 -07:00
Alex Dadgar 87978d6611 changelog 2017-04-14 13:15:23 -07:00
Alex Dadgar 61f4a2dac6 Sync allocation state before waiting for a destroy
This change ensures that the client syncs allocation state with the
servers before entering its wait loop for the allocation to be
destroyed.

Fixes https://github.com/hashicorp/nomad/issues/2563
2017-04-14 13:09:54 -07:00
Alex Dadgar ba052d8405 Merge branch 'master' of github.com:hashicorp/nomad 2017-04-14 12:47:52 -07:00
Alex Dadgar f8f4e859af updated cluster requirements 2017-04-14 12:47:46 -07:00
Michael Schurter 5fb9c7b206 Merge pull request #2556 from vrenjith/patch-2
Update java.html.md
2017-04-13 08:36:28 -07:00
vrenjith d3835a002f Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar 918d130f34 vendor new go-memdb 2017-04-12 15:42:45 -07:00
Alex Dadgar 0d18b904d3 changelog 2017-04-12 15:02:21 -07:00
Alex Dadgar 0aecf0a09c Merge pull request #2524 from hashicorp/v-go-getter
Vendor go-getter
2017-04-12 15:00:32 -07:00
Alex Dadgar 0fc37a3718 changelog 2017-04-12 14:59:54 -07:00
Alex Dadgar 67d29f684d Merge pull request #2519 from hashicorp/b-sticky-tmp
Add sticky bit to temp directory
2017-04-12 14:59:14 -07:00
Alex Dadgar df7d59051f Reaping failed evaluations creates follow up eval
Create a follow up evaluation when reaping failed evaluations. This
ensures that a job will still make eventual progress.
2017-04-12 14:47:59 -07:00
Alex Dadgar ef875f6dda Delay Nack re-enqueue
Add a delay when an evaluation is nacked that starts off small but
compounds to a larger delay for subsequent Nacks. This creates some
back pressure.
2017-04-12 13:41:40 -07:00
Alex Dadgar e0f8c90b93 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar 2eb2b9aa2b changelog 2017-04-11 11:28:36 -07:00
Alex Dadgar ad5fea9875 Merge pull request #2541 from hashicorp/f-stable-distributed-id
Hash host ID so its stable and well distributed
2017-04-11 11:27:53 -07:00
Alex Dadgar af5cda6d8c changelog 2017-04-11 10:56:55 -07:00
Alex Dadgar 718a8ccb6a Merge pull request #2547 from hashicorp/f-extra-hosts
Add ExtraHosts to Docker driver
2017-04-11 10:56:11 -07:00
Alex Dadgar cdd624ff5b Add ExtraHosts to Docker driver
This PR allows job submitters to add extra hosts to the containers
/etc/hosts file.

Fixes https://github.com/hashicorp/nomad/issues/2546
2017-04-11 10:52:41 -07:00
Alex Dadgar 30ab0e8ffc changelog 2017-04-10 16:23:46 -07:00
Alex Dadgar c76d5ec66b Merge pull request #2544 from hashicorp/b-plan-panic
Fix a panic during plan evaluation
2017-04-10 16:22:22 -07:00
Alex Dadgar c261fe324e Fix a panic during plan evaluation
This PR fixes a potential source of a panic while evaluating a plan with
all_at_once set to true with partial failures.

Fixes #2531
2017-04-10 14:56:21 -07:00
Alex Dadgar 5fa6a23f01 small doc change 2017-04-10 12:35:41 -07:00
Alex Dadgar 9b9d69f577 Add a comment 2017-04-10 12:07:57 -07:00
Diptanu Choudhury a9e38bfb58 Merge pull request #2536 from hashicorp/f-ipv6-fingerprint
Support IPv6 addresses during fingerprinting
2017-04-10 11:45:59 -07:00
Diptanu Choudhury a96018fccc Fixed typo 2017-04-10 11:45:11 -07:00
Alex Dadgar 2321e8a4a0 Hash host ID so its stable and well distributed
This PR takes the host ID and runs it through a hash so that it is well
distributed. This makes it so that machines that report similar host IDs
are easily distinguished.

Instances of similar IDs occur on EC2 where the ID is prefixed and on
motherboards created in the same batch.

Fixes https://github.com/hashicorp/nomad/issues/2534
2017-04-10 11:44:51 -07:00
Diptanu Choudhury 37f4cf8c5e Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar b77dd729f9 Merge pull request #2538 from sheerun/patch1
Remove unnecessary parameter from NewHTTPServer
2017-04-10 11:16:54 -07:00
Adam Stankiewicz 4daf4cb8c9
Remove unnecessary parameter from NewHTTPServer 2017-04-10 16:24:49 +02:00
Diptanu Choudhury 45ad1298e6 Added a test 2017-04-08 13:44:21 -07:00
Alex Dadgar eed4a9124e Merge branch 'f-ipv6-fingerprint' of github.com:hashicorp/nomad into f-ipv6-fingerprint 2017-04-07 18:37:19 -07:00
Alex Dadgar 9cf1ec3e7a Fix api.NetworkResource fields 2017-04-07 18:36:43 -07:00
Diptanu Choudhury 353f193983 Removed redundant code 2017-04-07 18:28:22 -07:00
Alex Dadgar 4e3e008864 Merge branch 'master' into f-ipv6-fingerprint 2017-04-07 17:11:24 -07:00
Diptanu Choudhury 963b9baf14 Ignoring link local addresses 2017-04-07 16:04:36 -07:00