I cannot add the IP address to a link aggregation interface on the TruenNAS web interface. Hopefully this is harmless, and as far as I can tell my TrueNAS
is working fine, despite this glitch.
FYI, this is in TrueNAS CORE 13.0-U6.7 (the latest stable).
However, it still seems to show some inconsistency between editing an interface via console vs. editing an interface via web interface.
Anyway, just reporting it.
I used the text-based console to create the link aggregation interface out of two physical Ethernet ports, and assigned the IP address to it.
In the web interface:
The IP address appears correctly in the Network->Network Summary menu,
associated to the link aggregation interface (lagg0).
However, under Network->Interaces, the IP address doesn’t appear.
When I try to edit the lagg0 interface to put the same IP address there,
I get an error.
A pop-up window shows:
Runtime error.
0 found, expecting one.
More info.
The “More info” pop up window shows this Python error traceback:
Error: Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 141, in call_method
result = await self.middleware._call(message[‘method’], serviceobj, methodobj, params, app=self)
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1242, in _call
return await methodobj(*prepared_call.args)
File “/usr/local/lib/python3.9/site-packages/middlewared/service.py”, line 507, in update
rv = await self.middleware._call(
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1242, in _call
return await methodobj(*prepared_call.args)
File “/usr/local/lib/python3.9/site-packages/middlewared/schema.py”, line 981, in nf
return await f(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/middlewared/plugins/network.py”, line 1580, in do_update
lag_id = await self.middleware.call(
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1285, in call
return await self._call(
File “/usr/local/lib/python3.9/site-packages/middlewared/main.py”, line 1242, in _call
return await methodobj(*prepared_call.args)
File “/usr/local/lib/python3.9/site-packages/middlewared/schema.py”, line 981, in nf
return await f(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/middlewared/plugins/datastore/write.py”, line 103, in update
raise RuntimeError(f’{len(rows)} found, expecting one’)
RuntimeError: 0 found, expecting one
Awkwardly, I have to TrueNAS, with identical hardware and the same
TrueNAS CORE 13.0-U6.7.
They are configured exactly the same.
The older one was updated from TrueNAS CORE 13.0-U3.2 to 13.0-U6.7,
and doesn’t have this problem.
The more recent one was installed fresh from TrueNAS CORE 13.0-U6.7,
and has this problem.
Likewise, I cannot add a binding address to NSF shares on the more recent one (It doesn’t let me type in the IP in the appropriate field), but it is fine in the older one (the IP is already there, and the field can be edited/typed in).
Thank you,
Gus Correa