ONTAP upgrade pre-check fails with "Replicated database is malformed" for vifmgr due to duplicate overlapping routes
Applies to
- ONTAP 9
- FAS, AFF systems
- Component: vifmgr Replicated Database (RDB), SVM routing tables
Issue
- ONTAP upgrade pre-check fails with:
RDB Replica Health Check — Error: Replicated database is malformed on node "<node_name>" in process "vifmgr".
Action: Contact technical support for assistance.
debug rdb sql integrity check showreports non-unique index entries on all nodes in the cluster:
vifmgr
non-unique entry in index vs_routes_table_index
non-unique entry in index vifmgr_vs_routes_index
- Standard recovery command fails:
::*> debug rdb sql reindex -node <node_name> -process vifmgr -table vs_routes_table_indexError: command failed: Internal error
debug smdb table vs_routes_table showanddebug smdb table vifmgr_vs_routes showterminate with a loop error:Error: show failed: Loop detected in next() for table vs_routes_table.
Next on "<vsid> <destination/mask1> <gateway>" returned "<vsid> <destination/mask2> <gateway>".
