Catch up with API null value changes in legacy UI for iSCSI
Changes were made to the API to not allow default null values everywhere.
Legacy UI needs to be update to not send said null values.
Low risk task since its mostly fixing things currently broken
Once this is done one should be able to create all kinds of iSCSI entries (specially entries that allow no values to be specified, e.g. no target alias, no auth group, etc)
Null values fix for iSCSI plugin
A range of errors was introduced when null was disallowed in middlewared. This commit fixes that and other minor improvements to the code base
- File Screenshot-2019-03-01-16-29-59.png added
Tested minimal options and I saw 'None' choices as well as required fields. However, when I create a portal in the legacy UI, the sharing page is broken. Clicking 'Sharing->Block->Target Global Configuration' does nothing, but going to another area (such as VMs) and going back works. Is this a bug?
- Status changed from Ready for Testing to Passed Testing
- Needs QA changed from Yes to No
Valid none options include 'Discovery Auth Method', 'Discovery Auth Group', and 'Comment' in Portal, 'Comment' in Initiator, 'Peer User' and 'Peer Secret' in Authorized Access, 'Target Alias', 'Initiator Group ID', 'Auth Method', and 'Authentication Group number' in Targets, 'Available Space Threshold' and 'Comment' in Extents, and 'LUN ID' in Associated Targets.