Skip to main content
NetApp Knowledge Base

ONTAP cluster acquisition in AIQUM via REST fails with snapmirror policy name cant be empty

Views:
10
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
OM
Last Updated:

Applies to

  • AIQUM 9.14+
  • ONTAP 9.14.1 and above
  • REST type acquisition with Cloud Agent (CLAG) enabled

Issue

  • AIQUM fails to discover destination cluster for S3 bucket snapmirror policy
  • Error:

ERROR [common-pool-4341] c.o.s.a.d.n.NetAppOCIEDataSource (NetAppOCIEDataSource.java:258) - GMode Conversion exception java.lang.IllegalArgumentException: snapmirror_policy key field 'snapmirror_policy_name' may not be empty.

 at com.onaro.sanscreen.acquisition.schema.KeyBase$KeyIDs.<init>(KeyBase.java:189) ~[au-package-common.jar:9.16.0-2024.11.J9]
 at com.onaro.sanscreen.acquisition.schema.KeyBase.<init>(KeyBase.java:17) ~[au-package-common.jar:9.16.0-2024.11.J9]
 
  • Issue seen in REST Type acquisition with CLAG enabled
  • api_snapmirror_relations  file from AIQUM recordings show some relationships with policy name "" :

    {
      "uuid": "<UUID>",
      "source": {
        "path": "s3_source:/bucket/test",
        "svm": {
          "uuid": "<SVM_UUID",
          "name": "s3_source",
          "_links": {
            "self": {
              "href": "/api/svm/peers/454f5306-23d5-11ef-abc4-00a098ea9f0a"
            }
          }
        },
        "cluster": {
          "name": "Cluster1",
          "uuid": "<Cluster1_UUID>"
        }
      },
      "destination": {
        "path": "s3_dest:/bucket/test-dest",
        "svm": {
          "uuid": "<SVM_UUID",
          "name": "s3_dest",
          "_links": {
            "self": {
              "href": "/api/svm/svms/f215b97d-dd2a-11ed-a649-00a098eab66d"
            }
          }
        },
        "cluster": {
          "name": "Cluster2",
          "uuid": "<Cluster2_UUID>"
        }
      },
      "policy": {
        "name": "",
        "type": "continuous"
      },
      "state": "snapmirrored",
      "transfer": {
        "state": "success"
      },
      "healthy": true,
      "throttle": 0,
      "_links": {
        "self": {
          "href": "/api/snapmirror/relationships/0cc62586-6614-11ef-b4ab-00a098ea9f0a/"
        }
      }
    },

 

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.