Skip to main content
NetApp Knowledge Base

OTV10: SRA failover or testFailover fails with "duplicate export policy rules present in the request"

Views:
86
Visibility:
Public
Votes:
0
Category:
ontap-storage-replication-adapter
Specialty:
VIRT
Last Updated:

Applies to

  • ONTAP Tools for VMware vSphere (OTV) 10.5
  • ONTAP Storage Replication Adapter (SRA) 10.5
  • VMware Site Recovery Manager (SRM)
  • VMware Live Site Recovery (vLSR)

Issue

When performing a Failover or testFailover operation in ONTAP Tools 10 (OTV10), the following errors are seen:

  • In the Recovery Plan History Report, the "Create writable storage snapshot" step fails:

clipboard_237a564d-56d8-4b76-a1fb-4a49f4357235.png

  • For a Failover operation, the following XmlValidation error might also be seen:

Failed to promote replica devices. A general system error occurred: N2Dr3Xml20XmlValidateExceptionE value '' does not match regular expression facet '[+\-]?[0-9]+'...

Reviewing the application log for OTV shows errors such as:

{"stream":"stdout","log":"{"timestamp":"2025-10-31T14:51:54.5476220Z","level":"info","message":"UpdateErrorMessage: Job document updated Received status: 500 as response status with response = {"error":{"message":"Exception : [400 Bad Request] during [PATCH] to [https://<cluster IP>:443/api/protocols/nfs/export-policies/###?return_records=true] [ExportPolicyFeignClient#modifyExportPolicy(URI,String,ExportPolicy)]: [{\\n  \\"error\\": {\\n    \\"message\\": \\"The export policy was not created because of duplicate export policy rules present in the request.\\",\\n    \\"code\\": \\"1704071\\"\\n  }\\n}]","code":500}

And:

{"stream":"stdout","log":"{\"x-correlation-id\":\"1234\",\"jobId\":\"12345\",\"vcguid\":null,\"exception\":{\"exception_class\":\"java.lang.Exception\",\"exception_message\":\"Exception : [400 Bad Request] during [PATCH] to [https://<cluster IP>:443/api/protocols/nfs/export-policies/123456789?return_records=true] [ExportPolicyFeignClient#modifyExportPolicy(URI,String,ExportPolicy)]: [{\n  \"error\": {\n    \"message\": \"The export policy was not created because of duplicate export policy rules present in the request.\",\n    \"code\": \"1704071\"\n  }\n}]\",\"stacktrace\":\"java.lang.Exception: Exception : [400 Bad Request] during [PATCH] to [https://10.168.77.10:443/api/protocols/nfs/export-policies/34359738369?return_records=true]

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.