Skip to main content
NetApp Knowledge Base

CONTAP-124859: Incorrect responses from GET /api/snapmirror/relationships/ calls

Views:
14
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp
Last Updated:

Issue

The GET /api/snapmirror/relationships/ REST API call is returning an incorrect state and unhealthy_reason error compared to the CLI:

Cluster1::> snapmirror show -destination-path d_*: -fields state,status,healthy,unhealthy-reason,last-transfer-error source-path destination-path state status healthy last-transfer-error unhealthy-reason

------------- ---------------- ------------ ------ ------- ------------------- ----------------

svm1: svm1_DR: Snapmirrored Idle true - - curl -X GET "https://Cluster1.com/api/snapmirror/...ships?fields=*" -H "accept: application/json" -H "Authorization: Basic ..."

: "transfer": {

"state": "transferring", "bytes_transferred": 7114775203, "uuid": "48dcfa7a-8ec0-11ee-9ab6-xxxxxxxxxxxx" },

"healthy": true,

"unhealthy_reason": [ { "code": "32833683", "message": "Transfer for volume \"vol1\" failed. Reason: Failed to create Snapshot copy vserverdr.2.18f883c5-36dd-11ea-99b6-00a098a788f5.2023-11-29_150500 on volume svm1:vol1. (Volume d84d65fc-292b-11e9-9af4-xxxxxxxxxxxx:vol1 does not have Snapshot copy vserverdr.2.18f883c5-36dd-11ea-99b6-00a098a788f5.2023-11-29_150500.).", "arguments": [ "vol1"

]

}

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.