Page MenuHomeVyOS Platform

VRRP op-mode errors
Closed, ResolvedPublicBUG

Description

If VRRP not configured

[email protected]:~$ 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'

[email protected]:~$ 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'

[email protected]:~$ 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)
Issue type
Bug (incorrect behavior)

Event Timeline

Unknown Object (User) added a subscriber: Unknown Object (User).Apr 21 2020, 8:32 PM
Unknown Object (User) changed the task status from Open to Needs testing.Apr 21 2020, 8:48 PM
Unknown Object (User) 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:~$
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:47 AM
erkin removed a subscriber: Active contributors.