Cluster peer creation fail with error: Failed to commit transaction. Reason: duplicate entry
Applies to
- ONTAP 9
- Cluster Peering
- SnapMirror
Issue
Cluster peering fails with error:
Error: Failed to commit transaction. Reason: duplicate entry
On the Audit MLOG
Tue Feb 15 2022 12:22:57 +01:00 [kern_audit:info:2066] 8:: cluster:ssh :: localhost:unknown :: cluster:username :: cluster peer create -address-family ipv4 -peer-addrs <ip_addr> -ipspace Default -timeout 60 -rpc-connect-timeout 10 -update-ping-timeout 5 -no-authentication false -generate-passphrase *** :: Error: Failed to commit transaction. Reason: duplicate entry.
On the MGWD log
Tue Feb 15 2022 12:22:57 +01:00 [kern_mgwd:info:2066] 0x81abf7200: 8003f400007d084c: ERR: rdb_glue: create_imp: duplicate key for 'cluster_profile_map'