Buck Doyle
31b4ed7a6d
Add DAS UI code from enterprise ( #9192 )
...
This is a few combined iterations on the DAS feature.
2020-10-29 07:46:42 -05:00
Michael Lange
bae7002c73
Show the nomad agent version of the agent the UI is served from
2020-10-25 23:52:06 -07:00
Buck Doyle
8aacab513b
Add logged Faker seed when none is set in tests ( #9140 )
...
This will hopefully make it easier to reproduce test failures
that happen intermittently, especially in CI.
2020-10-22 13:45:51 -05:00
Michael Lange
f3300bcbf0
Remove the scenarios I didn't need/didn't get to
2020-10-15 11:45:59 -07:00
Michael Lange
4f537c8511
Update scenarios to use new resources code
2020-10-15 02:54:16 -07:00
Michael Lange
64fc738733
Migrate to the new resources properties for allocs and nodes
2020-10-15 02:54:16 -07:00
Michael Lange
5b55f3c740
Medium scale topo scenario
2020-10-15 02:54:14 -07:00
Michael Lange
cab4e618fc
Add cluster details to the topology page
2020-10-15 02:54:13 -07:00
Michael Lange
49736aed46
Tweak topo scenario
2020-10-15 02:54:13 -07:00
Michael Lange
78ae8fd78b
Fix factory bug that made it so pending allocs had no resources
2020-10-15 02:54:13 -07:00
Michael Lange
f0a096119f
Small cluster example scenario for the topo viz
2020-10-15 02:54:13 -07:00
Michael Lange
7604597041
Acceptance test coverage for the submit time sorting on the periodic and parameterized detail pages
2020-09-19 12:37:38 -07:00
Michael Lange
0f2fd905d8
Derive allocation Resources property from TaskResources
2020-09-04 13:46:50 -07:00
Michael Lange
edd904c1c4
Allow for custom resource requirements for jobs that are recognized by allocations
...
The job factory will now accept an array of resourceSpecs that is a shorthand
notation for memory, cpu, disk, and iops requirements.
These specs get passed down to task groups. The task group factory will
split the resource requirements near evenly (there is variance
threshold) across all expected tasks.
Allocations then construct task-resource objects based on the resources
from the matching task.
2020-09-04 13:46:49 -07:00
Michael Lange
f9864930ce
Parameterize generateResources to enable property overrides
2020-09-04 13:46:35 -07:00
Michael Lange
fc31f80880
Temporarily remove poststop from the UI
...
Since poststart and poststop are shipping separately, we can't ship them
both in the UI at the same time.
2020-08-31 19:32:38 -07:00
Buck Doyle
7ed43b0332
Merge branch 'master' into f-ui/poststart-poststop
2020-08-28 10:15:18 -05:00
Michael Lange
25bb975749
Clean up erroneous and redundant mirage things
2020-08-27 17:58:24 -07:00
Buck Doyle
de3504a738
Add poststart and poststop lifecycle phases
2020-08-26 09:55:42 -05:00
Nick Ethier
3cd5f46613
Update UI to use new allocated ports fields ( #8631 )
...
* nomad: canonicalize alloc shared resources to populate ports
* ui: network ports
* ui: remove unused task network references and update tests with new shared ports model
* ui: lint
* ui: revert auto formatting
* ui: remove unused page objects
* structs: remove unrelated test from bad conflict resolution
* ui: formatting
2020-08-20 11:07:13 -04:00
Michael Lange
39583e0ce1
Force mock error scale events to be annotations
2020-08-05 12:02:22 -07:00
Michael Lange
4b7f431981
Acceptance tests for scaling events
2020-07-29 19:07:24 -07:00
Michael Lange
8a995a0db8
Make scale event properties more conditional and serialized correctly
2020-07-29 19:07:24 -07:00
Michael Lange
765077eb03
Model job scaling and events in Mirage
2020-07-29 19:07:24 -07:00
Michael Lange
ac056b14db
Merge pull request #8218 from hashicorp/b-ui/plugin-allocation-healthy-flakiness
...
UI: Add cycling to factory healthy flags
2020-06-19 14:39:47 -07:00
Buck Doyle
0dd9ffdab3
Add cycling to factory healthy flags
...
This is meant to address the plugin test failure seen here:
https://app.circleci.com/pipelines/github/hashicorp/nomad/10015/workflows/ace5d615-db03-4cfc-86b2-31e9e00473ec/jobs/77014/tests
I believe the problem was that on rare occasions, the set
of mock storage controllers and nodes were all unhealthy,
so the facet test had no rows to iterate through. Since
there are always three of each, this guarantees some
healthy ones will be present.
2020-06-19 15:43:32 -05:00
Michael Lange
689dd92aa8
Mirage updates for task group scaling and scaling post endpoint
2020-06-18 22:08:28 -07:00
Michael Lange
c62db754a3
Server monitor page
2020-06-16 10:23:36 -07:00
Michael Lange
c080def72e
Test coverage for the client monitor page
2020-06-16 10:23:36 -07:00
Buck Doyle
9c0f85d7b6
UI: add filesystem browsing for allocations ( #7951 )
...
This partially addresses #7799 .
Task state filesystems are contained within a subdirectory of their
parent allocation, so almost everything that existed for browsing task
state filesystems was applicable to browsing allocations, just without
the task name prepended to the path. I aimed to push this differential
handling into as few contained places as possible.
The tests also have significant overlap, so this includes an extracted
behavior to run the same tests for allocations and task states.
2020-06-01 08:15:59 -05:00
Michael Lange
388bb138c2
Always lower case headers now
2020-05-21 10:35:40 -07:00
Michael Lange
22cc9bec74
Work around a mirage bug
2020-05-18 17:23:55 -07:00
Michael Lange
eabac917f1
Test coverage for the node-only change to the list view
2020-05-18 15:30:00 -07:00
Michael Lange
ee2d1eeb39
Introduce shallow to plugin factories to speed up tests
2020-05-07 17:29:42 -07:00
Michael Lange
11a42b6075
Acceptance test for PluginDetail
2020-05-06 17:36:45 -07:00
Michael Lange
517db723cd
Sort allocations on the plugin detail page
2020-05-06 17:21:49 -07:00
Michael Lange
210f6cdb00
Update storage controller mirage code to accommodate EDMF's lack of relationships
2020-05-06 17:21:46 -07:00
Michael Lange
ffcaef6b22
Model out the rest of the CSI Plugin properties
2020-05-06 17:21:44 -07:00
Michael Lange
034eeb1ddb
Merge pull request #7855 from hashicorp/b-ui/alloc-wrong-reserved-resources
...
UI: Make allocation reference own task group instead of job's task group when job versions don't match
2020-05-06 10:08:37 -07:00
Michael Lange
91b97e0170
Stabilize job and allocation job versions in fixtures
2020-05-01 14:29:24 -07:00
Jasmine Dahilig
a9004faa11
UI: Add representations for task lifecycles ( #7659 )
...
This adds details about task lifecycles to allocations, task groups,
and tasks. It includes a live-updating timeline-like chart on allocations.
2020-04-30 08:15:19 -05:00
Michael Lange
e8e41c5757
Acceptance tests for the volumes list page
2020-04-03 19:28:12 -07:00
Michael Lange
59427662d0
Handle namespaces in the mirage handler for volumes
2020-04-03 19:28:10 -07:00
Michael Lange
01341530e7
Add a volume facet to the clients list page
2020-03-30 17:33:44 -07:00
Michael Lange
1bd6a69067
UI: Support for CSI ( #7446 )
...
Closes #7197 #7199
Note: Test coverage is limited to adapter and serializer unit tests. All
acceptance tests have been stubbed and all features have been manually
tested end-to-end.
This represents Phase 1 of #6993 which is the core workflow of CSI in
the UI. It includes a couple new pages for viewing all external volumes
as well as the allocations associated with each. It also updates
existing volume related views on job and allocation pages to handle both
Host Volumes and CSI Volumes.
2020-03-25 07:51:26 -05:00
Buck Doyle
674da96a59
UI: add exec terminal ( #6697 )
...
This connects Xterm.js to a Nomad exec websocket so people
can interact on clients via live sessions. There are buttons on
job, allocation, task group, and task detail pages that open a
popup that lets them edit their shell command and start a
session.
More is to come, as recorded in issues.
2020-03-24 18:22:16 -05:00
Michael Lange
44a961f4f8
Test coverage for the task detail volumes table
2020-02-13 17:11:35 -08:00
Michael Lange
895d74c503
Test coverage for change in resource rows
2020-02-13 17:11:30 -08:00
Michael Lange
c0f1aff963
Fix flaky host volumes test
2020-02-13 17:11:28 -08:00
Michael Lange
18cf59b22f
Test coverage for the host volumes table
2020-02-13 17:11:25 -08:00