Commit Graph

17567 Commits

Author SHA1 Message Date
Mahmood Ali 6e10ca72e4 add beta info 2020-03-25 11:14:55 -04:00
Mahmood Ali af8263fb5b Publish nomad 0.10.5 release 2020-03-25 11:12:39 -04:00
Mahmood Ali 1c1186b344
Merge pull request #7487 from hashicorp/b-xss-oss
agent: prevent XSS by controlling Content-Type
2020-03-25 09:56:11 -04:00
Mahmood Ali e7ebf5ce71 changelog: add 0.10.5 entry
[ci skip]
2020-03-25 09:55:33 -04:00
Tim Gross f849d2cb5e
api: prevent panic if volume has nil allocs (#7486) 2020-03-25 09:45:51 -04:00
Michael Schurter 29622013fa remove double negative from comment
Co-Authored-By: Mahmood Ali <mahmood@hashicorp.com>
2020-03-25 09:45:43 -04:00
Michael Schurter 1a27b8a07d test: assert monitor endpoint sets proper headers 2020-03-25 09:45:43 -04:00
Michael Schurter d6d44a8214 test: assert fs endpoints are xss safe 2020-03-25 09:45:43 -04:00
Michael Schurter 5ff458e840 agent: prevent XSS by controlling Content-Type 2020-03-25 09:45:43 -04:00
Mahmood Ali 70bd20390a
Merge pull request #7484 from hashicorp/fix-tests-20200325_1
Some test fixes
2020-03-25 09:02:17 -04: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
Mahmood Ali c7cf60c837 tests: test agent to use a noop auditor 2020-03-25 08:45:44 -04:00
Mahmood Ali b33dbe539b tests: TestCSIPluginEndpoint_ACLNamespaceAlloc is ent
TestCSIPluginEndpoint_ACLNamespaceAlloc uses namespace features not
present in OSS.
2020-03-25 08:45:44 -04:00
Mahmood Ali 281fc9837c tests: relax index checks
TestStateStore_Indexes specifically tests for `nodes` index, but asserts
on the exact number of indexes present in the state.  This is fragile
and will break almost everytime we add a state index.
2020-03-25 08:45:38 -04:00
Mahmood Ali 0c1dd8a204
Merge pull request #7485 from hashicorp/backfill-changelog
add missing changelog entry for 6975
2020-03-25 08:43:16 -04:00
Drew Bailey 38d2cf9a42
add missing changelog entry for 6975 2020-03-25 08:41:36 -04:00
Mahmood Ali 884d18f068
Merge pull request #7383 from hashicorp/b-health-detect-failing-tasks
health: detect failing tasks
2020-03-25 06:30:05 -04:00
Mahmood Ali 354ad01493
Merge pull request #7482 from hashicorp/b-fix-tests-20200324
Fix some flaky tests
2020-03-24 22:24:22 -04:00
Mahmood Ali 92632a1bea
tweaks 0.11.0 changelog (#7481) 2020-03-24 22:20:51 -04:00
Mahmood Ali a5b024fdea tests: restart restartpolicy for all tasks in tests 2020-03-24 21:52:48 -04:00
Mahmood Ali 2698056311 ci: collect json file
Start collecting raw `go test -json` output to help with debugging odd
CI failures.
2020-03-24 21:47:21 -04:00
Mahmood Ali 7565ac34c0 tests: populate task restart policy properly 2020-03-24 21:44:37 -04:00
Mahmood Ali ab83780851
Merge pull request #7466 from hashicorp/csi_changelog
add changelog entries for 0.11.0
2020-03-24 20:47:25 -04:00
Drew Bailey 8c681f4fdb
Merge pull request #7480 from hashicorp/docs-ent-fix-typo
fix typo
2020-03-24 19:50:18 -04:00
Drew Bailey e3a449bbee
fix typo 2020-03-24 19:48:29 -04:00
Drew Bailey 209ff549b6
Merge pull request #7479 from hashicorp/docs-ent-audit
update enterprise audit blurb
2020-03-24 19:46:38 -04:00
Drew Bailey ec2fd3329c
update enterprise audit blurb 2020-03-24 19:42:02 -04: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
Mahmood Ali 35aa8d6a3f
Merge pull request #7288 from hashicorp/f-task-restart-policy
Support per-task RestartPolicy
2020-03-24 18:33:26 -04:00
Mahmood Ali a45202399c tests: fix TestAllocations_GarbageCollect 2020-03-24 17:38:59 -04:00
Mahmood Ali 5ed346bf05 tests: update AR task restart policy 2020-03-24 17:00:42 -04:00
Mahmood Ali ceed57b48f per-task restart policy 2020-03-24 17:00:41 -04:00
Chris Baker ffd79583f6
Merge pull request #7474 from hashicorp/f-scaling-changes-from-review
more testing for scaling API
2020-03-24 15:32:10 -05:00
Chris Baker c638c2c352 update RPC scaling endpoint tests to use renamed 'scale' policy disposition 2020-03-24 20:18:12 +00:00
Jasmine Dahilig 1a6236f97c update changelog 0.11 with task dependencies 2020-03-24 12:52:47 -07:00
Chris Baker 5979d6a81e more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
Chris Baker ea050b20c7 test coverage for scaling policy min/max parsing 2020-03-24 19:28:24 +00:00
Lang Martin 8bd0405f33
csi: return an empty result list from plugins & volumes without `type`, not an error (#7471) 2020-03-24 14:28:28 -04:00
Drew Bailey 2430954a9d
Merge pull request #7429 from hashicorp/docs-audit-logging
docs: audit logging
2020-03-24 14:24:31 -04:00
Drew Bailey 4b74084aba
enterprise index page update 2020-03-24 14:22:37 -04:00
Tim Gross b0dbef3221
CSI: HTTP API docs (#7435)
HTTP API documentation for the `/plugin` and `/volume` endpoints, to
support CSI.
2020-03-24 14:21:45 -04:00
Drew Bailey 2f5e77dba4
Audit logging documentation
docs for audit logging

enterprise only note

enterprise page audit blurb

add audit to sidebar

add general options audit info

fix name for docs-navigation

link to docs

more docs

add audit log entry examples

fix audit link

clean up audit log docs
2020-03-24 14:20:27 -04:00
Chris Baker aa5beafe64 Job.Scale should not result in job update or eval create if args.Count == nil
plus tests
2020-03-24 17:36:06 +00:00
Tim Gross 913da68296
csi: remove client from plugin on client node update (#7462)
Plugins track the client nodes where they are placed. On client
updates, remove the client from the plugin tracking if the client is
no longer running an instance of that controller/node plugin.

Extends the state store tests to ensure deregistration works as
expected and that controllers and nodes are being tracked
independently.
2020-03-24 13:26:31 -04:00
Mahmood Ali c65abcb352 batch update with Mahmood's entries 2020-03-24 13:20:11 -04:00
Chris Baker 6cb8003b9f updated changelog: scaling APIs 2020-03-24 16:20:37 +00:00
Drew Bailey b3d78bfca4
changelog: enterprise audit logging 2020-03-24 12:19:17 -04:00
Tim Gross 1b365d029f
Update CHANGELOG.md
Co-Authored-By: James Rasell <jrasell@users.noreply.github.com>
2020-03-24 12:12:43 -04:00
Chris Baker 9e530e167d
Merge pull request #7409 from hashicorp/scaling-api
Scaling API changes
2020-03-24 11:02:09 -05:00
Buck Doyle 3b1218205f Update changelog for exec UI 2020-03-24 10:57:14 -05:00