Complete
Details
Details
Assignee
Erin Clark
Erin ClarkReporter
Caleb
CalebLabels
Time remaining
0m
Components
Fix versions
Affects versions
Priority
Katalon Platform
Katalon Platform
Created August 7, 2020 at 6:23 PM
Updated July 1, 2022 at 4:56 PM
Resolved August 17, 2020 at 8:25 PM
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.