Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Enterprise features from api/, sdk/ #204

Merged

Conversation

cipherboy
Copy link
Member

This removes various references of WALs, Enterprise-only Auto Pilot
configuration, Performance Secondaries, and Disaster Recovery from
api/ and sdk/, including dependent pieces in command, agent, and
proxy (around enforcing consistency, FIPS status, and other related
topics).

This also fixes the README to update references to DockerTestHelper to
remove Vault Enterprise support.


Will be rebased once #203 is merged.

@cipherboy cipherboy force-pushed the remove-additional-enterprise-features branch from e96330e to a5a240e Compare March 15, 2024 19:27
@cipherboy cipherboy marked this pull request as ready for review March 15, 2024 19:27
@naphelps naphelps self-requested a review March 18, 2024 13:20
@cipherboy
Copy link
Member Author

The CI failure:

2024-03-15T19:41:15.0104714Z agent_test.go:874: timed out waiting for templates to render, last error: expected (13) templates, got (12)

is a test I've seen locally fail a bit when I'm stressing the system too much and happens independent of this PR. I've not really found a way to make it more reliable, so wonder if perhaps something is racing in a weird way. If anyone's interested in investigating it more, feel free!

@cipherboy cipherboy force-pushed the remove-additional-enterprise-features branch from a5a240e to 2084b2d Compare March 19, 2024 01:31
@@ -538,6 +539,8 @@ func TestPredict_PathsKVv2(t *testing.T) {
client, closer := testVaultServerWithKVVersion(t, "2")
defer closer()

time.Sleep(250 * time.Millisecond)
Copy link
Contributor

@Gabrielopesantos Gabrielopesantos Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this sleep added due to flakiness in the test?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, thought I added a comment, but perhaps not.

The test flakes when I run on power saving mode on my laptop, because it is running so many tests in parallel and the KVv1->KVv2 auto-migration that is done on mounting isn't complete by the time the subsequent write (below) is performed. Cleaner would be to add a retry loop to testVaultServerWithKVVersion to wait until the KVv2 migration has been performed, but I'm (a) lazy and (b) there's plenty of other command tests that an extra 250ms among friends won't be missed. :-)

You're welcome to tackle that if you want, I think there's other examples of retry loops (e.g., in PKI tests) that you could use if you want. :D

This removes various references of WALs, Enterprise-only Auto Pilot
configuration, Performance Secondaries, and Disaster Recovery from
api/ and sdk/, including dependent pieces in command, agent, and
proxy (around enforcing consistency, FIPS status, and other related
topics).

This also fixes the README to update references to DockerTestHelper to
remove Vault Enterprise support.

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@naphelps naphelps force-pushed the remove-additional-enterprise-features branch from 2a4d542 to 348e331 Compare March 25, 2024 14:15
@naphelps naphelps merged commit ab94091 into openbao:main Mar 25, 2024
72 of 74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants