Details
-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Low
-
Resolution: Complete
-
Affects Version/s: TrueNAS 11.3-U4.1, 12.1-BETA1, 12.0-BETA1
-
Fix Version/s: SCALE-20.10-ALPHA, 12.0-RC1, 11.3-U5, TrueNAS 11.3-U5
-
Component/s: WebUI
-
Labels:
Description
If a customer is on an HA system and they try to configure an interface with only an `aliases` with no `failover_alias` or `failover_virtual_alias`, middlewared raises a validation error as expected.
However, if a customer tries to fill in a `failover_aliases` or `failover_virtual_aliases` with no other settings, it will take it no problem.
Furthermore, middlewared can't do proper validation checks because those keys are being overwritten with empty arrays since they're tied to the `aliases` key.
Another issue that occurs is that middlewared actually writes an empty entry in the database for said interface. While I've detected no errors for this happening, it gets really strange really fast. Especially if the interface in question is a member of a parent interface.