Page MenuHomeVyOS Platform

OSPFv3: Cannot add dummy interface
Closed, ResolvedPublicBUG

Description

Hi,

there is bug, i can not add a dummy interface to OSPFv3 or the whole ospf and ospfv3 process is broken:

run show interfaces dummy 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dum0             x.x.x.x/32                      u/u  
                 xx:xx:xx:xx::x/128                     
dum1             xx:xx:xx:xx::x/64               u/u  
                 xx:xx:xx:xx::x/64
set protocols ospfv3 area 0.0.0.0 interface dum0
[edit]
vyos@vyos# commit
[ protocols ospfv3 ]
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):
- Make sure you are running the latest version of the code available at
  https://downloads.vyos.io/rolling/current/amd64/vyos-rolling-latest.iso
- Consult the forum to see how to handle this issue
  https://forum.vyos.io
- Join our community on slack where our users exchange help and advice
  https://vyos.slack.com

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-02-17 13:28:34
Image Version:    VyOS 1.4-rolling-202102141111
Release Train:    sagitta

Built by:         [email protected]
Built on:         Sun 14 Feb 2021 11:11 UTC
Build UUID:       dee0e5fa-d82c-4b73-8a5c-936df99094d6
Build Commit ID:  aec60effa4e36e

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

Hardware vendor:  QEMU
Hardware model:   Standard PC (i440FX + PIIX, 1996)
Hardware S/N:     
Hardware UUID:    98632405-4ff0-4b1b-bb9a-eded7e7c29e1

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_ospfv3.py", line 91, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/protocols_ospfv3.py", line 76, in apply
    frr_cfg.commit_configuration(frr_daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 442, in commit_configuration
    reload_configuration('\n'.join(self.config), daemon=daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 203, in reload_configuration
    raise CommitError(f'Configuration FRR failed while commiting code, please enabling debugging to examine logs')
vyos.frr.CommitError: Configuration FRR failed while commiting code, please enabling debugging to examine logs



[[protocols ospfv3]] failed
Commit failed

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202102141111
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

@ernstjo I can't reproduce it in VyOS 1.4-rolling-202102190541

set interfaces dummy dum0 address '192.0.2.1/32'
set interfaces dummy dum0 address '2001:db8::1/128'
set protocols ospfv3 area 0.0.0.0 interface 'dum0'

vyos@r4-roll# commit
[edit]
vyos@r4-roll#

Show interface

vyos@r4-roll# run show ipv6 ospfv3 interface 
dum0 is up, type BROADCAST
  Interface ID: 8
  Internet Address:
    inet : 192.0.2.1/32
    inet6: 2001:db8::1/128
    inet6: fe80::6860:7bff:feab:2235/64
  Instance ID 0, Interface MTU 1500 (autodetect: 1500)

Describe more details how to reproduce it.

Viacheslav changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

@Viacheslav Looks like it is already fixed with newer release then VyOS 1.4-rolling-202102141111.
I can also add the interface with newer release.

Viacheslav claimed this task.