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

Backport of Fix panic when Vault enters recovery mode, added test into release/1.13.x #20420

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #20418 to be assessed for backporting due to the inclusion of the label backport/1.13.x.

The below text is copied from the body of the original PR.


Fixes regression in recovery mode where Vault panics, the bug was introduced by log rotation features (1.13) and this PR should correct the issue.

We're no longer calling .Flags() which already happens at the top of our Server.Run func, and instead accessing the relevant field (.flags). A test case has been added to verify recovery mode (and a flag check which matches the vanilla Server.Run path added within runRecoveryMode).

Thanks to folks for reporting and assisting with identifying the issue 👍🏼

Closes #20396


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/VAULT-15925/fix-recovery-mode-panic/exactly-infinite-toucan branch from ba82d7a to c200168 Compare April 28, 2023 13:58
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/VAULT-15925/fix-recovery-mode-panic/exactly-infinite-toucan branch from e579516 to 547f169 Compare April 28, 2023 13:58
@peteski22 peteski22 enabled auto-merge (squash) April 28, 2023 13:59
@peteski22 peteski22 added this to the 1.13.3 milestone Apr 28, 2023
@peteski22 peteski22 merged commit 657c287 into release/1.13.x Apr 28, 2023
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.

2 participants