Page MenuHomeVyOS Platform

"set protocols isis spf-delay-ietf" is not working
Closed, ResolvedPublicBUG

Description

Hello, sorry for my poor english, it's not my native language.

I'm trying to configure the "spf-delay-ietd" parameter for ISIS

This is the basic configuration :

isis {

default-information {
    originate {
        ipv6 {
            level-1 {
            }
        }
    }
}
interface eth1 {
    network {
        point-to-point
    }
}
level level-1
log-adjacency-changes
metric-style wide
net 49.0001.0000.0000.0002.00

If I try to add the spf-delay-ietf like this :

 isis {
     default-information {
         originate {
             ipv6 {
                 level-1 {
                 }
             }
         }
     }
     interface eth1 {
         network {
             point-to-point
         }
     }
     level level-1
     log-adjacency-changes
     metric-style wide
     net 49.0001.0000.0000.0002.00
+    spf-delay-ietf {
+        holddown 10000
+        init-delay 50
+        long-delay 200
+        short-delay 100
+        time-to-learn 5000
+    }
 }

The commit fails and all the IS IS configuration is removed from frrouting. Here is the debug logs of the commit :

vyos@vyos2# commit
[ protocols isis ]
load_configuration: Configuration loaded from FRR daemon zebra
load_configuration: loaded 0 !
load_configuration: loaded 1 frr version 7.5.1-20210305-00-g0509784dc
load_configuration: loaded 2 frr defaults traditional
load_configuration: loaded 3 hostname vyos2
load_configuration: loaded 4 service integrated-vtysh-config
load_configuration: loaded 5 !
load_configuration: loaded 6 line vty
load_configuration: loaded 7 !
load_configuration: loaded 8 end
modify_section: starting search for '(\\s+)?ip protocol isis route-map [-a-zA-Z0-9.]+$' until '(\\s|!)'
_find_first_block: find start='(\\s+)?ip protocol isis route-map [-a-zA-Z0-9.]+$$' stop='(\\s|!)' start_at=0
_find_first_block: no match 0 "!"
_find_first_block: no match 1 "frr version 7.5.1-20210305-00-g0509784dc"
_find_first_block: no match 2 "frr defaults traditional"
_find_first_block: no match 3 "hostname vyos2"
_find_first_block: no match 4 "service integrated-vtysh-config"
_find_first_block: no match 5 "!"
_find_first_block: no match 6 "line vty"
_find_first_block: no match 7 "!"
_find_first_block: no match 8 "end"
_find_first_block: exit start={repr(start_pattern)} stop={repr(stop_pattern)} start_at={start_at}
modify_section: No more config sections found, exiting
_find_first_element: find start="(ip prefix-list .*|route-map .*|line vty)" start_at=0
_find_first_element: no match 0 "!"
_find_first_element: no match 1 "frr version 7.5.1-20210305-00-g0509784dc"
_find_first_element: no match 2 "frr defaults traditional"
_find_first_element: no match 3 "hostname vyos2"
_find_first_element: no match 4 "service integrated-vtysh-config"
_find_first_element: no match 5 "!"
_find_first_element: Found stop 6 "line vty"
add_before: add 6 !
add_before: add 7 !
commit_configuration: Commiting configuration
commit_configuration: new_config 0 !
commit_configuration: new_config 1 frr version 7.5.1-20210305-00-g0509784dc
commit_configuration: new_config 2 frr defaults traditional
commit_configuration: new_config 3 hostname vyos2
commit_configuration: new_config 4 service integrated-vtysh-config
commit_configuration: new_config 5 !
commit_configuration: new_config 6 !
commit_configuration: new_config 7 !
commit_configuration: new_config 8 line vty
commit_configuration: new_config 9 !
commit_configuration: new_config 10 end
reload_configuration: Reloading config using temporary file: /tmp/tmpe6mrmrfy
reload_configuration: Executing command against frr-reload: "/usr/lib/frr/frr-reload.py --reload --daemon zebra --debug --stdout /tmp/tmpe6mrmrfy"
frr-reload output: 0 /usr/lib/frr/frr-reload.py:853: SyntaxWarning: "is not" with a literal. Did you mean "!="?
frr-reload output: 1 if line is not "exit-vrf":
frr-reload output: 2 2021-08-28 15:23:20,901 INFO: Called via "Namespace(input=None, reload=True, test=False, debug=True, log_level='info', stdout=True, pathspace=None, filename='/tmp/tmpe6mrmrfy', overwrite=False, bindir='/usr/bin', confdir='/etc/frr', rundir='/var/run/frr', vty_socket=None, daemon='zebra')"
frr-reload output: 3 2021-08-28 15:23:20,901 INFO: Loading Config object from file /tmp/tmpe6mrmrfy
frr-reload output: 4 2021-08-28 15:23:20,970 DEBUG: LINE frr version 7.5.1-20210305-00-g0509784dc : entering new context, ['frr version 7.5.1-20210305-00-g0509784dc']
frr-reload output: 5 2021-08-28 15:23:20,970 DEBUG: LINE frr defaults traditional : entering new context, ['frr defaults traditional']
frr-reload output: 6 2021-08-28 15:23:20,970 DEBUG: LINE hostname vyos2 : entering new context, ['hostname vyos2']
frr-reload output: 7 2021-08-28 15:23:20,970 DEBUG: LINE service integrated-vtysh-config : entering new context, ['service integrated-vtysh-config']
frr-reload output: 8 2021-08-28 15:23:20,971 DEBUG: LINE line vty : entering new context, ['line vty']
frr-reload output: 9 2021-08-28 15:23:20,971 DEBUG: LINE end : exiting old context, ['line vty']
frr-reload output: 10 2021-08-28 15:23:21,042 DEBUG: New Frr Config
frr-reload output: 11 !
frr-reload output: 12 frr version 7.5.1-20210305-00-g0509784dc
frr-reload output: 13 frr defaults traditional
frr-reload output: 14 hostname vyos2
frr-reload output: 15 service integrated-vtysh-config
frr-reload output: 16 !
frr-reload output: 17 !
frr-reload output: 18 !
frr-reload output: 19 line vty
frr-reload output: 20 !
frr-reload output: 21
frr-reload output: 22 end
frr-reload output: 23
frr-reload output: 24 2021-08-28 15:23:21,042 INFO: Loading Config object from vtysh show running
frr-reload output: 25 2021-08-28 15:23:21,115 DEBUG: LINE frr version 7.5.1-20210305-00-g0509784dc : entering new context, ['frr version 7.5.1-20210305-00-g0509784dc']
frr-reload output: 26 2021-08-28 15:23:21,116 DEBUG: LINE frr defaults traditional : entering new context, ['frr defaults traditional']
frr-reload output: 27 2021-08-28 15:23:21,116 DEBUG: LINE hostname vyos2 : entering new context, ['hostname vyos2']
frr-reload output: 28 2021-08-28 15:23:21,116 DEBUG: LINE service integrated-vtysh-config : entering new context, ['service integrated-vtysh-config']
frr-reload output: 29 2021-08-28 15:23:21,116 DEBUG: LINE line vty : entering new context, ['line vty']
frr-reload output: 30 2021-08-28 15:23:21,116 DEBUG: LINE end : exiting old context, ['line vty']
frr-reload output: 31 2021-08-28 15:23:21,116 DEBUG: Running Frr Config (Pass #0)
frr-reload output: 32 frr version 7.5.1-20210305-00-g0509784dc
frr-reload output: 33 frr defaults traditional
frr-reload output: 34 hostname vyos2
frr-reload output: 35 service integrated-vtysh-config
frr-reload output: 36 !
frr-reload output: 37 line vty
frr-reload output: 38 !
frr-reload output: 39 end
frr-reload output: 40 2021-08-28 15:23:21,116 INFO: Loading Config object from vtysh show running
frr-reload output: 41 2021-08-28 15:23:21,196 DEBUG: LINE frr version 7.5.1-20210305-00-g0509784dc : entering new context, ['frr version 7.5.1-20210305-00-g0509784dc']
frr-reload output: 42 2021-08-28 15:23:21,196 DEBUG: LINE frr defaults traditional : entering new context, ['frr defaults traditional']
frr-reload output: 43 2021-08-28 15:23:21,196 DEBUG: LINE hostname vyos2 : entering new context, ['hostname vyos2']
frr-reload output: 44 2021-08-28 15:23:21,196 DEBUG: LINE service integrated-vtysh-config : entering new context, ['service integrated-vtysh-config']
frr-reload output: 45 2021-08-28 15:23:21,196 DEBUG: LINE line vty : entering new context, ['line vty']
frr-reload output: 46 2021-08-28 15:23:21,196 DEBUG: LINE end : exiting old context, ['line vty']
frr-reload output: 47 2021-08-28 15:23:21,196 DEBUG: Running Frr Config (Pass #1)
frr-reload output: 48 frr version 7.5.1-20210305-00-g0509784dc
frr-reload output: 49 frr defaults traditional
frr-reload output: 50 hostname vyos2
frr-reload output: 51 service integrated-vtysh-config
frr-reload output: 52 !
frr-reload output: 53 line vty
frr-reload output: 54 !
frr-reload output: 55 end
load_configuration: Configuration loaded from FRR daemon isisd
load_configuration: loaded 0 !
load_configuration: loaded 1 frr version 7.5.1-20210305-00-g0509784dc
load_configuration: loaded 2 frr defaults traditional
load_configuration: loaded 3 hostname vyos2
load_configuration: loaded 4 service integrated-vtysh-config
load_configuration: loaded 5 !
load_configuration: loaded 6 interface eth1
load_configuration: loaded 7 ip router isis VyOS
load_configuration: loaded 8 ipv6 router isis VyOS
load_configuration: loaded 9 isis circuit-type level-1
load_configuration: loaded 10 isis network point-to-point
load_configuration: loaded 11 !
load_configuration: loaded 12 router isis VyOS
load_configuration: loaded 13 is-type level-1
load_configuration: loaded 14 net 49.0001.0000.0000.0002.00
load_configuration: loaded 15 default-information originate ipv6 level-1
load_configuration: loaded 16 log-adjacency-changes
load_configuration: loaded 17 !
load_configuration: loaded 18 line vty
load_configuration: loaded 19 !
load_configuration: loaded 20 end
modify_section: starting search for '^router isis VyOS$' until '\\S+'
_find_first_block: find start='^router isis VyOS$$' stop='\\S+' start_at=0
_find_first_block: no match 0 "!"
_find_first_block: no match 1 "frr version 7.5.1-20210305-00-g0509784dc"
_find_first_block: no match 2 "frr defaults traditional"
_find_first_block: no match 3 "hostname vyos2"
_find_first_block: no match 4 "service integrated-vtysh-config"
_find_first_block: no match 5 "!"
_find_first_block: no match 6 "interface eth1"
_find_first_block: no match 7 " ip router isis VyOS"
_find_first_block: no match 8 " ipv6 router isis VyOS"
_find_first_block: no match 9 " isis circuit-type level-1"
_find_first_block: no match 10 " isis network point-to-point"
_find_first_block: no match 11 "!"
_find_first_block: Found start 12 "router isis VyOS"
_find_first_block: no match 13 " is-type level-1"
_find_first_block: no match 14 " net 49.0001.0000.0000.0002.00"
_find_first_block: no match 15 " default-information originate ipv6 level-1"
_find_first_block: no match 16 " log-adjacency-changes"
_find_first_block: Found stop 17 "!"
modify_section: found match between 12 and 17
modify_section: remove 12 router isis VyOS
modify_section: remove 13 is-type level-1
modify_section: remove 14 net 49.0001.0000.0000.0002.00
modify_section: remove 15 default-information originate ipv6 level-1
modify_section: remove 16 log-adjacency-changes
modify_section: add 12
_find_first_block: find start='^router isis VyOS$$' stop='\\S+' start_at=13
_find_first_block: no match 13 "!"
_find_first_block: no match 14 "line vty"
_find_first_block: no match 15 "!"
_find_first_block: no match 16 "end"
_find_first_block: exit start={repr(start_pattern)} stop={repr(stop_pattern)} start_at={start_at}
modify_section: No more config sections found, exiting
modify_section: starting search for '^interface eth1$' until '\\S+'
_find_first_block: find start='^interface eth1$$' stop='\\S+' start_at=0
_find_first_block: no match 0 "!"
_find_first_block: no match 1 "frr version 7.5.1-20210305-00-g0509784dc"
_find_first_block: no match 2 "frr defaults traditional"
_find_first_block: no match 3 "hostname vyos2"
_find_first_block: no match 4 "service integrated-vtysh-config"
_find_first_block: no match 5 "!"
_find_first_block: Found start 6 "interface eth1"
_find_first_block: no match 7 " ip router isis VyOS"
_find_first_block: no match 8 " ipv6 router isis VyOS"
_find_first_block: no match 9 " isis circuit-type level-1"
_find_first_block: no match 10 " isis network point-to-point"
_find_first_block: Found stop 11 "!"
modify_section: found match between 6 and 11
modify_section: remove 6 interface eth1
modify_section: remove 7 ip router isis VyOS
modify_section: remove 8 ipv6 router isis VyOS
modify_section: remove 9 isis circuit-type level-1
modify_section: remove 10 isis network point-to-point
modify_section: add 6
_find_first_block: find start='^interface eth1$$' stop='\\S+' start_at=7
_find_first_block: no match 7 "!"
_find_first_block: no match 8 ""
_find_first_block: no match 9 "!"
_find_first_block: no match 10 "line vty"
_find_first_block: no match 11 "!"
_find_first_block: no match 12 "end"
_find_first_block: exit start={repr(start_pattern)} stop={repr(stop_pattern)} start_at={start_at}
modify_section: No more config sections found, exiting
_find_first_element: find start="(ip prefix-list .*|route-map .*|line vty)" start_at=0
_find_first_element: no match 0 "!"
_find_first_element: no match 1 "frr version 7.5.1-20210305-00-g0509784dc"
_find_first_element: no match 2 "frr defaults traditional"
_find_first_element: no match 3 "hostname vyos2"
_find_first_element: no match 4 "service integrated-vtysh-config"
_find_first_element: no match 5 "!"
_find_first_element: no match 6 ""
_find_first_element: no match 7 "!"
_find_first_element: no match 8 ""
_find_first_element: no match 9 "!"
_find_first_element: Found stop 10 "line vty"
add_before: add 10 !
add_before: add 11 router isis VyOS
add_before: add 12 net 49.0001.0000.0000.0002.00
add_before: add 13 log-adjacency-changes
add_before: add 14 lsp-mtu 1497
add_before: add 15 spf-delay-ietf init-delay 50
add_before: add 16 default-information originate ipv6 level-1
add_before: add 17 is-type level-1
add_before: add 18 !
add_before: add 19 interface eth1
add_before: add 20 ip router isis VyOS
add_before: add 21 ipv6 router isis VyOS
add_before: add 22 isis network point-to-point
add_before: add 23 !
commit_configuration: Commiting configuration
commit_configuration: new_config 0 !
commit_configuration: new_config 1 frr version 7.5.1-20210305-00-g0509784dc
commit_configuration: new_config 2 frr defaults traditional
commit_configuration: new_config 3 hostname vyos2
commit_configuration: new_config 4 service integrated-vtysh-config
commit_configuration: new_config 5 !
commit_configuration: new_config 6
commit_configuration: new_config 7 !
commit_configuration: new_config 8
commit_configuration: new_config 9 !
commit_configuration: new_config 10 !
commit_configuration: new_config 11 router isis VyOS
commit_configuration: new_config 12 net 49.0001.0000.0000.0002.00
commit_configuration: new_config 13 log-adjacency-changes
commit_configuration: new_config 14 lsp-mtu 1497
commit_configuration: new_config 15 spf-delay-ietf init-delay 50
commit_configuration: new_config 16 default-information originate ipv6 level-1
commit_configuration: new_config 17 is-type level-1
commit_configuration: new_config 18 !
commit_configuration: new_config 19 interface eth1
commit_configuration: new_config 20 ip router isis VyOS
commit_configuration: new_config 21 ipv6 router isis VyOS
commit_configuration: new_config 22 isis network point-to-point
commit_configuration: new_config 23 !
commit_configuration: new_config 24 line vty
commit_configuration: new_config 25 !
commit_configuration: new_config 26 end
reload_configuration: Reloading config using temporary file: /tmp/tmp28eb4ox6
reload_configuration: Executing command against frr-reload: "/usr/lib/frr/frr-reload.py --reload --daemon isisd --debug --stdout /tmp/tmp28eb4ox6"
frr-reload output: 0 /usr/lib/frr/frr-reload.py:853: SyntaxWarning: "is not" with a literal. Did you mean "!="?
frr-reload output: 1 if line is not "exit-vrf":
frr-reload output: 2 2021-08-28 15:23:21,310 INFO: Called via "Namespace(input=None, reload=True, test=False, debug=True, log_level='info', stdout=True, pathspace=None, filename='/tmp/tmp28eb4ox6', overwrite=False, bindir='/usr/bin', confdir='/etc/frr', rundir='/var/run/frr', vty_socket=None, daemon='isisd')"
frr-reload output: 3 2021-08-28 15:23:21,310 INFO: Loading Config object from file /tmp/tmp28eb4ox6
frr-reload output: 4 2021-08-28 15:23:21,379 ERROR: vtysh failed to process new configuration: vtysh (mark file) exited with status 4:
frr-reload output: 5 b'line 16: % Command incomplete: spf-delay-ietf init-delay 50\n\n'
frr-reload output: 6 2021-08-28 15:23:21,451 DEBUG: New Frr Config
frr-reload output: 7
frr-reload output: 8 2021-08-28 15:23:21,451 INFO: Loading Config object from vtysh show running
frr-reload output: 9 2021-08-28 15:23:21,527 DEBUG: LINE frr version 7.5.1-20210305-00-g0509784dc : entering new context, ['frr version 7.5.1-20210305-00-g0509784dc']
frr-reload output: 10 2021-08-28 15:23:21,528 DEBUG: LINE frr defaults traditional : entering new context, ['frr defaults traditional']
frr-reload output: 11 2021-08-28 15:23:21,528 DEBUG: LINE hostname vyos2 : entering new context, ['hostname vyos2']
frr-reload output: 12 2021-08-28 15:23:21,528 DEBUG: LINE service integrated-vtysh-config : entering new context, ['service integrated-vtysh-config']
frr-reload output: 13 2021-08-28 15:23:21,528 DEBUG: LINE interface eth1 : entering new context, ['interface eth1']
frr-reload output: 14 2021-08-28 15:23:21,528 DEBUG: LINE ip router isis VyOS : append to current_context_lines, ['interface eth1']
frr-reload output: 15 2021-08-28 15:23:21,528 DEBUG: LINE ipv6 router isis VyOS : append to current_context_lines, ['interface eth1']
frr-reload output: 16 2021-08-28 15:23:21,528 DEBUG: LINE isis circuit-type level-1 : append to current_context_lines, ['interface eth1']
frr-reload output: 17 2021-08-28 15:23:21,528 DEBUG: LINE isis network point-to-point : append to current_context_lines, ['interface eth1']
frr-reload output: 18 2021-08-28 15:23:21,528 DEBUG: LINE end : exiting old context, ['interface eth1']
frr-reload output: 19 2021-08-28 15:23:21,528 DEBUG: LINE router isis VyOS : entering new context, ['router isis VyOS']
frr-reload output: 20 2021-08-28 15:23:21,528 DEBUG: LINE is-type level-1 : append to current_context_lines, ['router isis VyOS']
frr-reload output: 21 2021-08-28 15:23:21,528 DEBUG: LINE net 49.0001.0000.0000.0002.00 : append to current_context_lines, ['router isis VyOS']
frr-reload output: 22 2021-08-28 15:23:21,528 DEBUG: LINE default-information originate ipv6 level-1 : append to current_context_lines, ['router isis VyOS']
frr-reload output: 23 2021-08-28 15:23:21,528 DEBUG: LINE log-adjacency-changes : append to current_context_lines, ['router isis VyOS']
frr-reload output: 24 2021-08-28 15:23:21,528 DEBUG: LINE end : exiting old context, ['router isis VyOS']
frr-reload output: 25 2021-08-28 15:23:21,528 DEBUG: LINE line vty : entering new context, ['line vty']
frr-reload output: 26 2021-08-28 15:23:21,528 DEBUG: LINE end : exiting old context, ['line vty']
frr-reload output: 27 2021-08-28 15:23:21,528 DEBUG: Running Frr Config (Pass #0)
frr-reload output: 28 frr version 7.5.1-20210305-00-g0509784dc
frr-reload output: 29 frr defaults traditional
frr-reload output: 30 hostname vyos2
frr-reload output: 31 service integrated-vtysh-config
frr-reload output: 32 !
frr-reload output: 33 interface eth1
frr-reload output: 34 ip router isis VyOS
frr-reload output: 35 ipv6 router isis VyOS
frr-reload output: 36 isis circuit-type level-1
frr-reload output: 37 isis network point-to-point
frr-reload output: 38 !
frr-reload output: 39 end
frr-reload output: 40 router isis VyOS
frr-reload output: 41 is-type level-1
frr-reload output: 42 net 49.0001.0000.0000.0002.00
frr-reload output: 43 default-information originate ipv6 level-1
frr-reload output: 44 log-adjacency-changes
frr-reload output: 45 !
frr-reload output: 46 end
frr-reload output: 47 line vty
frr-reload output: 48 !
frr-reload output: 49 end
frr-reload output: 50 2021-08-28 15:23:21,529 INFO: "frr version 7.5.1-20210305-00-g0509784dc" cannot be removed
frr-reload output: 51 2021-08-28 15:23:21,529 INFO: "frr defaults traditional" cannot be removed
frr-reload output: 52 2021-08-28 15:23:21,529 INFO: "service integrated-vtysh-config" cannot be removed
frr-reload output: 53 2021-08-28 15:23:21,529 INFO: "line vty" cannot be removed
frr-reload output: 54 2021-08-28 15:23:21,601 INFO: Executed "no hostname vyos2"
frr-reload output: 55 2021-08-28 15:23:21,677 INFO: Executed "interface eth1 no ip router isis VyOS"
frr-reload output: 56 2021-08-28 15:23:21,756 INFO: Executed "interface eth1 no ipv6 router isis VyOS"
frr-reload output: 57 2021-08-28 15:23:21,831 INFO: Failed to execute interface eth1 no isis circuit-type level-1
frr-reload output: 58 2021-08-28 15:23:21,905 INFO: Failed to execute interface eth1 no isis circuit-type
frr-reload output: 59 2021-08-28 15:23:21,978 INFO: Failed to execute interface eth1 no isis
frr-reload output: 60 2021-08-28 15:23:22,050 INFO: Failed to execute interface eth1 no
frr-reload output: 61 2021-08-28 15:23:22,051 ERROR: "interface eth1 -- no" we failed to remove this command
frr-reload output: 62 2021-08-28 15:23:22,051 ERROR: % Configuration failed.
frr-reload output: 63
frr-reload output: 64 Error type: validation
frr-reload output: 65 Error description: YANG error(s):
frr-reload output: 66 Missing required element "area-tag" in "isis".
frr-reload output: 67 YANG path: /frr-interface:lib/interface[name='eth1'][vrf='default']/frr-isisd:isis
frr-reload output: 68
frr-reload output: 69
frr-reload output: 70 2021-08-28 15:23:22,123 INFO: Failed to execute interface eth1 no isis network point-to-point
frr-reload output: 71 2021-08-28 15:23:22,196 INFO: Failed to execute interface eth1 no isis network
frr-reload output: 72 2021-08-28 15:23:22,268 INFO: Failed to execute interface eth1 no isis
frr-reload output: 73 2021-08-28 15:23:22,341 INFO: Failed to execute interface eth1 no
frr-reload output: 74 2021-08-28 15:23:22,341 ERROR: "interface eth1 -- no" we failed to remove this command
frr-reload output: 75 2021-08-28 15:23:22,341 ERROR: % Configuration failed.
frr-reload output: 76
frr-reload output: 77 Error type: validation
frr-reload output: 78 Error description: YANG error(s):
frr-reload output: 79 Missing required element "area-tag" in "isis".
frr-reload output: 80 YANG path: /frr-interface:lib/interface[name='eth1'][vrf='default']/frr-isisd:isis
frr-reload output: 81
frr-reload output: 82
frr-reload output: 83 2021-08-28 15:23:22,413 INFO: Executed "no router isis VyOS"
frr-reload output: 84 2021-08-28 15:23:22,413 INFO: Loading Config object from vtysh show running
frr-reload output: 85 2021-08-28 15:23:22,485 DEBUG: LINE frr version 7.5.1-20210305-00-g0509784dc : entering new context, ['frr version 7.5.1-20210305-00-g0509784dc']
frr-reload output: 86 2021-08-28 15:23:22,486 DEBUG: LINE frr defaults traditional : entering new context, ['frr defaults traditional']
frr-reload output: 87 2021-08-28 15:23:22,486 DEBUG: LINE hostname vyos2 : entering new context, ['hostname vyos2']
frr-reload output: 88 2021-08-28 15:23:22,486 DEBUG: LINE service integrated-vtysh-config : entering new context, ['service integrated-vtysh-config']
frr-reload output: 89 2021-08-28 15:23:22,486 DEBUG: LINE line vty : entering new context, ['line vty']
frr-reload output: 90 2021-08-28 15:23:22,486 DEBUG: LINE end : exiting old context, ['line vty']
frr-reload output: 91 2021-08-28 15:23:22,486 DEBUG: Running Frr Config (Pass #1)
frr-reload output: 92 frr version 7.5.1-20210305-00-g0509784dc
frr-reload output: 93 frr defaults traditional
frr-reload output: 94 hostname vyos2
frr-reload output: 95 service integrated-vtysh-config
frr-reload output: 96 !
frr-reload output: 97 line vty
frr-reload output: 98 !
frr-reload output: 99 end
frr-reload output: 100 2021-08-28 15:23:22,486 INFO: "frr version 7.5.1-20210305-00-g0509784dc" cannot be removed
frr-reload output: 101 2021-08-28 15:23:22,486 INFO: "frr defaults traditional" cannot be removed
frr-reload output: 102 2021-08-28 15:23:22,486 INFO: "service integrated-vtysh-config" cannot be removed
frr-reload output: 103 2021-08-28 15:23:22,486 INFO: "line vty" cannot be removed
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):

When reporting problems, please include as much information as possible:

  • do not obfuscate any data (feel free to contact us privately if your business policy requires it)
  • and include all the information presented below

Report Time: 2021-08-28 15:23:22
Image Version: VyOS 1.4-rolling-202108121255
Release Train: sagitta

Built by: [email protected]
Built on: Thu 12 Aug 2021 12:55 UTC
Build UUID: 3760ccd3-3db5-4fb4-91be-d2f57f5914a7
Build Commit ID: dc5e42b9daa97a

Architecture: x86_64
Boot via: installed image
System type: KVM guest

Hardware vendor: Red Hat
Hardware model: KVM
Hardware S/N:
Hardware UUID: e72a80db-3b31-47bd-82f0-1d73af9c38d0

Traceback (most recent call last):

File "/usr/libexec/vyos/conf_mode/protocols_isis.py", line 245, in <module>
  apply(c)
File "/usr/libexec/vyos/conf_mode/protocols_isis.py", line 233, in apply
  frr_cfg.commit_configuration(isis_daemon)
File "/usr/lib/python3/dist-packages/vyos/frr.py", line 458, in commit_configuration
  reload_configuration('\n'.join(self.config), daemon=daemon)
File "/usr/lib/python3/dist-packages/vyos/frr.py", line 206, in reload_configuration
  raise CommitError('FRR configuration failed while running commit. Please ' \

vyos.frr.CommitError: FRR configuration failed while running commit. Please enable debugging to examine logs.

The problem is caused because vyos try to add this incomplete line of configuration to the isis configuration :

spf-delay-ietf init-delay 50

You can see the problem if you try to add this line manually to the configuration :

vyos2# conf t
vyos2(config)# router isis VyOS
vyos2(config-router)# spf-delay-ietf init-delay 50
% Command incomplete: spf-delay-ietf init-delay 50

The correct command is

spf-delay-ietf init-delay 50 short-delay 100 long-delay 200 holddown 10000 time-to-learn 5000

Details

Difficulty level
Easy (less than an hour)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

To fix the bug :

edit /usr/share/vyos/templates/frr/isisd.frr.tmpl and change line 103 like this :

spf-delay-ietf init-delay {{ spf_delay_ietf.init_delay }} short-delay {{spf_delay_ietf.short_delay }} long-delay {{ spf_delay_ietf.long_delay }} holddown {{ spf_delay_ietf.holddown }} time-to-learn {{spf_delay_ietf.time_to_learn }}

c-po changed the task status from Open to In progress.Aug 29 2021, 8:32 AM
c-po claimed this task.
c-po triaged this task as High priority.
c-po added projects: test, VyOS 1.3 Equuleus.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
SrividyaA changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).Sep 1 2021, 10:58 AM