There appears to be a middleware bug in TrueNAS-SCALE-22.12.0 which cannot finalise the creation of a VLAN.
In Network > Interfaces, click Add
'/' does not appear to be an IPv4 or IPv6 interface
Callback error:
Since this also occurs on a brand new install, it seems to be a problem with the python script in the release.
In Network > Interfaces, click Add
- Type = VLAN
- Name = vlan2
- VLAN Tag = 2
'/' does not appear to be an IPv4 or IPv6 interface
Callback error:
Code:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 181, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1255, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1284, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1152, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/network.py", line 438, in save_default_route if gw in ip_interface(f'{iface["int_address"]}/{iface["int_netmask"]}').network: File "/usr/lib/python3.9/ipaddress.py", line 118, in ip_interface raise ValueError('%r does not appear to be an IPv4 or IPv6 interface' % ValueError: '/' does not appear to be an IPv4 or IPv6 interface
Since this also occurs on a brand new install, it seems to be a problem with the python script in the release.