FlexCache creation fails when origin is encrypted and no excryption license at cache cluster
Applies to
- ONTAP 9
- FlexCache
- ONTAP Encryption
Issue
- When attempting to create a FlexCache, the following error is reported:
::> volume flexcache create -volume cache -aggr-list aggr1 -origin-volume origin -origin-vserver svm1
[Job 126] Job is queued: Create FlexCache volume cache..
Error: command failed: [Job 126] Job failed: Failed to inherit the encryption property of
origin volume "" due to invalid VE (Volume Encryption) license.
- However, after installing the volume encryption (VE) license, the error reported is changed:
::> system license add xxxx
License for package "VE" installed.
::> volume flexcache create -volume cache -aggr-list aggr1 -origin-volume origin -origin-vserver svm1
[Job 127] Creating FlexCache volume
Error: command failed: [Job 127] Job failed: Failed to create the FlexCache volume. Reason:
Failed to create the volume on node "node1". Reason: Key management
is not configured for the admin Vserver or for data Vserver "svm1".
Use the "security key-manager external enable -vserver <vserver_name>"
command to configure external key management or "security key-manager
onboard enable -vserver <vserver_name>" command to configure the Onboard Key Manager for the appropriate Vserver. Resolve the issue, and then try the creation again.
