" 错误: show failed : loop detected in next () for table vifmgr_vs_routes 。 "
适用于
ONTAP 9.7
问题
- SVM"svm1" 缺少路由
Cluster::*> net route show
(network route show)
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
Cluster
0.0.0.0/0 10.x.219.1 20
svm2
0.0.0.0/0 10.y.206.1 51
svm3
0.0.0.0/0 10.x.219.1 20
svm4
0.0.0.0/0 10.x.219.1 20
4 entries were displayed.
- 无法添加或删除路由
Cluster::> network route create -vserver svm1 -destination 0.0.0.0/0 -gateway 10.x.217.1 -metric 20
Error: command failed: Duplicate route exists.
Cluster::> network route create -vserver svm1 -destination 0.0.0.0/0 -gateway 10.x.219.1 -metric 30
Error: command failed: Duplicate route exists.
Cluster::*> network route show -vserver svm1 -destination * -gateway 10.x.219.1
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
svm1 0.0.0.0/0 10.0.219.1 20
Cluster::*> network route show -vserver svm1 -destination * -gateway 10.x.217.1
Error: show failed: Loop detected in next() for table vifmgr_vs_routes. Next on "4 0.0.0.0/0 10.x.217.1" returned "4 0.0.0.0/24 10.x.217.1".
Cluster::*> network route delete -vserver svm1 -destination 0.0.0.0/0 -gateway 10.x.217.1
Error: command failed: Internal error
- MGWD 日志显示 SQL 错误 11 :
Tue Apr 28 2020 15:34:33 +07:00 [kern_vifmgr:info:5806] Error: Loop detected in next() for table vifmgr_vs_routes. Next on "4 0.0.0.0/0 10.0.217.1" returned "4 0.0.0.0/24 10.0.217.1".
Tue Apr 28 2020 15:34:36 +07:00 [kern_vifmgr:info:5806] E [src/rdb/sql_local_stmt.cc 371 (0x81084a200)]: error: SQL error 11 (database disk image is malformed)
- SMDB 表显示缺少路由:
Cluster::*> debug smdb table vs_routes show
vserverid destination gateway metric ipspace address-family uuid
---------- ----------- ---------- ------ ------- -------------- ------------------------------------
svm3 0.0.0.0/0 10.x.219.1 20 Default ipv4 dxxxxx-c020-11ea-9714-00xxxxxxx
Cluster::*> debug smdb table vifmgr_vs_routes show
vsid destination gateway metric ipspaceid routeUuid uuid
---- ----------- ---------- ------ ---------- ------------------------------------ ------------------------------------
3 0.0.0.0/0 10.x.219.1 20 4294967295 dxxxxx-c020-11ea-9714-00xxxxxxx dxxxxx-c020-11ea-9714-00xxxxxxx