Skip to main content
We are redesigning the NetApp Knowledge Base site to make it easier to use and navigate. The new and improved site will be available the first week of October. Check out our video or read this KB article to know more about changes you’ll see on the site.
NetApp Knowledge Base

SVM route deletion fails with "Error: command failed: Internal error"

Views:
387
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
network
Last Updated:

Applies to

ONTAP 9.7

Issue

  • Routes are missing for the 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.

  • Unable to add or delete routes 
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 logs show SQL error 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 tables show the routes are missing:

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

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

******************************************************* *******************************************************