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 1.8.x: Fix early rotation for roles with WALs, ensure <=1 WAL per role (#28) #29

Merged
merged 1 commit into from Sep 21, 2021

Conversation

tomhjp
Copy link
Contributor

@tomhjp tomhjp commented Sep 21, 2021

Backports #28 for 1.8.x

* Add more WAL logging
* Fix early rotation for roles with WALs, handle multiple WALs per role
* Respect previous WAL's new password
* Ensure only 1 WAL per role
* Add a warning to manual rotation response when rotation not immediately successful
* Remove re-storing of mount config when rotating unrelated roles
* Discard all WALs with a previous rotation time of 0
* Remove deleted WAL IDs from queue items
* Delete unused struct fields
* Switch from warning to error to correct HTTP status code from 400 -> 500
* Delete WALs on failed role creation or role deletion
* Take exclusive lock before reading config
* Fix manual rotate not respecting WAL ID
* Add tests for processing of stored WALs
* Remove unnecessary multierror
* Add last check on newPassword
@tomhjp tomhjp changed the title Fix early rotation for roles with WALs, ensure <=1 WAL per role (#28) Backport 1.8.x: Fix early rotation for roles with WALs, ensure <=1 WAL per role (#28) Sep 21, 2021
@tomhjp tomhjp requested a review from calvn September 21, 2021 17:25
@calvn calvn merged commit d09fc14 into release/vault-1.8.x Sep 21, 2021
@calvn calvn deleted the backport-early-rotation-1.8.x branch September 21, 2021 17:44
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

2 participants