You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nodes migrated from etcd to raft for HA all remain in standby
I have several clusters that use S3 for storage, KMS for auto unseal, and etcd for HA coordination. I've been trying to work out a process for migrating from etcd to raft for HA, while retaining S3 and KMS for storage and unsealing. But regardless of what I try, nodes that are configured to look at raft for HA all always unseal and enter standby mode, leaving me without an active node.
Key Value
--- -----
Seal Type awskms
Recovery Seal Type shamir
Initialized true
Sealed false
Total Recovery Shares 5
Threshold 3
Version 1.18.1
Build Date 2024-10-29T14:21:31Z
Storage Type s3
Cluster Name vault-cluster-e7d44718
Cluster ID b6e5b308-df72-5a40-346e-72fceb366bb2
HA Enabled true
HA Cluster n/a
HA Mode standby
Active Node Address <none>
Expected behavior
One of the nodes is elected leader and is selected for the vault-active service
Environment:
Vault Server Version (retrieve with vault status): 1.18.1
Vault CLI Version (retrieve with vault version): Vault v1.18.1 (f479e5c), built 2024-10-29T14:21:31Z
Nodes migrated from etcd to raft for HA all remain in standby
I have several clusters that use S3 for storage, KMS for auto unseal, and etcd for HA coordination. I've been trying to work out a process for migrating from etcd to raft for HA, while retaining S3 and KMS for storage and unsealing. But regardless of what I try, nodes that are configured to look at raft for HA all always unseal and enter standby mode, leaving me without an active node.
To Reproduce
vault operator migrate -config=migrate.hcl
with the followingmigrate.hcl
file:and I get output roughly like:
So far so good; however, when I attempt to restart the nodes with the raft config for HA, none of the nodes becomes active:
This is the last few log lines I see on all nodes with the new config:
and
vault status
Expected behavior
One of the nodes is elected leader and is selected for the vault-active service
Environment:
Vault Server Version (retrieve with
vault status
): 1.18.1Vault CLI Version (retrieve with
vault version
): Vault v1.18.1 (f479e5c), built 2024-10-29T14:21:31ZServer Operating System/Architecture: k8s 1.28
Vault server configuration file(s): See above
Additional context
The text was updated successfully, but these errors were encountered: