Page MenuHomeVyOS Platform

VRRP op-mode errors
Closed, ResolvedPublicBUG

Description

If VRRP not configured

sever@vyos-1.3-roll:~$ show vrrp 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vrrp.py", line 24, in <module>
    import vyos.keepalived
ModuleNotFoundError: No module named 'vyos.keepalived'

sever@vyos-1.3-roll:~$ show vrrp detail 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vrrp.py", line 24, in <module>
    import vyos.keepalived
ModuleNotFoundError: No module named 'vyos.keepalived'

sever@vyos-1.3-roll:~$ show vrrp statistics 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/vrrp.py", line 24, in <module>
    import vyos.keepalived
ModuleNotFoundError: No module named 'vyos.keepalived'

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202004180117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Dmitry changed the task status from Open to Needs testing.Apr 21 2020, 8:48 PM
Dmitry assigned this task to thomas-mangin.

With this patch, all works as expected. Thanks @thomas-mangin

Fixed in the latest rolling

sever@r11:~$ show vrrp 
VRRP is not running
sever@r11:~$ show vrrp detail 
VRRP is not running
sever@r11:~$ show vrrp statistics 
VRRP is not running
sever@r11:~$