Skip to main content
Question

LKM master key rotation stuck – Mantle on one CVM fails "FetchMasterKeyOp for version 6 failed with kRetry" after restart (AOS 6.5.5.7, DaRE not enabled)

  • Dec 3, 2026 4:52 AM UTC
  • 2 replies
  • 88 views

Environment
- AOS 6.5.5.7, NCC 4.6.6.1, AHV 20220304.488
- 6-node cluster (Lenovo HX3320), FT1/RF2
- Data-at-Rest Encryption is NOT enabled (license does not allow it)
- NTP check PASS, all cluster services UP

Symptom
- Prism alert: "Local key manager master key rotation warning. Last failure reason: Some mantle instances are down"
- Resolving the alert does not help; it keeps coming back.

Timeline
1) Nov 17–18 (UTC), Mantle on CVM-A (Zeus leader) looped for ~23h:
mantle_server_rotate_mk_op.cc:919] Unable to store key part for <CVM-B node uuid> due to kNetworkError, exiting
mantle_server.cc:3598] Unable to do Master Key rotation to -1 error: kNetworkError
2) After Nov 18 13:00 UTC, the Mantle process on CVM-A stopped logging completely.
Its listen socket on 9881 showed accept queue full (Recv-Q 129 / backlog 128),
while all other CVMs showed 0. fd count 62 (limit 20480), 23 threads.
3) Network between CVMs is fine: ping OK, nc to 9880/9881 on CVM-B OK.
4) Dec 3: restarted Mantle on CVM-A only (genesis stop mantle; cluster start).
Mantle comes UP, but now loops every 2 seconds:
mantle_server.cc:1801] Fetching Master Key 6 info for node <CVM-A uuid> initialization
mantle_server_fetch_mk_op.cc:245] Node <each of 6 nodes, incl. itself> failed with error kNetworkError
mantle_server_fetch_mk_op.cc:256] Exceeded retry threshold for fetching the master key
mantle_server.cc:1878] FetchMasterKeyOp for version 6 failed with error kRetry
mantle_server.cc:1031] Master Key Zknode changed (every ~2 s)
Replies come back within ~0.1 ms, so they don't seem to reach the peers.
Certificates load fine (only "Duplicate root certificate skipped" warning).
5) kNetworkError counts in mantle.INFO on other CVMs: 274k / 106k / 356 / 0 / 0.

Questions
- Is this the issue described in KB-22000 ("Mantle Service Fails Due to
Master Key Rotation Getting Stuck")? Is there a safe recovery procedure?
- With DaRE disabled, what is the actual impact of Mantle not having the MK on one CVM?
- Is it safe to keep the cluster running as-is (no CVM restarts/upgrades) until fixed?

We currently cannot open a support case. Any guidance is appreciated.

2 replies

JeroenTielen
Forum|alt.badge.img+8

Kb-22000 is for prism central. If no encryption is used you can leave it as is. 
 

but you run a very old eol version of aos and ahv.


Forum|alt.badge.img+1

The kNetworkError counts point more at the other CVMs than at A. I'd run the same ss -lnt check on 9881 on every CVM, my guess is the one with 274k errors has the same full accept queue A had on the 18th, so A's fetch just keeps timing out against it. Restarting mantle on A alone won’t clear that. If you find one stuck, restart mantle on that CVM (genesis stop mantle, then cluster start), one CVM at a time and let it settle before the next. With DaRE off nothing is actually encrypted with those keys, so like Jeroen said it's mostly alert noise, but I'd still get it clean before you move off 6.5.