Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isis: stopping daemon causes Error: Mandatory node "area-tag" instance does not exist. #17472

Open
2 tasks done
c-po opened this issue Nov 20, 2024 · 0 comments
Open
2 tasks done
Labels
triage Needs further investigation

Comments

@c-po
Copy link
Contributor

c-po commented Nov 20, 2024

Description

When stopping ISIS on a given router using frr-reload an error will be reported

Version

# show version
FRRouting 10.1.1 (LR1.wue3) on Linux(6.6.56-vyos).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

$ git describe
frr-10.1.1-103-ga5755342e

How to reproduce

Configuration files

root@LR1:~# cat /home/cpo/isis.txt
!
interface eth3
 ip router isis VyOS
 ipv6 router isis VyOS
 isis bfd
 isis bfd profile isis-bfd
 isis network point-to-point
exit
!
router isis VyOS
 net 49.0001.1921.6800.1002.00
 spf-delay-ietf init-delay 50 short-delay 100 long-delay 200 holddown 10 time-to-learn 75
exit
!

and

root@LR1:~# cat /home/cpo/no-isis.txt
!

Load ISIS configuration

root@LR1:~# /usr/lib/frr/frr-reload.py --reload /home/cpo/isis.txt; echo $?
[3205|mgmtd] sending configuration
[3207|ripd] sending configuration
[3208|ripngd] sending configuration
[3206|zebra] sending configuration
[3209|ospfd] sending configuration
[3210|ospf6d] sending configuration
[3211|ldpd] sending configuration
[3213|isisd] sending configuration
[3217|babeld] sending configuration
[3212|bgpd] sending configuration
[3219|fabricd] sending configuration
[3220|watchfrr] sending configuration
Waiting for children to finish applying config...
[3223|bfdd] sending configuration
[3226|pim6d] sending configuration
[3222|staticd] sending configuration
[3206|zebra] done
[3207|ripd] done
[3208|ripngd] done
[3212|bgpd] done
[3209|ospfd] done
[3210|ospf6d] done
MGMTD: No changes found to be committed!
[3205|mgmtd] done
[3211|ldpd] done
[3217|babeld] done
[3219|fabricd] done
[3220|watchfrr] done
[3223|bfdd] done
[3226|pim6d] done
[3222|staticd] done
[3213|isisd] done
[3230|mgmtd] sending configuration
[3232|ripd] sending configuration
[3233|ripngd] sending configuration
[3231|zebra] sending configuration
[3234|ospfd] sending configuration
[3235|ospf6d] sending configuration
[3236|ldpd] sending configuration
[3237|bgpd] sending configuration
[3238|isisd] sending configuration
[3242|babeld] sending configuration
[3244|fabricd] sending configuration
[3245|watchfrr] sending configuration
[3247|staticd] sending configuration
[3248|bfdd] sending configuration
Waiting for children to finish applying config...
[3251|pim6d] sending configuration
[3231|zebra] done
[3233|ripngd] done
[3238|isisd] done
[3245|watchfrr] done
[3247|staticd] done
[3248|bfdd] done
[3244|fabricd] done
[3236|ldpd] done
[3232|ripd] done
[3234|ospfd] done
[3251|pim6d] done
[3235|ospf6d] done
MGMTD: No changes found to be committed!
[3237|bgpd] done
[3230|mgmtd] done
[3242|babeld] done
0

Unload configuration

root@LR1:~# /usr/lib/frr/frr-reload.py --reload /home/cpo/no-isis.txt; echo $?
Failed to execute interface eth3  no isis network point-to-point exit
"interface eth3 --  no isis network point-to-point -- exit" we failed to remove this command
% Configuration failed.

Error type: validation
Error description: YANG error(s):
 Path: Data location "/frr-interface:lib/interface[name='eth3']/frr-isisd:isis".
 Error: Mandatory node "area-tag" instance does not exist.


1

Expected behavior

Clean unload of ISIS configuration and exit code 0

Actual behavior

Error type: validation
Error description: YANG error(s):
 Path: Data location "/frr-interface:lib/interface[name='eth3']/frr-isisd:isis".
 Error: Mandatory node "area-tag" instance does not exist.

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@c-po c-po added the triage Needs further investigation label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

1 participant