Commit Graph

4725 Commits

Author SHA1 Message Date
Mathias Lafeldt
acb9997ca7 Fix typos in source code 2016-07-18 16:24:46 +02:00
Mathias Lafeldt
0941dc1330 Fix typos in documentation 2016-07-18 16:24:30 +02:00
Diptanu Choudhury
3c686010da Merge pull request #1425 from dvusboy/update_constraints_doc
Replace `Operator` with `Operand`
2016-07-14 00:46:25 -06:00
K.C. Wong
a4af8abefa Replace Operator with Operand
* while HCL job-spec uses `operator`, JSON uses `Operand`
* `Operand` is required, it no longer defaults to `==`
  (@see nomad/structs/structs.go#L2297)
2016-07-13 15:56:42 -07:00
Alex Dadgar
7e51a4181f Merge branch 'master' of github.com:hashicorp/nomad 2016-07-13 15:34:58 -06:00
Alex Dadgar
704bfcefa5 Changelog 2016-07-13 15:34:40 -06:00
Alex Dadgar
e9bfabe20d Merge pull request #1420 from hashicorp/f-tail-lines
Implement tail -n
2016-07-13 15:33:34 -06:00
Alex Dadgar
a1b46b3a6d Allow following of files when cating and fix offsets 2016-07-13 15:33:17 -06:00
Alex Dadgar
640fc0f875 Changelog 2016-07-13 14:40:10 -06:00
Alex Dadgar
47f163b087 Merge pull request #1421 from hashicorp/f-system-count-zero
Allow count 0 on system jobs
2016-07-13 14:39:23 -06:00
Alex Dadgar
398f888662 Add FrameReader test 2016-07-13 14:37:03 -06:00
Alex Dadgar
d3906b0fd4 Allow count 0 on system jobs 2016-07-13 13:50:08 -06:00
Diptanu Choudhury
4b214f30f5 Merge pull request #1383 from hashicorp/f-job-summary
Job Summary - Part 1
2016-07-13 13:34:27 -06:00
Alex Dadgar
991220b5c7 implement -n for tail 2016-07-13 13:26:09 -06:00
Diptanu Choudhury
04b24cf9ec Fixed typos in comments 2016-07-13 13:25:07 -06:00
Diptanu Choudhury
42ba68a201 Removing the queued state of Job Summary and alloc desired status false 2016-07-13 13:20:46 -06:00
Alex Dadgar
25dd45c763 frames to reader 2016-07-12 17:34:32 -06:00
Alex Dadgar
7494c942ce Changelog 2016-07-12 17:24:23 -06:00
Alex Dadgar
887a2e947f Merge pull request #1404 from hashicorp/f-streaming
Implement a streaming API and tail in the fs command
2016-07-12 17:23:04 -06:00
Alex Dadgar
19ca6e7b55 address comments 2016-07-12 17:01:33 -06:00
Diptanu Choudhury
3c1e657a06 Renamed jobsummary to job_summary 2016-07-12 16:00:35 -06:00
Diptanu Choudhury
61d59ab71d Refactored the test 2016-07-12 14:37:51 -06:00
Diptanu Choudhury
97df5d2bdf Accounting lost state of allocations 2016-07-12 14:27:45 -06:00
Alex Dadgar
1d717ea9be changelog 2016-07-12 13:53:43 -06:00
Alex Dadgar
3f511eb4cb Merge pull request #1403 from hashicorp/f-hold-rpc
Gracefully handle short lived outages by holding RPC calls
2016-07-12 13:52:33 -06:00
Diptanu Choudhury
e191c3185a Added a method for listing jobs whose id matches a prefix 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
e1fc445b4d Added a test to ensure client alloc updates are happening properly 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a417ef4d14 Updated logic to handle change in desired status of allocation when client status is still pending 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
8bfdb729fb Added test for job summary restore 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
3c9d340996 Added methods to save and restore job summary snapshots 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
ce43ad613e handled the logic of task group count going up 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
7b51b58edc Added a test to ensure correctness of job summary when client updates alloc 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
b121f9c4d4 Added test to make sure summary gets deleted when job gets deleted 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
a780955f23 Implemented logic to update the job summary when allocs are inserted 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
f98be5daf3 Implemented job state accounting logic for upsert job 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
fe40544455 Added a schema for summarizing status of jobs 2016-07-12 11:41:13 -06:00
Diptanu Choudhury
5798a23813 Merge pull request #1410 from hashicorp/f-client-lost-state
Changing the state of an allocation to lost if the node on which it w…
2016-07-12 11:30:08 -06:00
Diptanu Choudhury
76b913c519 Handling allocations with client state pending 2016-07-12 11:29:23 -06:00
Alex Dadgar
ffb57ffd6f Address more comments 2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c Tests and handle conn close behavior better 2016-07-12 10:18:48 -06:00
Alex Dadgar
1f8d70c1cd version bump 2016-07-12 09:53:28 -06:00
Alex Dadgar
20b619380d Merge pull request #1405 from novilabs/delay-on-startup-failure
do not fail for multiple startup failures, delay instead
2016-07-12 09:51:40 -06:00
Sean Chittenden
3ff6f63ad7 Use anchored regexp for filtering vendored tests 2016-07-12 02:15:42 -04:00
Cameron Davison
f88432427a test policy delay for startup error 2016-07-11 20:54:36 -05:00
Cameron Davison
f255464bf4 if policy mode is delay, do not fail for multiple startup failures, delay instead 2016-07-11 20:40:53 -05:00
Diptanu Choudhury
da591a262e Changing the state of an allocation to lost if the node on which it was running was marked as down 2016-07-11 18:24:04 -06:00
Sean Chittenden
b0fa994692 Merge pull request #1409 from hashicorp/f-client-lost-state
Skipping travis tests and not installing rkt on travis
2016-07-11 17:52:38 -04:00
Sean Chittenden
8e8f2c1378 Merge pull request #1408 from hashicorp/b-speedup-unit-tests
Remove xargs(1) from testing and rely on `go test -v`.
2016-07-11 17:51:56 -04:00
Diptanu Choudhury
cab0d3eea7 Introduced an env var for rkt tests 2016-07-11 15:48:16 -06:00
Diptanu Choudhury
1b137e4344 Skipping travis tests and not installing rkt on travis 2016-07-11 15:10:09 -06:00