SnapMirror relationship modify fails with error: The policy associated to the relationship does not have a schedule
Applies to
- ONTAP 9.7 or later
- SnapMirror
- Schedule
- SnapMirror Policy
Issue
When trying to modify the SnapMirror relationship with newly created policy by using GUI fails with:
- Error on GUI:
The policy associated with the relationship does not have a schedule. You can update this relationship only by choosing a policy without a schedule.
- Error on CLI:
Error: command failed: Schedule "<schedule_name>" cannot be associated with the relationship because the policy "<policy_name>" for the relationship has a schedule. Either choose a different policy for the relationship or remove the schedule from the policy.