Page MenuHomeVyOS Platform

Validator return traceback on VRRP configuration with the script path not in config dir
Closed, ResolvedPublicBUG


[email protected]# set high-availability vrrp group GR1 health-check script '/'

  Traceback (most recent call last):
    File "/usr/libexec/vyos/validators/script", line 40, in <module>
      f'Warning: file {path} is outside the / config directory
  NameError: name 'path' is not defined
  Invalid value
  Value validation failed
  Set failed

The reason is that python script does not know what is {path}, need replace to {script}


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)