Page MenuHomeVyOS Platform

tunnel: KeyError when using dhcp-interface
Closed, ResolvedPublicBUG


[email protected]# show interfaces tunnel
+tunnel tun100 {
+    address
+    dhcp-interface pppoe0
+    encapsulation gre
+    multicast enable
+    parameters {
+        ip {
+            key 100
+        }
+    }
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 165, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 81, in verify
    tunnel['source_address'] == '' and \
KeyError: 'source_address'


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Oct 20 2021, 6:45 PM
c-po claimed this task.
c-po triaged this task as High priority.
c-po created this task.
c-po edited projects, added VyOS 1.3 Equuleus (1.3.0-epa3); removed VyOS 1.3 Equuleus.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
c-po added a project: VyOS 1.4 Sagitta.
c-po moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.0-epa3) board.