Irena Rindos and Dan Heath
b908e7b9da
docs(bsr): explain bsr data chunks ( #4554 )
...
* docs(bsr): explain bsr data chunks
---------
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
2024-04-08 11:59:25 -04:00
Elim Tsiagbey
a23c57e7c6
feat: add storageEventListener nil check
...
Only shutdown the storageEventListener if the storageEventListener is not nil
2024-04-05 17:27:20 -04:00
Elim Tsiagbey
fae2149990
docs: Local Storage State
...
- add docs for local storage states
- add docs for `recording_storage_minimum_available_capacity` config field for workers
2024-04-05 16:47:35 -04:00
Elim Tsiagbey
c67f468e94
test(e2e): add helper function for finding worker by filter
...
- Add `GetWorkerWithFilterCLI` helper function for finding a worker by Address
2024-04-05 16:47:28 -04:00
Elim Tsiagbey
2c140b1e09
feat: Local Storage State API & CLI
...
- add `local_storage_state` value to API & CLI
2024-04-05 16:47:22 -04:00
Elim Tsiagbey
3bef063c72
feat: Filter workers by local storage state function
...
- add functionality to filter worker by local storage state.
- add feature constraint for local storage state
2024-04-05 16:47:10 -04:00
Elim Tsiagbey
3f94c900f0
feat: Add worker event listener
...
- add worker event listener
- add worker event handler
- start event listener when a worker starts
2024-04-05 16:46:22 -04:00
Elim Tsiagbey
8506ed3e2c
feat: Report Local Storage State Status
...
- add `LocalStorageState` to worker status reports
- update worker service handler to process `LocalStorageState`. If is empty for workers older workers, we set the `LocalStorageState` to `unknown`
- update field mask paths to support `LocalStorageState`
2024-04-05 16:46:06 -04:00
Damian Debkowski
aea473c77b
feat: new worker config for minimumAvailableCapacity
2024-04-05 16:45:52 -04:00
Elim Tsiagbey
f483d1417c
feat: Update Proto Definition for Local Storage State
...
Update `ServerWorkerStatus` Proto Definition to include Local Storage State
2024-04-05 16:45:35 -04:00
Elim Tsiagbey
79917f74b8
feat(worker): Worker Local Storage State DB Column
...
- Add new `local_storage_state` column to `server_worker` table which keeps track of the state of the local disk space.
- The valid values for `local_storage_state` are:
-- `available`: The worker local storage state is at an acceptable state
-- `lowStorage`: The worker is below the minimum threshold for local storage
-- `criticallyLowStorage`: The worker local storage state is below the critical minimum threshold for local storage
-- `outOfStorage`: The worker is out of local disk space
-- `notConfigured`: The worker does not have a local storage path configured
-- `unknown`: The default local storage state of a worker. Used when the local storage state of a worker is not yet known
2024-04-05 16:44:54 -04:00
6cb7bebaa7
Updated Vault integration section with Client Count ( #4551 )
...
* Updated Vault integration section with Client Count
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* rework headers
* updates Injected credentials section
* various style guide and formatting fixes
* fixes link and updates page description
* docs: Style updates
---------
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
Co-authored-by: Robin Beck <stellarsquall@protonmail.ch >
2024-04-04 18:29:29 -04:00
Michael Li
e8e19df872
chore: Update net dependency ( #4595 )
...
Addresses GO-2024-2687/CVE-2023-45288
2024-04-04 16:03:38 -04:00
Michael Li
d74d667716
test(credential): Potential fix for race condition ( #4587 )
...
* test(credential): Potential fix for race condition
* test: Additional instances
2024-04-04 15:24:19 -04:00
Michael Li and Dan Heath
82a6ac057d
doc: Refactor "install boundary" section ( #4557 )
...
* doc: Refactor "install boundary" section
* CR: Use shell-session over bash
* docs: Update redirects and TOC
* CR: Word style/standards
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* CR: Add second level heading
* CR: Fix more shell-sessions
* CR: Fix link
---------
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
2024-04-04 13:15:31 -04:00
Irena Rindos
1e5559173f
fix(session): return from workerStatusReport on first error ( #4586 )
2024-04-04 12:29:40 -04:00
Jeff Mitchell
d396a33930
Fix controller-only in dev not showing events ( #4594 )
2024-04-03 20:56:51 -04:00
Louis Ruch
e9e3d7cad5
feat(session): Include session recording id in auth-session resp ( #4593 )
2024-04-03 17:54:37 -07:00
Jeff Mitchell
446b790f02
Make WrappableCommand input be a func ( #4590 )
...
When wrapper.Wrap was put into place, the argument going into it was no
longer part of a closure but was instead evaluated at function call
time. As a result this would create 197 extra goroutines and
channels on startup - one for each command using wrapper.Wrap. Among
other things this made stack traces much more difficult to parse.
2024-04-03 20:43:20 -04:00
Michael Li
51d33f3393
refact(e2e): Add err to helper methods ( #4581 )
...
* refact(e2e): Add err to CreateOrgApi
* refact(e2e): Add err to CreateProjectApi
* refact(e2e): Add err to CreateOrgCli
* refact(e2e): Add err to CreateProjectCli
* refact(e2e): Add err to CreateHostCatalogApi
* refact(e2e): Add err to CreateHostSetApi
* refact(e2e): Add err to CreateHostApi
* refact(e2e): Add err to AddHostToHostSetApi
* refact(e2e): Add err to CreateHostCatalogCli
* refact(e2e): Add err to CreateHostSetCli
* refact(e2e): Add err to CreateHostCli
* refact(e2e): Add err to AddHostToHostSetCli
* refact(e2e): Add err to CreateAwsHostCatalogCli
* refact(e2e): Add err to CreateAwsHostSetCli
* refact(e2e): Add err to CreateTargetApi
* refact(e2e): Add err to AddHostSourceToTargetApi
* refact(e2e): Add err to CreateTargetCli
* refact(e2e): Add err to AddHostSourceToTargetCli
* refact(e2e): Add err to SetHostSourceToTargetCli
* refact(e2e): Add err to RemoveHostSourceFromTargetCli
* refact(e2e): Add err to AddBrokeredCredentialSourceToTargetCli
* refact(e2e): Add err to RemoveBrokeredCredentialSourceFromTargetCli
* refact(e2e): Add err to CreateUserApi
* refact(e2e): Add err to CreateUserCli
* refact(e2e): Add err to SetAccountToUserCli
* refact(e2e): Add err to CreateRoleApi
* refact(e2e): Add err to CreateRoleCli
* refact(e2e): Add err to AddGrantToRoleCli
* refact(e2e): Add err to AddPrincipalToRoleCli
* refact(e2e): Add err to CreateManagedGroupApi
* refact(e2e): Add err to CreateGroupApi
* refact(e2e): Add err to CreateGroupCli
* refact(e2e): Add err to AddUserToGroup
* refact(e2e): Add err to CreateCredentialStoreStaticApi
* refact(e2e): Add err to CreateCredentialStoreVaultApi
* refact(e2e): Add err to CreateCredentialStoreVaultCli
* refact(e2e): Add err to CreateCredentialStoreStaticCli
* refact(e2e): Add err to CreateVaultGenericCredentialLibraryCli
* refact(e2e): Add err to CreateStaticCredentialPrivateKeyCli
* refact(e2e): Add err to CreateStaticCredentialPasswordCli
* refact(e2e): Add err to CreateStaticCredentialJsonCli
* refact(e2e): Add err to CreateStaticCredentialPasswordApi
* refact(e2e): Add err to CreateAuthMethodApi
* refact(e2e): Add err to CreateOidcAuthMethodApi
* refact(e2e): Add err to CreateAccountApi
* refact(e2e): Add err to CreateAccountCli
2024-04-03 09:44:44 -04:00
Michael Li
d4e314cde8
test(e2e): Remove leftover debug line ( #4588 )
2024-04-02 12:02:21 -04:00
Michael Li
1778ab93bc
chore: Update docker dep ( #4583 )
...
Vulnerabilities
- GHSA-mq39-4gv4-mvpx
- GO-2024-2659
2024-04-01 16:12:15 -04:00
hashicorp-tsccr[bot] and hashicorp-tsccr[bot]
ad430b29e0
Result of tsccr-helper -log-level=info gha update -latest . ( #4580 )
...
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-04-01 11:22:40 -04:00
Michael Li
cb28fe4296
test(e2e): Add module for minio docker container ( #4578 )
2024-03-29 10:27:39 -04:00
Todd and Johan Brandhorst-Satzkorn
55fe70e643
Change 404 errors for aliases to 401s ( #4575 )
...
* Change 404 errors for alias resolution to 401s
---------
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
2024-03-27 16:14:49 -07:00
Michael Li
8533433868
refact(e2e): Consolidate tests ( #4569 )
...
* refact(e2e): Move -remote-command check into ssh test
* refact(e2e): Remove duplicate test
* fix(e2e): Modify unnecessary use of Logf
* fix(e2e): Add error checks
* fix(e2e): Remove unused parameter
2024-03-27 09:49:06 -04:00
Michael Li
e0305f11aa
test(e2e): Add check for boundary search -force-refresh ( #4566 )
2024-03-26 12:56:17 -04:00
Todd
95c507fad5
Add hidden ferry commands and auto adding tokens to ferry daemon ( #4572 )
...
* Add boundary ferry command (#4462 )
* Add boundary ferry status (#4463 )
* Add sending auth token automatically to ferry daemon (#4465 )
* Hide ferry cmds, background error msgs, and dont retry background add-token requests (#4571 )
2024-03-25 15:04:13 -07:00
Todd
c42a940332
Updating deps ( #4537 )
2024-03-25 10:09:44 -07:00
Johan Brandhorst-Satzkorn
dd206bb419
deps: update go-jose ( #4568 )
...
Apparently 3.0.1 has a vulnerability
2024-03-22 12:56:30 -07:00
Irena Rindos and Dan Heath
11540f0bdd
docs(bsr): bsr storage requirement guidelines ( #4553 )
...
* docs(bsr): bsr storage requirement guidelines
---------
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
2024-03-22 08:20:41 -04:00
Dan Heath
a4ac18073c
docs: Update release notes ( #4543 )
...
* docs: Update release notes
* docs: Updates based on review feedback
2024-03-21 17:12:30 -04:00
Irena Rindos
46a16b91e5
docs(bsr): explain BSR files in detail ( #4546 )
...
* docs(bsr): explain BSR files in detail
2024-03-20 15:47:13 -04:00
Michael Li
af9db26b52
chore: Add docs team as codeowners for website ( #4545 )
2024-03-20 13:53:14 -04:00
Pradeep Sekar
c0fce8b6bf
chore: update changelog ( #4542 )
2024-03-18 16:23:07 -07:00
Jeff Mitchell
6afa50d9c7
Update changelog entry for coalescing
2024-03-18 13:36:56 -04:00
Todd and Danielle Miu
83e887e2f5
Updating changelog for 0.15.3 ( #4515 ) ( #4538 )
...
* Updating changelog for 0.15.3
* Update changelog for 0.15.2
---------
Co-authored-by: Danielle Miu <29378233+DanielleMiu@users.noreply.github.com >
2024-03-18 10:07:41 -07:00
Jeff Mitchell
b4f2b2ae80
Update changelog
2024-03-15 15:34:21 -04:00
Jeff Mitchell
7e214026af
Fix issue with workers connecting in high latency conditions ( #4535 )
...
At some point we migrated to grpc ConnectParams to control how often
retries were happening. One value that we didn't set was the
MinConnectTimeout. It turns out that if you don't set this, it won't use
the default; instead if will actually use a value of zero, which gRPC
internally ups to something that seems to be around 25ms to meet a
minimum threshold. This is not documented in the function comments.
This commit simply sets the value of MinConnectTimeout to the unexported
gRPC default.
2024-03-15 15:31:07 -04:00
Todd
cb1e9b570b
Add CLI flags for creating an alias with a target ( #4512 )
...
* Add CLI flags for creating an alias with a target
* Add bats tests
2024-03-15 09:36:34 -07:00
Jeff Mitchell
a4bafdf9f4
Remove unintended log statements ( #4533 )
2024-03-15 10:34:51 -04:00
Jeff Mitchell
4542eef22b
Add templating coalesce function ( #4492 )
2024-03-15 10:33:10 -04:00
Jeff Mitchell
7105270cd5
Make TestServer_ReloadWorkerTags non-parallel
...
This will hopefully help with flakiness.
Note: this was tested on the Ent side
2024-03-14 14:25:17 -04:00
Michael Li
b251e7a8b9
chore(e2e): Add session recording resources for UI tests ( #4498 )
2024-03-14 10:09:51 -04:00
Jeff Mitchell
19b19d6756
Comment out parallel statements causing test failures ( #4528 )
...
It hasn't been investigated why this is happening (getting a number of
403 errors) but for now removing parallel fixes it.
2024-03-13 21:12:26 -04:00
Todd
c8d8736f49
Do not emit 404 errors when resolving aliases ( #4518 )
2024-03-13 14:25:33 -07:00
929dd5abc3
vault integrations docs ( #4510 )
...
* docs: Vault integrations (#3449 )
* Index page
* Added basic navigation
* Starting the Vault integration page
* Bringing in content created by Danny Knights (danny.knights@hashicorp.com )
* Added <Note> for the information around Vault client count and amended wording
* Updated Overview, added hyperlinks, added Resources header
* Removed resources section to comply with the flow of the rest of the page
* Change KV to Key-Value and amended <Note> section
* Integrations changed to plural to match Consul
* Added Brokered Creds UI Screenshot
* Changed Boundary and Vault overview to integrations
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* Apply batch suggestions from code review
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
* Update website/content/docs/integrations/vault/index.mdx
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
---------
Co-authored-by: dannyjknights <dannyjknights@gmail.com >
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
* removes package-lock.json
---------
Co-authored-by: Daniel Greeninger <daniel@greeninger.org >
Co-authored-by: dannyjknights <dannyjknights@gmail.com >
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
Co-authored-by: XingLu Wang <xinglu.wang@hashicorp.com >
2024-03-13 12:04:23 -04:00
Todd
868228847d
Add handler and API support for alias creation with target ( #4508 )
...
* Add handler and API support for alias creation with target
2024-03-12 13:57:47 -07:00
Todd
8d5ec21d73
Create aliases when creating a target in repo ( #4504 )
...
* Create aliases when creating a target in repo
2024-03-12 13:04:20 -07:00
Timothy Messier
3a8ee32140
doc: Add details on "river" formatting to SQL style guide ( #4450 )
2024-03-11 15:08:06 -04:00