Commit Graph

9208 Commits

Author SHA1 Message Date
Alex Dadgar
1d8c4ac289 Merge branch 'master' of github.com:hashicorp/nomad 2017-10-19 16:26:12 -07:00
Alex Dadgar
d54cb92c70 check lxc properly 2017-10-19 15:53:19 -07:00
Michael Schurter
ba0dfa5fbb Merge pull request #3426 from hashicorp/docs-lowbar
Prevent _ from causing italics
2017-10-19 15:52:57 -07:00
Michael Schurter
59f51f06de Prevent _ from causing italics
Fixes #3418
2017-10-19 15:35:47 -07:00
Alex Dadgar
e254232b9b generated 2017-10-19 15:20:39 -07:00
Alex Dadgar
4e6d60fa7a rc1 2017-10-19 15:18:16 -07:00
Michael Lange
9e643c4bd3 Merge pull request #3423 from hashicorp/b-ui-never-return-null-from-headers
Never return null for adapter headers
2017-10-19 12:23:10 -07:00
Michael Lange
6d39295871 Merge pull request #3424 from hashicorp/b-ui-job-version-for-node-allocs
Expect JobVersion in one of two places
2017-10-19 12:21:10 -07:00
Michael Lange
b3c79c5eaa Merge pull request #3425 from hashicorp/b-ui-correct-cpu-usage
Don't rely on CpuStats.Percent
2017-10-19 12:20:34 -07:00
Michael Lange
f8de9ee0b5 Expect JobVersion in one of two places 2017-10-19 10:52:05 -07:00
Michael Lange
20b8e39842 Don't rely on CpuStats.Percent
Just do the math client-side with TotalTicks and Reserved
2017-10-19 10:44:52 -07:00
Michael Lange
631fe68339 Never return null for adapter headers
Ember Data checks strictly against undefined:
https://github.com/emberjs/data/blob/master/addon/adapters/rest.js#L1128
2017-10-19 10:10:01 -07:00
Michael Schurter
46c3b91a78 Merge pull request #3414 from hashicorp/f-cors
Support CORS for client endpoints
2017-10-19 09:52:33 -07:00
Michael Lange
adddd8f30c Merge pull request #3416 from hashicorp/b-ui-provide-acl-token-on-client-requests
Provide ACL token on client requests
2017-10-18 20:08:28 -07:00
Michael Lange
bfda4ded4d Merge pull request #3412 from hashicorp/b-ui-disable-fuzzy-search
Disable fuzzy search
2017-10-18 20:08:15 -07:00
Michael Lange
30806f9bc5 Add the acl token as a header to client requests 2017-10-18 19:48:17 -07:00
Michael Lange
c7d3301c43 Remove fuse as a dependency 2017-10-18 19:45:12 -07:00
Michael Lange
8178f9b7fa Merge pull request #3410 from hashicorp/f-ui-add-job-version-to-allocs-table
Add job version to allocation tables
2017-10-18 19:38:42 -07:00
Michael Lange
b0c53d0325 Merge pull request #3413 from hashicorp/b-ui-flush-store-after-acl
Unload all records when a token is set or cleared
2017-10-18 19:37:07 -07:00
Michael Schurter
e5599deee4 Support CORS for client endpoints
Added to /v1/client/stats and /v1/client/allocation/
2017-10-18 17:32:36 -07:00
Michael Lange
03900ea35e Unload all records when a token is set or cleared
This guarantees no privileged data is shown to unprivileged credentials
2017-10-18 16:42:08 -07:00
Michael Lange
7bbcdd44cd Disable fuzzy search
It doesn't work well for highly precise values, or small datasets, or prefixes.
Which are our three use cases.
2017-10-18 12:52:24 -07:00
Michael Lange
76bda0fb37 Add job version to allocation tables 2017-10-18 12:29:33 -07:00
Michael Lange
c4071b95f6 Merge pull request #3406 from hashicorp/b-ui-sort-allocs-by-modify-index
Sort allocs by ModifyIndex + bonus content
2017-10-18 11:59:01 -07:00
Michael Lange
06f781db8d Update tests for the ModifyIndex column and sort change 2017-10-18 11:45:02 -07:00
Michael Lange
4382e696e7 Always provide a valid value for transform 2017-10-18 11:45:02 -07:00
Michael Lange
106967bd62 Don't double render, also don't render infinitely
See https://github.com/emberjs/ember.js/issues/13948
2017-10-18 11:45:02 -07:00
Michael Lange
2bf8945e02 Use the right footer pagination styles on task group page 2017-10-18 11:45:02 -07:00
Michael Lange
68e444d660 Fix an issue where allocation rows can have a state change in the same frame as a render 2017-10-18 11:45:02 -07:00
Michael Lange
6ee142ace1 Make ModifyIndex the default sort property for alloc tables 2017-10-18 11:45:02 -07:00
Michael Lange
7007d04dee Add ModifyIndex as a sortable column for alloc tables 2017-10-18 11:45:02 -07:00
Michael Lange
9839061745 Sort allocation by status type, not simply alphanumeric 2017-10-18 11:45:01 -07:00
Michael Schurter
6cd233bb5d Merge pull request #3408 from hashicorp/b-docker-bridge-ip
Add logging around moby/moby#32648 bug
2017-10-18 10:53:12 -07:00
Michael Schurter
4a6255b6c6 Add logging around moby/moby#32648 bug 2017-10-18 10:44:03 -07:00
Alex Dadgar
0bf7c1f5ce Improve acl bootstrap docs 2017-10-17 15:17:07 -07:00
Alex Dadgar
151fdee183 Merge pull request #3403 from hashicorp/b-policy-validate
Return error for invalid policy
2017-10-17 15:04:37 -07:00
Chelsea Holland Komlo
b50a3f8e6d fixup from code review 2017-10-17 17:34:06 -04:00
Michael Schurter
0aaba92087 Merge pull request #3398 from hashicorp/f-consul-1.0.0
Bump Consul to 1.0.0 in vagrant/travis
2017-10-17 14:03:08 -07:00
Michael Lange
67968570e0 Merge pull request #3404 from hashicorp/b-ui-memory-measurements
Use the right math and metrics to measure used Memory
2017-10-17 12:22:50 -07:00
Michael Lange
f1dc08db29 Tests (and bug fixes!) for the format-bytes helper 2017-10-17 10:17:42 -07:00
Michael Lange
5055bc248d Show real usage numbers as tooltips 2017-10-17 10:17:42 -07:00
Michael Lange
93202b2e1b Fix the memory usage math
1. Use RSS, not Cache (shoulda read the source)
2. Convert bytes to megabytes before doing division
2017-10-17 10:17:42 -07:00
Michael Lange
5f617d7955 New helper for human-formatting bytes 2017-10-17 10:17:42 -07:00
Michael Lange
1b1dae4366 In dev mode, mask the local node port to 4200
This allows for local development with the client end points for the node
running on localhost.
2017-10-17 10:17:41 -07:00
Michael Schurter
eec7bae1a0 No need to leave this commented out code in 2017-10-17 09:56:54 -07:00
Chelsea Holland Komlo
7453b2c8ff update error message for invalid policy 2017-10-17 12:21:38 -04:00
Chelsea Holland Komlo
429586d703 policy must specify at least one namespace 2017-10-17 12:12:54 -04:00
Chelsea Komlo
a9665ab299 Merge pull request #3400 from hashicorp/b-quota-guide
Small fix for quota guide
2017-10-16 20:37:02 -04:00
Michael Schurter
a52cb34ab8 Don't set Interval on TTL health checks 2017-10-16 17:35:47 -07:00
Alex Dadgar
74478102da Merge pull request #3401 from hashicorp/f-docker-build
build scripts
2017-10-16 17:07:13 -07:00