In a vSphere environment using encrypted Cloud Native Storage (CNS) / First Class Disk (FCD) volumes, vSphere HA may fail to restart a Kubernetes or Supervisor-managed virtual machine after the ESXi host running the VM becomes unavailable.
The following symptoms be observed:
- An ESXi host fails or becomes unavailable.
- vSphere HA initiates failover for the affected VM.
- HA cannot find a compatible surviving ESXi host.
- The VM remains powered off, resulting in extended application downtime.
- The encrypted CNS/FCD volume encryption key is present only on the ESXi host where the disk was originally attached.
- Other hosts in the HA/DRS cluster do not have the required encryption key.
[sub=DAS]- vCenter Server 8.0 3h
- vSphere ESXi 8.0 3i
- Supervisor version 1.30
This issue is caused by a code defect in the encrypted CNS/FCD disk attach workflow.
When an encrypted CNS/FCD disk is attached to a VM, the affected workflow sends the disk encryption key only to the ESXi host currently running the VM.
The key is registered as a host-level key rather than as a cluster-level key.
As a result, the encryption key is not automatically distributed to the other ESXi hosts participating in the HA/DRS cluster.
The VMware engineering team is aware of this issue and is working to on a fix.
Workaround
To remediate an affected VM and propagate its encryption key to the other hosts in the cluster, perform a manual vMotion of the VM to an ESXi host that does not already have the encryption key.
The vMotion workflow uses a different encryption-key handling path. During migration, the disk encryption key is promoted to a cluster-level key and distributed to the applicable hosts in the HA/DRS cluster.
Procedure:
1. Identify the VM using the affected encrypted CNS/FCD volume.
2. Confirm that other ESXi hosts are reporting the encryption key as missing in vpxd.log.
Example:
Key <Key-ID>/<Key-Provider> is not present at host <ESXi-host>
3. Ensure the affected VM is running on a host that currently has access to the encryption key.
4. Perform a manual compute vMotion of the VM to another healthy ESXi host in the same HA/DRS cluster that previously reported the key as missing.
5. Allow the vMotion operation to complete successfully.
6. Verify vpxd.log and confirm that the previous missing-key warnings for the affected encryption key no longer occur for the cluster hosts.