[RSD] Doesn't force ISCSI target names to follow RFC3721

Bug #1679324 reported by Blake Rouse
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS RSD
Triaged
Medium
Unassigned
Intel-rsd
Triaged
Undecided
Unassigned

Bug Description

During the node allocation step when defining remote targets the ISCSI target name is not validated against the RFC3721. Not following RFC3721 makes it harder for MAAS and curtin to validate that the target name is correct.

Expected failures:

1. Compose without a date: iqn.io.maas:newell
2. Compose without a random string no ':': newell-test-1
3. Compose with a random string including ':': newell-test:1

Expected success:

iqn.2017-04.io.maas:newell

Link to RFC reference: https://tools.ietf.org/html/rfc3721#page-5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.