Commit Graph

13563 Commits

Author SHA1 Message Date
Nick Cabatoff
7679223da6 Reorganize request handling code so that we don't touch storage until we have the stateLock. (#11835) 2021-06-11 13:18:16 -04:00
pjaudiomv
2168d91efb sts is PUT/POST request (#11681)
* sts is PUT/POST request

add changelog

* rebase, rm uneeded changelog
2021-06-11 12:58:39 -04:00
Josh Black
38b6271de1 OSS parts of sighup license reload test (#11816) 2021-06-11 09:08:19 -07:00
Philip Jay
3a333b9902 Include note about ManageOwnAccessKeys stanza (#11734)
It's optional.  Make that clear.
2021-06-11 12:03:21 -04:00
Lars Lehtonen
f1b3d0a0e3 vault: token store dropped test errors (#11799) 2021-06-11 11:41:31 -04:00
Conor Mongey
ee91907a1f fix make ember-dist-dev (#11833) 2021-06-11 11:36:44 -04:00
Sam Salisbury
8c848ade4e Makefile: don't go get -u for plugin upgrades (#11832)
- Not needed to upgrade the plugin itself.
- Can cause issues when transitive modules are updated.
2021-06-11 12:49:50 +01:00
Sam Salisbury
e2bb4d07b2 Remove vendor/ (RELENG-355) (#11544) 2021-06-11 12:35:38 +01:00
Jason O'Donnell
dce9827a2a db/cassandra: Adding changelog and documentation (#11822)
* db/cassandra: add tls_server_name

* Remove changes from deprecated engine

* Add changelog and doc
2021-06-10 19:06:40 -04:00
Michael Golowka
a46b5f948d database/cassandra: Docs: Add known issue warning to pem_bundle field (#11823) 2021-06-10 17:04:12 -06:00
Brian Kassouf
e1730a1c38 Omit wrapping tokens and control groups from client counts (#11826)
* Omit wrapping tokens and control groups from client counts

* add changelog note
2021-06-10 15:57:51 -07:00
Chelsea Shaw
45c8169d73 UI/fix license banner (#11824)
* Fix key for expiry time on sys/health license attr

* Update license warning language if license not autoloaded
2021-06-10 17:49:49 -05:00
Jason O'Donnell
6942098134 plugins/cassandra: add tls_server_name (#11820)
* db/cassandra: add tls_server_name

* Remove changes from deprecated engine
2021-06-10 16:22:20 -04:00
Hridoy Roy
3ee219e9c4 Diagnose resource creation checks (#11627)
* initial refactoring of unseal step in run

* remove waitgroup

* remove waitgroup

* backup work

* backup

* backup

* completely modularize run and move into diagnose

* add diagnose errors for incorrect number of unseal keys

* comment tests back in

* backup

* first subspan

* finished subspanning but running into error with timeouts

* remove runtime checks

* merge main branch

* meeting updates

* remove telemetry block

* roy comment

* subspans for seal finalization and wrapping diagnose latency checks

* backup while I fix something else

* fix storage latency test errors

* runtime checks

* diagnose with timeout on seal
2021-06-10 12:29:32 -07:00
Nick Cabatoff
8377459fcb Only test UI on master, release, merge, and UI branches (#11813) 2021-06-10 15:08:53 -04:00
swayne275
13e61a8385 fix irrevocable leases API deadlock on m.coreStateLock (#11815)
* fix m.coreStateLock deadlock for API handler code

* improve lock comment
2021-06-10 11:01:14 -06:00
Mike Wickett
c6a7d1b137 website: fix incorrect content (#11814) 2021-06-10 11:52:35 -04:00
Shanker Naik
868e6e2246 fix typo in vault operator init cmd (#11792) 2021-06-10 10:39:53 -04:00
Mark Gritter
7a9c948160 Acquire a per-lock lease to make renew and revoke atomic wrt each other. (#11122)
* Acquire a per-lock lease to make renew and revoke atomic wrt each other.
This means we don't have to hold pendingLock during I/O.

* Attempted fix for deadlock in token revocation.

* Comment fix.

* Fix error checking in loadEntry.

* Add benchmark

* Add a few additional locking locations

* Improve benchmark slightly

* Update vault/expiration.go

Co-authored-by: swayne275 <swayne275@gmail.com>

* Update vault/expiration.go

Co-authored-by: swayne275 <swayne275@gmail.com>

* Add a lease lock into tidy

Co-authored-by: Scott Miller <smiller@hashicorp.com>
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
Co-authored-by: Brian Kassouf <briankassouf@users.noreply.github.com>
Co-authored-by: swayne275 <swayne275@gmail.com>
2021-06-09 17:28:41 -07:00
MilenaHC
1b2f572f76 InfluxDB - Add username customization (#11796)
* Add username_template to influxdb

* go fmt

* goimport for influxdb.go
2021-06-09 16:08:59 -05:00
Nick Cabatoff
60cd3d3acc Add some paths that use nonstandard auth. (#11804) 2021-06-09 17:04:06 -04:00
Mike Wickett
a92779ad59 website: update alert banner (#11801) 2021-06-09 12:12:59 -04:00
Sam Salisbury
29ffc4001c build: add keepalive output to UI build (#11800)
- This defeats CircleCI's "no output timeout"
2021-06-09 12:07:42 -04:00
Vishal Nayak
6b3f3dfbbd Udate to Go 1.16.5 (#11802)
* Udate to Go 1.16.5

* Add CL

* Update packages-oss.yml

* Update go_test.yml
2021-06-09 10:38:52 -04:00
Vishal Nayak
d3b188e40b Prep main branch before cutting release branch (#11797)
* Upgrade packagespec to 0.2.6

* Remove darwin/arm64 from building
2021-06-09 09:52:12 -04:00
Chelsea Shaw
9fce74fcda UI/update license serializer (#11794)
* Update serializer for license and example response

* Wrap mirage license/status in data
2021-06-08 15:26:29 -05:00
Maha Sharabinth
3baf0fd41b Password policies: Fix link from API docs to password policy syntax (#11755)
Fixed the issue with the URL link for the Password Policy Syntax.
2021-06-08 11:50:15 -06:00
Maha Sharabinth
45cbe25f5f Add note about JSON encoding to password policies docs (#11754)
Updated content to notify the users that the Special and Control characters will be escaped as per the JSON specification.
2021-06-08 11:45:00 -06:00
Nick Cabatoff
acde7a66f6 Use the perfStandby field instead of the method because we don't want to try to grab the readlock when we're servicing a request (#11793) 2021-06-08 11:55:38 -04:00
Kendall Strautman
ba3f54f3d2 chore: updates alert banner data (#11741)
* chore: updates alert banner data

* Update website/data/alert-banner.js
2021-06-08 07:21:23 -04:00
Austin Gebauer
cf5bfe9e90 Updates the JWT/OIDC auth plugin to v0.9.4 (#11784) 2021-06-07 16:02:57 -07:00
Scott Miller
5da5d9ab5e Third time trying to get the os_openbsd_arm.go right. (#11786)
* Fix the third dumb thing in this file

* ...
2021-06-07 17:19:47 -05:00
Loann Le
1beefcf81b moved client content from cloud to vault (#11776)
* moved client content from cloud to vault

* Empty commit trigger

Co-authored-by: Michele <mdeggies@gmail.com>
2021-06-07 14:19:42 -07:00
Nick Cabatoff
9f38504e06 Pull out license commands, and make the OSS changes needed for the license inspect PR in ent. (#11783) 2021-06-07 14:44:20 -04:00
Angel Garbarino
13534262f4 replace last two partials (#11765)
* replace last two partials

* cleanup

* modify test to cover new component

* only on ca role run new function

* help with inconsistent failure on enterprise test

* small changes to help with flaky test locally

* add js docs
2021-06-07 12:11:46 -06:00
Arnav Palnitkar
ecd458d61f Update secret backend partial to components (#11768)
* Update secret backend partial to components

* Added jsdoc to components
2021-06-07 10:57:36 -07:00
Jason O'Donnell
1aef8759be Docs: clarify purposes in KMS for aws (#11782) 2021-06-07 13:45:14 -04:00
Chelsea Shaw
6faeccc043 UI/license page with autoload (#11778) 2021-06-07 12:44:39 -05:00
Scott Miller
d702ee96d8 Add Advice and Advise functions for adding an advice section to any span. (#11760)
* wip

* wip

* Finish implementing advice handling and word wrapping

* Properly word wrap messages and warnings

* Remove debugging

* Remove debugging

* Remove unnecessary test

* unit test bug

* go vendor
2021-06-07 11:29:36 -05:00
Scott Miller
92b8ba10bc Fix SpotSkipped on openbsd/arm (#11781) 2021-06-07 11:29:15 -05:00
Lars Lehtonen
b69998de5f errwrap.Wrapf() mop-up (#11779) 2021-06-07 12:18:03 -04:00
Hridoy Roy
4239ea87a6 oss part of control groups upgrade (#11772)
* oss part of control groups upgrade

* changelog and docs

* formatting

* formatting
2021-06-07 09:15:35 -07:00
Jeff Escalante
94742eed8a rotate algolia api key (#11703) 2021-06-04 19:54:17 -04:00
swayne275
7212475385 bug fixes and improvements from ent namespace work (#11774) main-creation 2021-06-04 13:25:41 -06:00
Angel Garbarino
6a313fd689 Partials Transit removal (#11737)
* initial setup

* forgot a tab

* whoopies
2021-06-04 13:10:07 -06:00
Angel Garbarino
6be0f62b0b Removing all secret-form-* (#11739)
* initial setup

* put inline secret-form-create and secret-form-edit because of codemirror

* clean up
2021-06-04 13:09:47 -06:00
Josh Black
f2dd7fe9a7 OSS parts of sighup license reload (#11767) 2021-06-04 10:24:35 -07:00
Scott Miller
001b89c090 Return different exit codes for different diagnose results (#11758)
This allows operators to run diagnose in scripts and detect the difference between success, warning, and failure.

Exit codes are now:
0: Success (no warnings)
1: Failure (some test failed)
2: Warning (some test warned)
3: User input failure such as a bad flag
4: Other error
2021-06-04 11:52:49 -05:00
Theron Voran
d06e2a015d Passing BUILD_TAGS to the docker-dev commands (#11769)
Adds BUILD_TAGS to the docker build commands for docker-dev and
docker-dev-ui. Also changes the respective Dockerfile's to use double
quotes with ${BUILD_TAGS} so that it's interpolated.
2021-06-04 08:51:55 -07:00
Scott Miller
0726bad8dc Fix build boolean logic causing os_common to be skipped wrongly (#11766) 2021-06-03 17:29:34 -05:00