Commit graph

8737 commits

Author SHA1 Message Date
Chelsea Holland Komlo e2dc75d853 update comment to use from other commands 2017-09-15 23:33:43 +00:00
Chelsea Holland Komlo e0594a307a fixups from code review 2017-09-15 23:33:43 +00:00
Chelsea Holland Komlo fdf6120987 add acl token as meta flag
add API test for job ACL
2017-09-15 23:33:43 +00:00
Chelsea Komlo 16ef183ddf Merge pull request #3219 from hashicorp/f-acl-job-list
Add job list ACL
2017-09-15 19:32:34 -04:00
Chelsea Holland Komlo 09d340be23 fix access for health check 2017-09-15 22:57:31 +00:00
Michael Schurter 008b660513 Merge pull request #3222 from hashicorp/f-acl-node
Node ACL enforcement
2017-09-15 14:55:20 -07:00
Michael Schurter 816e7e544e Filter Node.GetAllocs results by readable namespaces 2017-09-15 14:27:11 -07:00
Chelsea Holland Komlo 6ca7a5f4db add documentation for job list acl 2017-09-15 21:26:27 +00:00
Chelsea Holland Komlo 8727092e8e add job list acl 2017-09-15 21:26:27 +00:00
Chelsea Komlo 436c78105c Merge pull request #3225 from hashicorp/f-acl-cli-comp
ACL CLI for token/policy create
2017-09-15 16:57:52 -04:00
Chelsea Holland Komlo c704a054e8 remove unneeded hidden command 2017-09-15 20:23:41 +00:00
Chelsea Holland Komlo 972914b7ea embed acl subcommands 2017-09-15 20:11:37 +00:00
Chelsea Komlo cd51221745 Merge pull request #3194 from hashicorp/f-grafana-metrics
Grafana metrics
2017-09-15 15:44:02 -04:00
Chelsea Holland Komlo 9d3104ca26 filter acl subcommands 2017-09-15 19:37:57 +00:00
Chelsea Holland Komlo 820bf16755 add link to configuration 2017-09-15 19:23:08 +00:00
Chelsea Holland Komlo 5a813da80c update readme for steps to create 2017-09-15 19:23:08 +00:00
Chelsea Holland Komlo f07ad6b55b add a sample grafana dashboard and readme 2017-09-15 19:23:08 +00:00
Chelsea Komlo 093c8b4543 Merge pull request #3186 from hashicorp/f-prometheus-dashboard
Prometheus dashboard
2017-09-15 14:30:05 -04:00
Chelsea Holland Komlo 1a68dd0772 reworded prometheus readme 2017-09-15 18:27:04 +00:00
Chelsea Holland Komlo 18e658c94d fix up comments 2017-09-15 18:12:17 +00:00
Chelsea Holland Komlo aa7cc445be fixups from code review 2017-09-15 18:08:46 +00:00
Michael Schurter 1af9352403 Check for permission denied errors 2017-09-15 10:41:28 -07:00
Chelsea Holland Komlo 9e224b812d fixups from code review 2017-09-15 16:22:39 +00:00
Armon Dadgar 08f592d38d website: document token create 2017-09-14 22:05:17 -07:00
Michael Schurter 01816af088 Node.List ACL enforcement 2017-09-14 22:01:18 -07:00
Armon Dadgar a6370a433b command: document CLI flags 2017-09-14 21:59:36 -07:00
Armon Dadgar 08da937cf0 command: Adding acl token create 2017-09-14 21:55:25 -07:00
Michael Schurter aca9e337aa Node.GetAllocs ACL enforcement 2017-09-14 21:42:19 -07:00
Michael Schurter 369ab10405 Fix comments for Node ACL tests 2017-09-14 21:41:26 -07:00
Armon Dadgar 3345ef42b8 website: document acl policy apply 2017-09-14 21:31:15 -07:00
Armon Dadgar 7efb311bc5 command: Adding intermediate command for help text 2017-09-14 21:31:05 -07:00
Armon Dadgar a51d5e0b5b command: Adding acl policy apply test 2017-09-14 21:19:56 -07:00
Michael Schurter 4fc44c686c Node.GetNode ACL enforcement 2017-09-14 20:59:18 -07:00
Michael Schurter 21ee5f4720 Node.Evaluate ACL enforcement 2017-09-14 20:41:44 -07:00
Michael Schurter 0cfaaa0a4d Node.UpdateDrain ACL enforcement 2017-09-14 20:33:31 -07:00
Michael Schurter 41c05782b3 Add NodePolicy test helper 2017-09-14 20:33:12 -07:00
Michael Schurter 1dc147f40d Merge pull request #3220 from hashicorp/f-allocs-acl
Alloc.{GetAlloc,List} ACL enforcement
2017-09-14 19:47:07 -07:00
Michael Schurter aca3bebb0a Alloc.GetAlloc ACL enforcement 2017-09-14 17:44:57 -07:00
Michael Schurter f5faf97650 Alloc.List ACL enforcement 2017-09-14 17:43:17 -07:00
Chelsea Komlo 3b857c5e8f Merge pull request #3213 from hashicorp/f-acl-job-summary
Add job endpoint ACL
2017-09-14 18:21:19 -04:00
Alex Dadgar c08f9e729f Merge pull request #3217 from hashicorp/b-batch-filter
Fix batch handling of complete allocs/node drains
2017-09-14 15:11:40 -07:00
Alex Dadgar b2f892b2ac changelog 2017-09-14 15:11:26 -07:00
Alex Dadgar 3904bde9a3 Fix batch handling of complete allocs/node drains
This PR fixes:
* An issue in which a node-drain that contains a complete batch alloc
would cause a replacement
* An issue in which allocations with the same name during a scale
down/stop event wouldn't be properly stopped.
* An issue in which batch allocations from previous job versions may not
have been stopped properly.

Fixes https://github.com/hashicorp/nomad/issues/3210
2017-09-14 15:08:57 -07:00
Alex Dadgar 96442414b8 Changelog 2017-09-14 14:35:53 -07:00
Alex Dadgar 6c935f7303 Update CHANGELOG.md 2017-09-14 14:34:02 -07:00
Alex Dadgar d156cb48b3 Merge pull request #3206 from hashicorp/b-eval-index
Worker waits til max ModifyIndex across EvalsByJob
2017-09-14 14:29:32 -07:00
Alex Dadgar e862bbc78a Changelog 2017-09-14 14:29:02 -07:00
Alex Dadgar 567eef50a8 Address feedback 2017-09-14 14:28:43 -07:00
Alex Dadgar 6911bd7676 Worker waits til max ModifyIndex across EvalsByJob
This PR fixes a scheduling race condition in which the plan results from
one invocation of the scheduler were not being considered by the next
since the Worker was not waiting for the correct index.

Fixes https://github.com/hashicorp/nomad/issues/3198
2017-09-14 14:28:43 -07:00
Alex Dadgar 765de546d8 Merge pull request #3214 from hashicorp/f-agent-servers
Sort /v1/agent/servers output
2017-09-14 14:22:00 -07:00