Michael Lange
2d1b489cf2
Use an absolute positioning for narrow chart
...
translateY(-50%) doesn't work on svg elements in firefox, apparently?
2017-09-26 17:18:52 -07:00
Michael Lange
4d9c430a87
Rerender the distribution chart when the window resizes
2017-09-26 17:18:22 -07:00
Michael Lange
0c5ec93e7d
Scroll to the top of the page on transition. Like a normal website.
2017-09-26 16:43:34 -07:00
Michael Schurter
d7229ce6c5
Merge pull request #3256 from dalegaard/master
...
Enable rkt driver to use address_mode = 'driver'
2017-09-26 18:04:37 -05:00
Alex Dadgar
76e4230833
Merge pull request #3284 from hashicorp/f-lint
...
Enable more linters
2017-09-26 15:46:42 -07:00
Alex Dadgar
4173834231
Enable more linters
2017-09-26 15:26:33 -07:00
Lasse Dalegaard
9f584d1114
Ignore rkt network failure if container died early
...
If the container dies before the network can be read, we now ignore the
error coming out of the network information polling loop. Nomad will
restart the task regardless, so we might be masking the actual error.
The polling loop for the rkt network information, inside the `Start`
method, was getting a bit unwieldy. It's been refactored out so it's not
a seperate function.
2017-09-27 00:15:27 +02:00
Lasse Dalegaard
b43ec57c02
Make rkt port mapping test not exit immediately
...
The rkt port mapping test currently starts redis with --version, which
obviously makes redis exit again almost immediately. This means that the
container exists before the network status can be queried, and so the
test fails.
2017-09-26 23:10:24 +02:00
Chelsea Holland Komlo
f4b7451c62
add acl to lastest job api
2017-09-26 20:53:43 +00:00
Chelsea Holland Komlo
55c4ca187e
add acl for job deployments endpoint
2017-09-26 20:33:03 +00:00
Lasse Dalegaard
3a6d065c8e
Add rkt default network to Travis
...
The current Travis setup scripts copy in rkt, but do not set up a
default container network.
Here we copy the container network setup over from the vagrant setup
scripts.
2017-09-26 22:20:01 +02:00
Chelsea Holland Komlo
a7b7b3f6c6
add acl for Job Evaluations endpoint
2017-09-26 20:12:37 +00:00
Lasse Dalegaard
17d155d316
Improve rkt driver network status poll loop
...
The network status poll loop will now report any networks it ignored, as
well as a no-networks situations.
2017-09-26 21:49:45 +02:00
Lasse Dalegaard
bafd32fda0
Refactor rkt network status loop
...
The network status poll loop for the rkt drivers `Start` method was a
bit messy, and could not display the last encountered error. Here we
clean it up.
2017-09-26 21:27:12 +02:00
Chelsea Komlo
600759ebb9
Merge pull request #3275 from AlmZ/patch-1
...
Fix typo in Prometheus Configuration url
2017-09-26 15:05:43 -04:00
Chelsea Komlo
4b358d09a3
Merge pull request #3274 from hsmade/patch-2
...
Update metrics.html.md
2017-09-26 15:03:48 -04:00
Michael Lange
491f4ff27d
Fix the links in table rows bug
...
Click events were greedily redirecting to the resource pages instead
of first yielding to the anchor tag clicked if an anchor tag was in
fact clicked.
2017-09-26 11:59:42 -07:00
Michael Lange
819fceeac5
Migrate tests over to native helpers as much as possible
2017-09-26 11:59:41 -07:00
Michael Lange
819baa5deb
Switch to native dom helpers
2017-09-26 11:59:41 -07:00
Michael Lange
acd5687e7e
Demonstrate link in action table row bug
2017-09-26 11:59:41 -07:00
Michael Schurter
510c584f9d
Merge pull request #3277 from hashicorp/b-fix-grace-keyword
...
grace_period -> grace
2017-09-26 13:21:21 -05:00
Chelsea Holland Komlo
2fb7772c2c
add acl to job allocations endpoint
2017-09-26 18:01:23 +00:00
Chelsea Holland Komlo
d3e8b4812b
better test assertions
2017-09-26 17:41:53 +00:00
Chelsea Holland Komlo
f912619157
add ACL for GetJob endpoint
2017-09-26 17:38:03 +00:00
Lasse Dalegaard
5e9e2b07bd
Small logging fix in rkt/driver
2017-09-26 19:36:13 +02:00
Michael Schurter
d0140f07ca
grace_period -> grace
2017-09-26 10:21:35 -07:00
Lasse Dalegaard
3d25fd3b00
Bump minimum rkt version to 1.27.0.
...
The changes introduces in #3256 require at least rkt 1.27.0 because of
a bug in the JSON output of `rkt status` in previous versions.
Here we upgrade all references to rkt's minimum version, and also make
travis and vagrant use this version when running tests.
Finally we add a CHANGELOG notice.
2017-09-26 19:15:43 +02:00
Alex Dadgar
4eeffefef3
Namespace Quotas -> Resource Quotas
2017-09-26 09:51:28 -07:00
Chelsea Holland Komlo
5f467a84d3
add read job permissions to evaluate endpoint
2017-09-26 16:05:17 +00:00
Almaz Gabdelkhadiev
f4a9d5c954
Fix typo in Prometheus Configuration url
2017-09-26 17:51:21 +03:00
Wim Fournier
aa1a47f03c
Update metrics.html.md
...
Fix typo
2017-09-26 13:06:59 +02:00
Lasse Dalegaard
7c0454fbb5
Update CHANGELOG.md
2017-09-26 10:25:27 +02:00
Lasse Dalegaard
f55f2b8f24
Turn rkt network status failure into Start failure
...
If the rkt driver cannot get the network status, for a task with a
configured port mapping, it will now fail the Start() call and kill the
task instead of simply logging. This matches the Docker behavior.
If no port map is specified, the warnings will be logged but the task
will be allowed to start.
2017-09-26 10:20:57 +02:00
Lasse Dalegaard
55a2e60e1a
Test for rkt driver setting DriverNetwork
...
To test that the rkt driver correctly sets a DriverNetwork, at least
when a port mapping is requested, we amend the
TestRktDriver_PortsMapping test with a small check.
2017-09-26 09:10:50 +02:00
Lasse Dalegaard
2d307d5beb
Discard errors from rkt status and cat-manifest
...
Since we don't actually show these errors anywhere, just discard them
right away.
2017-09-26 09:05:47 +02:00
Chelsea Komlo
68e679a8f2
Merge pull request #3270 from hashicorp/f-acl-job-revert
...
Add ACL for job revert endpoint
2017-09-25 18:43:08 -04:00
Chelsea Holland Komlo
78f853e253
add ACL endpoint for Job Stable
2017-09-25 22:17:58 +00:00
Alex Dadgar
f6d1b7f2eb
Document enterprise upgrade path
2017-09-25 14:59:41 -07:00
Chelsea Komlo
fd913cdd09
Merge pull request #3264 from hashicorp/f-acl-token-update
...
Update ACL token
2017-09-25 17:56:04 -04:00
Chelsea Holland Komlo
021dae5452
add acl documentation
2017-09-25 21:53:32 +00:00
Chelsea Holland Komlo
014dc2d7de
Add ACL for Revert Job endpoint
2017-09-25 21:51:19 +00:00
Alex Dadgar
dd98953f02
Update bolt
2017-09-25 14:43:44 -07:00
Alex Dadgar
b16ae85424
Merge pull request #3268 from hashicorp/f-upgrade
...
Document need to specify network_interface on 0.6
2017-09-25 13:51:40 -07:00
Alex Dadgar
dbff10a4a5
Document need to specify network_interface on 0.6
...
This PR enhances the upgrade documentation from 0.5.x to 0.6.x
Fixes https://github.com/hashicorp/nomad/issues/3236
2017-09-25 13:50:07 -07:00
Chelsea Holland Komlo
907c4da351
fixups from code review
2017-09-25 19:42:03 +00:00
Chelsea Komlo
7c6e4db385
Merge pull request #3265 from hashicorp/f-refactor-emit-client-metrics
...
Move setGaugeForAllocationStats to emitClientMetrics
2017-09-25 14:27:58 -04:00
Chelsea Komlo
ddc979f459
Merge pull request #3266 from hashicorp/f-acl-job-validate
...
Add ACL for job validate endpoint
2017-09-25 14:09:02 -04:00
Alex Dadgar
8e12551976
Merge pull request #3267 from hashicorp/b-deployment-gc
...
Run deployment garbage collector on an interval
2017-09-25 11:05:06 -07:00
Alex Dadgar
73b7466a6e
Run deployment garbage collector on an interval
...
Fixes https://github.com/hashicorp/nomad/issues/3244
2017-09-25 11:04:40 -07:00
Alex Dadgar
5d2291d751
Merge pull request #3260 from hsmade/patch-1
...
Update network.html.md
2017-09-25 10:57:26 -07:00