Page MenuHomeVyOS Platform

Can't Commit with Container Network
Closed, ResolvedPublicBUG

Description

I just built a new image from 1.4 code right now. My config won't commit with a container net. Here is the config:

# show container
+network NET {
+    prefix 10.10.88.0/24
+}

And here is the error:

Traceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/container.py", line 493, in <module>
apply(c)
File "/usr/libexec/vyos/conf_mode/container.py", line 482, in apply
tmp = Interface(f'podman-{network}')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/ifconfig/interface.py", line 314, in __init__
if not self.iftype:
^^^^^^^^^^^
AttributeError: 'Interface' object has no attribute 'iftype'

Details

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