Is this bug? My VTI is faling

Hi,

I am trying to add vti interfaces and its failing.

vyos@R1# set interfaces vti vti10 address 169.254.254.6/32
[edit]
vyos@R1# commit
[ interfaces vti vti5 ]
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 stable version of VyOS
  the code is available at https://downloads.vyos.io/?dir=release/current
- Contact us using the online help desk
  https://support.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-06-03 12:39:07
Image Version:    VyOS crux-201911152209
Release Train:    sagitta

Built by:         karlo@networkshinobi.com
Built on:         Thu 03 Jun 2021 06:31 UTC
Build UUID:       53a55928-1f92-4f0f-9dd0-44231fda3569
Build Commit ID:  9a572897c12a4a

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

Hardware vendor:  VMware, Inc.
Hardware model:   VMware Virtual Platform
Hardware S/N:     VMware-56 4d 2a ad d0 b3 df 0f-5c 79 4c f8 e3 d4 6e 9e
Hardware UUID:    ad2a4d56-b3d0-0fdf-5c79-4cf8e3d46e9e

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-vti.py", line 83, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-vti.py", line 73, in apply
    tmp = VTIIf(**vti)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 264, in __init__
    self._create()
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/vti.py", line 53, in _create
    self._cmd(cmd.format(**self.config))
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 51, in _cmd
    return cmd(command, self.debug)
  File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
    raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: ip link add vti5 type vti
returned:
exit code: 2

noteworthy:
cmd 'ip link add vti5 type vti'
returned (out):

returned (err):
RTNETLINK answers: File exists

[[interfaces vti vti5]] failed
[ interfaces vti vti10 ]
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 stable version of VyOS
  the code is available at https://downloads.vyos.io/?dir=release/current
- Contact us using the online help desk
  https://support.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-06-03 12:39:07
Image Version:    VyOS crux-201911152209
Release Train:    sagitta

Built by:         karlo@networkshinobi.com
Built on:         Thu 03 Jun 2021 06:31 UTC
Build UUID:       53a55928-1f92-4f0f-9dd0-44231fda3569
Build Commit ID:  9a572897c12a4a

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

Hardware vendor:  VMware, Inc.
Hardware model:   VMware Virtual Platform
Hardware S/N:     VMware-56 4d 2a ad d0 b3 df 0f-5c 79 4c f8 e3 d4 6e 9e
Hardware UUID:    ad2a4d56-b3d0-0fdf-5c79-4cf8e3d46e9e

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/interfaces-vti.py", line 83, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/interfaces-vti.py", line 73, in apply
    tmp = VTIIf(**vti)
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 264, in __init__
    self._create()
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/vti.py", line 53, in _create
    self._cmd(cmd.format(**self.config))
  File "/usr/lib/python3/dist-packages/vyos/ifconfig/control.py", line 51, in _cmd
    return cmd(command, self.debug)
  File "/usr/lib/python3/dist-packages/vyos/util.py", line 161, in cmd
    raise OSError(code, feedback)
FileNotFoundError: [Errno 2] failed to run command: ip link add vti10 type vti
returned:
exit code: 2

noteworthy:
cmd 'ip link add vti10 type vti'
returned (out):

returned (err):
RTNETLINK answers: File exists

[[interfaces vti vti10]] failed
Commit failed
[edit]

We are working on it ⚓ T3595 Cannot create new VTI interface

Thanks - mean time I guess I can use ip link add? will it cause any issue?

Will be fixed in the next rolling release

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.