跳转到主内容

/API/SnapMirror?state=paused broken in Recent ONTAP发行版

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>20098246984</a>
Last Updated:

适用场景

  • ONTAP 9.13.1.
  • REST API

问题描述

在执行有关SnapMirror关系的REST API " state=*"时、它会显示正确的结果

https://cluster1.demo.netapp.com/api/snapmirror/relationships?state=*
{
 "records": [
   {
   "uuid":
"00x1111x-x123-11xx-xx11-x123xx12345x",
   "source": {
    "path": "vserver1:vol1",
    "svm": {
"name": "vault1",
     "_links": {
      "self": {
       "href":
"/api/svm/peers/1a2x000x-e111-11xx-xxxx-x000xx00000x"
       }
      }
     }
    },
   "destination": {
"path": "vserver2:vol2",
    "svm": {
     "name": "vault2",
     "_links": {
"self": {
       "href": "/api/svm/svms/axx0000x-e111-11xx-xxxx-x000ea00000x"
       }
      }
     }
    },
  "state": "paused",
   "healthy": false,
   "_links": {
    "self": {
     "href":
"/api/snapmirror/relationships/00x1111x-x123-11xx-xx11-x123xx12345x/"
     }
    }
   },

 
但是、在执行REST API "state=paused"时、显示的结果不正确。
 
https://cluster1.demo.netapp.com/api/snapmirror/relationships?state=paused
{
 "records":
[
  ],
 "num_records": 0,
 "_links": {
  "self": {
   "href": "/api/snapmirror/relationships?state=paused"
   }

 

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.