When you try to configure or reconfigure a replication with seed disks, a vSAN target datastore and a VM Encryption Policy storage policy, the process fails.
Problem
The process fails with the following error:
A generic error occurred in the vSphere Replication Management Server. Exception details: Cannot apply policy to vSAN object 'xxx' (status: 'failed', fault: InvalidArgument, message: Non vSAN Profile)
Cause
This error occurs because it is not possible to apply storage profiles without at least one vSAN rule to vSAN objects.
Solution
- Workaround 1: Use a predefined storage policy, for example Management Storage policy - Encryption.
- Workaround 2: Create a custom storage policy that contains at least one vSAN rule.