Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

ERROR: 13303866: Associating the specified SnapMirror policy with this SnapMirror relationship is not supported

Views:
71
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9.7P1
  • REST API

Issue

  • Error is encountered when trying to create a new SnapMirror relationship over REST API while also trying to apply a SnapMirror policy during the creation:

DEBUG: SnapmirrorRelationship({'destination': {'path': 'volume1:misc1'}, 'source': {'path': 'vserver_dr:misc1'}, 'policy': {'name': 'volume1'}})
ERROR: 13303866: Associating the specified SnapMirror policy with this SnapMirror relationship is not supported.

  • Used REST API code:

snapmirror_dict = {
 'source': {'path': f'{svmname}_dr:{volname}'},
    'destination': {'path': f'{svmname}_vault:{volname}'},
    'policy': {'name': f'{svmname}_vault'},
    #'state': 'snapmirror',
    }
snapmirror = SnapmirrorRelationship.from_dict(snapmirror_dict)
snapmirror.set_connection(connection=vault_connection)
debug(snapmirror)
snapmirror.post()

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support