Page MenuHomeVyOS Platform

Invalid order of interface/sub interface removal greatly decreases commit performance
Closed, ResolvedPublicBUG

Description

Reproduce Issue

Start DHCPv6 client on an interface

set interfaces ethernet eth1 vif 1337 dhcpv6-options pd 1 interface eth2 sla-id 0
set interfaces ethernet eth1 vif 1337 dhcpv6-options pd 1 interface eth2 address 1
set interfaces ethernet eth1 vif 1337 address dhcpv6
commit

Delete SVI

delete interfaces ethernet eth1 vif 1337
time commit
real	0m1.363s
user	0m0.598s
sys	0m0.266s

Delete entire base interface including SVI

delete interfaces ethernet eth1
time commit
real	0m30.867s
user	0m0.602s
sys	0m0.232s

With the fix the DHCPv6 server also does see a proper release message:

Sep 13 10:47:11 dhcpd[6000]: Release message from fe80::250:56ff:feb3:38c5 port 546, transaction ID 0xE0EC0F00
Sep 13 10:47:11 dhcpd[6000]: Client 00:04:42:3f:67:73:77:df:c4:80:42:c9:42:af:ff:15:de:0b releases prefix fc00:0:3:ff00::/60
Sep 13 10:47:11 dhcpd[6000]: Sending Reply to fe80::250:56ff:feb3:38c5 port 546

Details

Version
1.4.3
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Version from 2025.09.10-0018-rolling to 1.4.3.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
c-po moved this task from Need Triage to Completed on the VyOS Rolling board.
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.4) board.
dmbaturin renamed this task from Invalid order of interface/sub interface removal causes long commit time. to Invalid order of interface/sub interface removal greatly decreases commit performance.Thu, Nov 13, 12:24 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.