FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.39k stars 1.26k forks source link

frr-reload with OSPF and VRFs fails on stable/8.0 #9885

Closed c-po closed 2 years ago

c-po commented 3 years ago

Describe the bug

Loading an OSPF VRF configuration make frr-reload.py fail with exit code 1.

To Reproduce

Use configuration from:

$ cat input2.txt
interface eth0.201
 ip ospf authentication message-digest
 ip ospf dead-interval 40
 ip ospf message-digest-key 10 md5 ospfnet
!
router ospf
 ospf router-id 172.18.254.201
 log-adjacency-changes detail
 auto-cost reference-bandwidth 100
 timers throttle spf 200 1000 10000
 network 172.18.201.0/24 area 0
 network 172.18.254.201/32 area 0
 default-information originate always
 exit
!
router ospf vrf red
 log-adjacency-changes detail
 auto-cost reference-bandwidth 100
 timers throttle spf 200 1000 10000
 default-information originate always
 exit
!

No reload FRR configuration:

$ /usr/lib/frr/frr-reload.py --reload --daemon ospfd --debug --stdout input2.txt
...
2021-10-25 20:55:46,367   ERROR: "no agentx" we failed to remove this command
2021-10-25 20:55:46,368   ERROR: SNMP AgentX support cannot be disabled once enabled

2021-10-25 20:55:46,695  INFO: Failed to execute router ospf  no line vty
2021-10-25 20:55:47,023  INFO: Failed to execute router ospf  no line
2021-10-25 20:55:47,352  INFO: Failed to execute router ospf  no
2021-10-25 20:55:47,352   ERROR: "router ospf --  no" we failed to remove this command
2021-10-25 20:55:47,352   ERROR: % Unknown command:  no line vty
...

Expected behavior reload should proceed without errors - works in 7.5 series

Screenshots

Versions

Additional context

edvinaskairys commented 3 years ago

i think it's a similar issue to this: https://github.com/FRRouting/frr/issues/9685

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 180 days with no activity. Comment or remove the autoclose label in order to avoid having this issue closed.

frrbot[bot] commented 2 years ago

This issue will be automatically closed in the specified period unless there is further activity.