Hi Naveen,

We faced the same issue when moving interfaces between VRFs.
This commit helped - https://github.com/FRRouting/frr/commit/c6982533ba5769a590d089fa1eebf17a7ec0277b

Igor

On Tue, Jan 14, 2020 at 5:30 AM Naveen K Suvarna via dev <dev@lists.frrouting.org> wrote:



---------- Forwarded message ----------
From: Naveen K Suvarna <naveen.suvarna@broadcom.com>
To: "dev@lists.frrouting.org" <dev@lists.frrouting.org>
Cc: 
Bcc: 
Date: Mon, 13 Jan 2020 10:42:46 +0000
Subject: FRR interface config mode errors seen

Hi All,

    In FRR 7.2,  I am seeing interface command Failures as below.   This is happening randomly.  Once system goes in to this state,  failure happens for all interfaces.

    Is this a known issue ?  Is there any fix for this ?

 

 

dut4(config)# interface Vlan2

% Configuration failed: validation error.

Please check the logs for more details.

dut4(config)# interface Ethernet0

% Configuration failed: validation error.

Please check the logs for more details.

dut4(config)# interface Ethernet0

% Configuration failed: validation error.

Please check the logs for more details.

dut4(config)# interface Vlan2

% Configuration failed: validation error.

Please check the logs for more details.

dut4(config)#  

 

Not much logs generated, except below.

Call to if_lookup_by_name_all_vrf(ifname) Fails leading to below error

root@dut4:/# tail -f /var/log/frr/myfrr.log

2020/01/06 04:21:37 ZEBRA: lib_interface_destroy: only inactive interfaces can be deleted

2020/01/06 04:21:37 ZEBRA: [EC 100663331] nb_callback_configuration: error processing configuration change: error [validation error] event [validate] operation [destroy] xpath [/frr-interface:lib/interface[name='Ethernet32'][vrf='default']]

2020/01/06 04:21:37 ZEBRA: [EC 100663337] nb_candidate_commit_prepare: failed to validate candidate configuration

2020/01/06 04:22:24 ZEBRA: lib_interface_destroy: only inactive interfaces can be deleted

2020/01/06 04:22:24 ZEBRA: [EC 100663331] nb_callback_configuration: error processing configuration change: error [validation error] event [validate] operation [destroy] xpath [/frr-interface:lib/interface[name='Ethernet32'][vrf='default']]

2020/01/06 04:22:24 ZEBRA: [EC 100663337] nb_candidate_commit_prepare: failed to validate candidate configuration

Regards

Naveen




---------- Forwarded message ----------
From: Naveen K Suvarna via dev <dev@lists.frrouting.org>
To: "dev@lists.frrouting.org" <dev@lists.frrouting.org>
Cc: 
Bcc: 
Date: Tue, 14 Jan 2020 05:30:58 -0800 (PST)
Subject: [dev] FRR interface config mode errors seen
_______________________________________________
dev mailing list
dev@lists.frrouting.org
https://lists.frrouting.org/listinfo/dev