Page MenuHomeVyOS Platform

Show vrrp if vrrp not configured bug
Closed, ResolvedPublicBUG


If vrrp is not configured, but high-availability is configured, show vrrp hangs-up
and finally

[email protected]:~$ show vrrp
VRRP data is not available (wait time exceeded)
[email protected]:~$

Or with ctrl C:

[email protected]:~$ show vrrp 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/", line 45, in <module>
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 95, in collect
  File "/usr/lib/python3/dist-packages/vyos/", line 579, in wait_for_file_write_complete
  File "/usr/lib/python3/dist-packages/vyos/", line 562, in wait_for_inotify
    for event in i.event_gen(yield_nones=True):
  File "/usr/lib/python3/dist-packages/inotify/", line 210, in event_gen
    events = self.__epoll.poll(block_duration_s)

For example, virtual-server also uses keepalived:

set high-availability virtual-server real-server port '22'

Process keepalived running
But there are no any information related vrrp

It requires to check if high-availability vrrp exists in the configuration and then keepalived pid itself


Difficulty level
Easy (less than an hour)
VyOS 1.4-rolling-202201120317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)