[Bug 259403] net/frr7: libyang warns "Schema node X not found with context node Y" loading frr-zebra.yang

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Oct 2021 16:04:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259403

            Bug ID: 259403
           Summary: net/frr7: libyang warns "Schema node X not found with
                    context node Y" loading frr-zebra.yang
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: john@saltant.com
             Flags: maintainer-feedback?(olivier@freebsd.org)
          Assignee: olivier@freebsd.org

Created attachment 228985
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228985&action=edit
net/frr7: Backport 7573cb8 "yang: fix zebra module"

After upgrading net/libyang to 1.0.240, zebra began emitting the following
warnings during service start.

Checking zebra.conf
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found
(./condition) with context node
"/frr-route-map:lib/route-map/entry/match-condition".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found
(./condition = 'ipv4-prefix-length' or
./condition) with context node
"/frr-route-map:lib/route-map/entry/match-condition".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found
(./condition) with context node
"/frr-route-map:lib/route-map/entry/match-condition".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found
(./condition) with context node
"/frr-route-map:lib/route-map/entry/match-condition".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "condition" not found
(./condition) with context node
"/frr-route-map:lib/route-map/entry/match-condition".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "action" not found (./action)
with context node "/frr-route-map:lib/route-map/entry/set-action".
2021/10/24 11:41:55 ZEBRA: libyang: Schema node "action" not found (./action)
with context node "/frr-route-map:lib/route-map/entry/set-action".
2021/10/24 11:41:55 ZEBRA: [EC 4043309111] Disabling MPLS support (no kernel
support)
OK


This appears to be a consequence the bug reported upstream as #8521 [0]. A fix
is available [1] in the 7-stable branch, but has not appeared in a 7.x release.

[0] https://github.com/FRRouting/frr/issues/8521
[1]
https://github.com/FRRouting/frr/commit/7573cb86a259d3c9ef6eae9dd5d529f8080922cd

-- 
You are receiving this mail because:
You are the assignee for the bug.