Page MenuHomeVyOS Platform

GRE-bridge conf_mode errors
Closed, ResolvedPublicBUG


set interfaces tunnel tun21 encapsulation gre-bridge
set interfaces tunnel tun21 local-ip


Date:       2020-04-21 16:44:04
VyOS image: 1.3-rolling-202004210117

['Traceback (most recent call last):\n', '  File "/usr/libexec/vyos/conf_mode/", line 365, in <module>\n    apply(c)\n', '  File "/usr/libexec/vyos/conf_mode/", line 331, in apply\n    br.add_port(member[\'name\'])\n', '  File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 179, in add_port\n    return self.set_interface(\'add_port\', interface)\n', '  File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 154, in set_interface\n    return self._set_command(self.config, name, value)\n', '  File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 82, in _set_command\n    return self._command_set[name].get(\'format\', lambda _: _)(self._cmd(cmd))\n', '  File "/usr/lib/python3/dist-packages/vyos/ifconfig/", line 48, in _cmd\n    return cmd(command, self.debug)\n', '  File "/usr/lib/python3/dist-packages/vyos/", line 139, in cmd\n    raise OSError(code, feedback)\n', 'FileNotFoundError: [Errno 2] failed to run command: ip link set dev tun28 master br0\nreturned: \nexit code: 2\n']

[[interfaces bridge br0]] failed
Commit failed


Difficulty level
Unknown (require assessment)
VyOS 1.3-rolling-202004210117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

works if run as root (or sudo) but not as it.

gre-bridge requires an endpoint

vyos@vyos# set interfaces tunnel tun21 encapsulation gre-bridge
vyos@vyos# set interfaces tunnel tun21 local-ip
vyos@vyos# commit
remote-ip is mandatory for tunnel
[[interfaces tunnel tun21]] failed
Commit failed
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:40 AM
erkin removed a subscriber: Active contributors.