Michael Lange
dc36b40201
Merge pull request #7942 from hashicorp/b-ui/csi-alloc-relationships
...
UI: CSI Bug, Imperatively load controller/node plugin allocations
2020-05-13 10:20:09 -07:00
Michael Lange
eb890eac2e
Merge pull request #7911 from hashicorp/f-ui/csi-availability-gauge
...
UI: CSI Availability Gauges
2020-05-13 10:18:17 -07:00
Mahmood Ali
7141939478
update changelog
...
[ci skip]
2020-05-13 12:54:10 -04:00
Mahmood Ali
846c9e9afa
Merge pull request #7947 from hashicorp/b-docker-image-cleanup
...
docker: Fix docker image gc tracking
2020-05-13 12:50:59 -04:00
Mahmood Ali
9721fd22f9
docker: Fix docker image gc tracking
...
This fixes a bug where docker images may not be GCed. The cause of the
bug is that we track the task using `task.ID+task.Name` on task start
but remove on plain `task.ID`.
This haromize the two paths by using `task.ID`, as it's unique enough
and it's also used in the `loadImage` path (path when loading an image
from a local tarball instead of dockerhub).
2020-05-13 12:33:17 -04:00
Michael Lange
0d9b9f5976
Test coverage for the gauge chart
2020-05-13 08:36:05 -07:00
Michael Lange
070f1003e2
Adjust gauge chart stories
2020-05-13 08:36:05 -07:00
Michael Lange
72ca69811c
Add gauge charts to the plugin detail page to measure availability
2020-05-13 08:36:05 -07:00
Michael Lange
fd27e83ba5
Bottom aligned columns variant
2020-05-13 08:36:05 -07:00
Michael Lange
ef4e7ad401
Add gauge chart stories
2020-05-13 08:36:05 -07:00
Michael Lange
42e107851c
Style the gauge chart component
2020-05-13 08:36:05 -07:00
Michael Lange
60d9dd47f3
Treat null and undefined equally
2020-05-13 08:36:04 -07:00
Michael Lange
61a693c656
Refactor metrics styles to allow for standalone metrics
2020-05-13 08:36:04 -07:00
Michael Lange
3d7e3e6b9c
Gauge chart component
2020-05-13 08:36:04 -07:00
Drew Bailey
0df050d43c
Merge pull request #7946 from hashicorp/ci/pin-golangci-lint
...
pin golangci-lint dep to 1.24.0
2020-05-13 10:45:26 -04:00
Drew Bailey
6f6513ffd3
pin golangci-lint dep to 1.24.0
2020-05-13 10:43:39 -04:00
Mahmood Ali
2622b88b00
Merge pull request #7944 from hashicorp/b-health-checks-after-task-health
...
Allocs are healthy if service checks get healthy before task health
2020-05-13 09:34:03 -04:00
Mahmood Ali
c2e80386f0
document daylight saving change
2020-05-13 08:21:19 -04:00
Mahmood Ali
0ece631e60
allochealth: Fix when check health preceeds task health
...
Fix a bug where if the alloc check becomes healthy before the task health, the
alloc may never be considered healthy.
2020-05-13 07:44:39 -04:00
Mahmood Ali
934c5e8ff0
tests: tests for health check sequencing
...
Add a failing tests to show that if an alloc checks is marked healthy before the
alloc tasks start up, the alloc may be forever considered unhealthy.
2020-05-13 07:43:00 -04:00
Michael Lange
89afc9ccae
Test coverage for the plugin-allocation-row
2020-05-12 21:30:33 -07:00
Michael Lange
ea7b8b1a11
Don't double load freshly loaded allocations
2020-05-12 21:30:33 -07:00
Michael Lange
de74239430
Properly manage the lifecycle of allocations for storage nodes and controllers
2020-05-12 21:30:33 -07:00
Michael Lange
c84070fc42
Key allocation rows to prevent unnecessary re-renders
2020-05-12 21:30:32 -07:00
Mahmood Ali
3b4116e0db
Merge pull request #7894 from hashicorp/b-cronexpr-dst-fix
...
Fix Daylight saving transition handling
2020-05-12 16:36:11 -04:00
Mahmood Ali
326793939e
vendor: use tagged cronexpr, v1.1.0
...
Also, update to the version with modification notice
2020-05-12 16:20:00 -04:00
Jeff Escalante
25810fe526
fix formatting error on preemption docs page
2020-05-12 14:08:55 -04:00
Drew Bailey
7d53bb6283
Merge pull request #7936 from josegonzalez/patch-1
...
docs: add note that only system job preemption is available in OSS
2020-05-12 13:29:47 -04:00
Jose Diaz-Gonzalez
0b9c1db330
Update website/pages/docs/internals/scheduling/preemption.mdx
...
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-05-12 13:21:15 -04:00
Jose Diaz-Gonzalez
de5b5a071d
docs: add note that only system job preemption is available in OSS
2020-05-12 13:02:13 -04:00
Mahmood Ali
3dfd663237
update changelog ( #7934 )
2020-05-12 12:22:22 -04:00
Mahmood Ali
04a3cfbeff
Merge pull request #7932 from hashicorp/f-docker-custom-runtimes
...
Docker runtimes
2020-05-12 11:59:36 -04:00
Mahmood Ali
9f95a50129
update tests
2020-05-12 11:39:09 -04:00
Spencer Owen
02d46b6e5a
fix typo in changelog ( #7930 )
...
Fixes a bad link in the changelog
2020-05-12 11:14:07 -04:00
Mahmood Ali
130d8d36e7
update docs
2020-05-12 11:07:12 -04:00
Mahmood Ali
182b95f7b1
use allow_runtimes for consistency
...
Other allow lists use allow_ prefix (e.g. allow_caps, allow_privileged).
2020-05-12 11:03:08 -04:00
Mahmood Ali
54565e3836
Apply suggestions from code review
...
Co-authored-by: Tim Gross <tgross@hashicorp.com>
2020-05-12 10:56:47 -04:00
Mahmood Ali
06c672cbf2
more tests
2020-05-12 10:14:54 -04:00
Mahmood Ali
0d692f0931
Add a knob to restrict docker runtimes
2020-05-12 10:14:43 -04:00
Chris Baker
fce0e81d8c
Merge pull request #7928 from hashicorp/license-drop-tags
...
remove tags from api struct
2020-05-12 08:40:02 -05:00
Tim Gross
4374c1a837
csi: support Secrets parameter in CSI RPCs ( #7923 )
...
CSI plugins can require credentials for some publishing and
unpublishing workflow RPCs. Secrets are configured at the time of
volume registration, stored in the volume struct, and then passed
around as an opaque map by Nomad to the plugins.
2020-05-11 17:12:51 -04:00
Drew Bailey
64b58775ab
remove tags from api struct
2020-05-11 16:38:35 -04:00
Tim Gross
938e626750
changelog entries for 0.11.2 CSI bugfixes and improvements ( #7926 )
2020-05-11 16:13:25 -04:00
Buck Doyle
8959791bfd
Add changelog entry for exec ACL-checking ( #7925 )
2020-05-11 15:04:48 -05:00
Buck Doyle
c46d5517bb
Add ACL-checking to turn off exec button ( #7919 )
...
This closes #7453 . It adds an abstraction to handle the common
needs of ability-determination.
2020-05-11 14:43:17 -05:00
Mahmood Ali
5fa6d2f54a
Merge pull request #7924 from hashicorp/b-codecgen-flags
...
Clarify Msgpack handling of json tags
2020-05-11 15:04:36 -04:00
Drew Bailey
93a2d81ff2
Merge pull request #7922 from hashicorp/disable-future-commands
...
disable license cli commands
2020-05-11 14:35:12 -04:00
Mahmood Ali
938e916d9c
When serializing msgpack, only consider codec tag
...
When serializing structs with msgpack, only consider type tags of
`codec`.
Hashicorp/go-msgpack (based on ugorji/go) defaults to interpretting
`codec` tag if it's available, but falls to using `json` if `codec`
isn't present.
This behavior is surprising in cases where we want to serialize json
differently from msgpack, e.g. serializing `ConsulExposeConfig`.
2020-05-11 14:14:10 -04:00
Mahmood Ali
b4fa8e9588
codec: we use hashicorp/go-msgpack exclusively
...
No need to maintain two msgpack handles!
2020-05-11 14:05:29 -04:00
Drew Bailey
466e8d5043
disable license cli commands
2020-05-11 13:49:29 -04:00