Comment 1 for bug 1700802

Revision history for this message
Mike Pontillo (mpontillo) wrote : Re: maas cli allocate interfaces=<label>:ip=<ADDRESS> errors with Unknown interfaces constraint

Hm, this looks like a bug in the AcquireNodeForm (node_constraint_filter_forms.py). It does some additional validation of each constraint, checking it against this set of valid constraints here:

NETWORKING_CONSTRAINT_NAMES = {
    'space',
    'not_space',
    'fabric_class',
    'not_fabric_class',
    'subnet_cidr',
    'not_subnet_cidr',
    'vid',
    'not_vid',
    'fabric',
    'not_fabric',
    'subnet',
    'not_subnet',
    'mode',
    'tag',
    'not_tag',
}

Adding "ip" and "not_ip" to this list might fix the issue. I'll have to test it out more.