SRM reprotect fails with error "Cannot protect virtual machine"
- Views:
 - 121
 
- Visibility:
 - Public
 
- Votes:
 - 0
 
- Category:
 - ontap-storage-replication-adapter
 
- Specialty:
 - virt
 
- Last Updated:
 
Applies to
- NetApp Storage Replication Adapter (SRA)
 - VMware Site Recovery Manager (SRM)
 
Issue
SRM reprotct fails with following error. However, its get successful if try reprotect after sometime.
vmware-dr.log:
 -->       "          <msg>The operation was only partially completed for the protection group 'Test_VM_Netapp' since a protected VM belonging to it was not successful in completing the operation. Cannot protect virtual machine 'VM_Name' because its config file '[snap-DataStore_Name] VM_Name/VM_Name.vmx' is located on a non-replicated or non-protected datastore.</msg>",
-->       "</fault>",
-->       "      <Children>",
-->       "        <Step elapsedTime="00:00:00" endTime="2023-01-09T07:35:21Z" objectId="vm-protection-group-xxxx" startTime="2023-01-09T07:35:21Z" status="error">",
-->       "          <Key>RecoveryStepProtectionGroup.name</Key>",
-->       "          <Name>Protection Group ProtectionGroup_Name</Name>",
-->       "          <fault>",
-->       "              <_type>dr.fault.MultipleFault</_type>",
-->       "              <faults>",
-->       "                  <_length>2</_length>",
-->       "                  <_type>vmodl.MethodFault[]</_type>",
-->       "                  <e id="0">",
-->       "                      <_type>dr.storageProvider.fault.ConfigFileNotReplicated</_type>",
-->       "                      <configFile>[snap-DataStore_Name] VM_Name/VM_Name.vmx</configFile>",
-->       "                      <msg/>",
-->       "                      <vm>",
-->       "                          <_type>vim.VirtualMachine</_type>",
-->       "                          <moid>vm-xxxx</moid>",
-->       "                          <serverGuid>xxx-xxxx-xxxx-xxxx-xxxx</serverGuid>",
-->       "      </vm>",
-->       "                      <vmName>VM_Name</vmName>",
-->       "    </e>",
-->       "                  <e id="1">",
-->       "                      <_type>dr.replication.fault.IncompleteOperation</_type>",
-->       "                      <msg/>",
-->       "                      <protectionGroup>",
-->       "                          <_type>dr.replication.VmProtectionGroup</_type>",
-->       "                          <moid>vm-protection-group-xxxx</moid>",
-->       "                          <serverGuid>xxx-xxxx-xxxx-xxxx-xxxx</serverGuid>",
-->       "      </protectionGroup>",
-->       "                      <protectionGroupName>ProtectionGroup_Name</protectionGroupName>",
-->       "    </e>",
-->       "  </faults>",
-->       "              <msg>Cannot protect virtual machine 'VM_Name' because its config file '[snap-DataStore_Name] VM_Name/VM_Name.vmx' is located on a non-replicated or non-protected datastore. The operation was only partially completed for the protection group 'ProtectionGroup_Name' since a protected VM belonging to it was not successful in completing the operation.</msg>",
-->       "</fault>",
