Skip to content

na_ontap_snapmirror has not release option #314

@ansibleguy76

Description

@ansibleguy76

Summary

When you have an orphaned snapmirror relationship on the source... there is no way to release but to use the private rest_cli.

The code returns on release_snapmirror, but it's very easy to create orphaned snapmirrors.

Component Name

na_ontap_snapmirror

Ansible Version

$ ansible --version

ONTAP Collection Version

$ ansible-galaxy collection list

ONTAP Version

sridharc-vsim34::> version
NetApp Release 9.7.0: Tue May 18 10:45:16 UTC 2021

Playbook

N/A

Steps to Reproduce

Create a snapmirror relationship.
Rename the source volume
Delete the snapmirror on the destination
You will get an orphaned snapmirror on the source

Expected Results

A delete with option release should exist

Actual Results

No other way but rest cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions