SRA:无法提升副本设备、并出现错误无法在故障转移期间中止正在进行的设备传输
适用场景
- 适用于VMware vSphere的ONTAP工具(OTV)
- VMware Site Recovery Manager (SRM)
- VMware Storage Replication Adapter (SRA)
- ONTAP RBAC用户
问题描述
SRA故障转移失败、并显示错误:
Failed to promote replica devices. Failed to promote replica device '//SVM1/VOL1’. SRA command 'failover' failed for device '//SVM1/VOL1’. Unable to abort the ongoing transfers of the device as a part of failover.
Check the SRM logs for more details.
日志:
vvolvp.log:
2024-06-07T09:40:25,262Z (INFO )[pool-3-thread-47] [] Establishing connection with username and password for cluster: 10.x.x.x
2024-06-07T09:40:25,262Z (INFO )[qtp652176954-51] [cxf-976292:public-interface:clusterAddBasic-153] Invoking zapiInvoker.invokeFilerBasedZapi() to get result for : <system-get-version/>
2024-06-07T09:40:25,262Z (DEBUG)[qtp652176954-51] [cxf-976292:public-interface:clusterAddBasic-153] Sending-3634034: <system-get-version/>
2024-06-07T09:40:25,263Z (INFO )[qtp652176954-51] [cxf-976292:public-interface:clusterAddBasic-153] Establishing connection with username and password for cluster: 10.x.x.x
2024-06-07T09:40:25,283Z (INFO )[pool-3-thread-47] [] received raw response.
2024-06-07T09:40:25,283Z (ERROR)[pool-3-thread-47] [] Sent 3634033 (and received error) to 10.x.x.x:SVM1<snapmirror-policy-get-iter><query><snapmirror-policy-info/></query><max-records>5000</max-records></snapmirror-policy-get-iter>
2024-06-07T09:40:25,283Z (ERROR)[pool-3-thread-47] [] NaException com.netapp.offtap3.ontap.ApiFailedException: Insufficient privileges: user 'domain\useraccount' does not have read access to this resource (errno=13003)
2024-06-07T09:40:25,283Z (DEBUG)[pool-3-thread-47] [] retryIfApplicable: message=com.netapp.offtap3.ontap.ApiFailedException: Insufficient privileges: user ‘domain\useraccount' does not have read access to this resource (errno=13003) nae=com.netapp.offtap3.ontap.ApiFailedException: Insufficient privileges: user ‘domain\useraccount' does not have read access to this resource (errno=13003) and isRecoverable=false and isVolumeBusy=false
2024-06-07T09:40:25,284Z (ERROR)[pool-3-thread-47] [] at com.netapp.offtap3.internal.ontap.dataloader.snapmirror.CModeSnapMirrorPolicyDataLoader.retrieve(CModeSnapMirrorPolicyDataLoader.java:80)
zapi.log:
角色名称:
2024-10-29T01:17:01、332Z [ControllerCluster1]调试(ZAPI_logger)-发送-1360202:<security-login-role-get-iter> <query> <vserver></max-records> <tag> VMSVM </vserver> <role-name> ONTAPToolsforVMwarevSphereVSC_Discovery_Creation_Modify_Destroy </role-name> </query> <max-records> login-roy-GEt-ITER-key>;