Hide Forgot
Description of problem: nmstate doesn't report link scoped route. Version-Release number of selected component (if applicable): nmstate-1.0.0-1.el8.noarch nispor-1.0.1-2.el8.x86_64 NetworkManager-1.30.0-0.4.el8.x86_64 DISTRO=RHEL-8.4.0-20201217.d.2 Linux hpe-dl380pgen8-02-vm-13.hpe2.lab.eng.bos.redhat.com 4.18.0-262.el8.dt3.x86_64 #1 SMP Tue Dec 15 04:28:42 EST 2020 x86_64 x86_64 x86_64 GNU/Linux How reproducible: 100% Steps to Reproduce: echo "interfaces: - name: dummy0 type: dummy state: up ipv4: enabled: true address: - ip: 192.168.254.1 prefix-length: 24" | nmstatectl set # check routes.running nmstatectl show Actual results: routes: config: [] running: [] interfaces: - name: dummy0 type: dummy state: up ipv4: enabled: true address: - ip: 192.168.254.1 prefix-length: 24 dhcp: false Expected results: routes: config: [] running: - destination: 192.168.254.0/24 metric: 550 next-hop-address: '' next-hop-interface: dummy0 table-id: 254 interfaces: - name: dummy0 type: dummy state: up ipv4: enabled: true address: - ip: 192.168.254.1 prefix-length: 24 dhcp: false Additional info: It works well on rhel 8.3
This was fixed by the following PR, it was merged on upstream sometime ago: https://github.com/nmstate/nmstate/pull/1508/commits/10ec554cf97c8c85159228789d8d6cf9de446328
Verified with versions: nmstate-1.1.0-0.3.alpha3.el8.noarch nispor-1.1.0-2.el8.x86_64 NetworkManager-1.32.0-0.5.el8.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4157