SVMDR fails with error "Ruleset is in use by a qtree export policy"
Applies to
- ONTAP 9
- SVMDR
- Export policy
- Identity preserve in use
Issue
- SVMDR udpate fails with error:
"Failed to apply the source Vserver configuration. Reason: Apply failed for Object: export_ruleset_ui_table Method: baseline. Reason: Ruleset is in use by a qtree export policy.
Execute "snapmirror show -destination-vserver dst_svm -fields last-transfer-error,unhealthy-reason -expand" to check if the constituent volumes have encountered errors." - In MGWD log on the destination, you will find the export policy(rulesetname) with issue:
Fri Jun 03 2022 08:26:19 -05:00 [kern_mgwd:info:2372] 0x847df4700: 0: ERR: mgwd::exports_ruleset: remove_imp:src/tables/export_ruleset.cc:179 Export rule remove failed, vserver: dst_svm, rulesetname: export-policy-name, error: Ruleset is in use by a qtree export policy
- Or compare the qtree export policy from both source and destination SVMs to find the mismatch
src_cluster::*> volume qtree show -vserver src_svm -fields export-policy
dst_cluster::*> volume qtree show -vserver dst_svm -fields export-policy