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

Seal migration with Raft #8103

Merged
merged 38 commits into from
Feb 13, 2020
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4164481
Seal migration after unsealing
vishalnayak Jan 6, 2020
2047eed
Refactor migration fields migrationInformation in core
vishalnayak Jan 7, 2020
b96f840
Perform seal migration as part of postUnseal
vishalnayak Jan 8, 2020
e668955
Remove the sleep logic
vishalnayak Jan 8, 2020
67e870e
Use proper seal in the unseal function
vishalnayak Jan 8, 2020
f486b16
Fix migration from Auto to Shamir
vishalnayak Jan 10, 2020
96cb241
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Jan 14, 2020
032a5dc
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Jan 21, 2020
df92ebb
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Jan 21, 2020
23b948e
Fix the recovery config missing issue
vishalnayak Jan 23, 2020
b2ab3c4
Address the non-ha migration case
vishalnayak Jan 23, 2020
cf1a5bf
Fix the multi cluster case
vishalnayak Jan 23, 2020
640c5a1
Avoid re-running seal migration
vishalnayak Jan 27, 2020
bbb79b8
Merge branch 'master' into raft-seal-migration
vishalnayak Jan 27, 2020
6fb8f69
Run the post migration code in new leaders
vishalnayak Jan 27, 2020
8852469
Fix the issue of wrong recovery being set
vishalnayak Jan 27, 2020
146adc6
Address review feedback
vishalnayak Jan 28, 2020
d3b4811
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Jan 28, 2020
3739f17
Add more complete testing coverage for seal migrations. (#8247)
ncabatoff Jan 28, 2020
faed5ef
Fix all known issues
vishalnayak Jan 29, 2020
10066be
Remove warning
vishalnayak Jan 30, 2020
c9d4025
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Jan 30, 2020
06b53eb
Review feedback.
ncabatoff Feb 5, 2020
d89ce53
Revert my previous change that broke raft tests. We'll need to come …
ncabatoff Feb 6, 2020
b19544a
Don't allow migration between same types for now
vishalnayak Feb 6, 2020
cf76c32
Disable auto to auto tests for now since it uses migration between sa…
vishalnayak Feb 6, 2020
5042988
Merge branch 'master' into raft-seal-migration
vishalnayak Feb 6, 2020
841cb7f
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Feb 7, 2020
cb0ef6a
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Feb 12, 2020
925d758
Update vault/core.go
vishalnayak Feb 12, 2020
69ff49d
Add migration logs
vishalnayak Feb 12, 2020
5a14ddf
Address review comments
vishalnayak Feb 12, 2020
d6faa9a
Add the recovery config check back
vishalnayak Feb 12, 2020
0ddd2c2
Skip a few steps if migration is already done
vishalnayak Feb 12, 2020
48c7832
Merge branch 'master-oss' into raft-seal-migration
vishalnayak Feb 13, 2020
a31fcfb
Return from waitForLeadership if migration fails
vishalnayak Feb 13, 2020
d668aff
Merge branch 'master' into raft-seal-migration
vishalnayak Feb 13, 2020
1cfbc19
Merge branch 'master' into raft-seal-migration
vishalnayak Feb 13, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ require (
github.com/cockroachdb/apd v1.1.0 // indirect
github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c
github.com/coreos/go-semver v0.2.0
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d // indirect
github.com/denisenkom/go-mssqldb v0.0.0-20190412130859-3b1d194e553a
github.com/dnaeon/go-vcr v1.0.1 // indirect
github.com/dsnet/compress v0.0.1 // indirect
Expand All @@ -48,6 +49,7 @@ require (
github.com/golang/protobuf v1.3.2
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-metrics-stackdriver v0.0.0-20190816035513-b52628e82e2a
github.com/google/go-querystring v1.0.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.8.5 // indirect
github.com/hashicorp/consul-template v0.22.0
github.com/hashicorp/consul/api v1.1.0
Expand Down Expand Up @@ -96,6 +98,7 @@ require (
github.com/joyent/triton-go v0.0.0-20190112182421-51ffac552869
github.com/keybase/go-crypto v0.0.0-20190403132359-d65b6b94177f
github.com/kr/pretty v0.1.0
github.com/kr/pty v1.1.3 // indirect
github.com/kr/text v0.1.0
github.com/lib/pq v1.2.0
github.com/mattn/go-colorable v0.1.4
Expand Down
Loading