Introduction
Problem
DR secondary cluster sealing shortly after startup. Cursory inspection of the operational logs on the DR secondary cluster node(s) show that there is a problem with ALPN raft_storage_v1 for example:
[ERROR] storage.raft: failed to appendEntries to: peer="{Voter vault-dr-node-2 vault-dr-secondary-node-2.domain.com:8201}" error="no client configured for alpn: "raft_storage_v1""
Prerequisites (if applicable)
- Vault Enterprise version 1.7.x or lower with DR replication configured
Cause
- The license has not been properly applied to the DR secondary cluster, causing the DR secondary vault to seal after the trial license expiration.
Solution
-
Consider upgrading to Vault 1.8.0 or later. This will allow you to use the license autoloading features introduced in that version
- Follow this guide for instructions on adding a license to your DR secondary running 1.7.x or previous.
Outcome
Once the DR secondary is properly licensed the errors regarding unreachable and non-configured ALPNs should abate and DR functionality should be restored.