MAAS acquire interfaces argument should AND key-value pairs for the same label
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Mike Pontillo | ||
1.9 |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
As discussed with Mike the key-value pairs part of the same label passed as the "interfaces" argument when acquiring a node, should be AND-ed together, rather than OR-ed,
Example: interfaces=
I'd expect to get a node with (at least) 2 NICs, first one on space "foo" and having "link_up" but no address, while the second one on space "bar" and not on a fabric with class "slow".
Right now (1.9.0~
One change in maasserver/
Related branches
- Mike Pontillo (community): Approve
- Blake Rouse: Pending requested
-
Diff: 139 lines (+57/-17)3 files modifiedsrc/maasserver/node_constraint_filter_forms.py (+2/-9)
src/maasserver/tests/test_node_constraint_filter_forms.py (+25/-1)
src/maasserver/utils/orm.py (+30/-7)
- Mike Pontillo (community): Approve
-
Diff: 139 lines (+57/-17)3 files modifiedsrc/maasserver/node_constraint_filter_forms.py (+2/-9)
src/maasserver/tests/test_node_constraint_filter_forms.py (+25/-1)
src/maasserver/utils/orm.py (+30/-7)
- MAAS Maintainers: Pending requested
-
Diff: 176 lines (+69/-6) (has conflicts)4 files modifiedsrc/provisioningserver/drivers/power/amt.py (+11/-0)
src/provisioningserver/drivers/power/ipmi.py (+18/-5)
src/provisioningserver/drivers/power/tests/test_amt.py (+17/-0)
src/provisioningserver/drivers/power/tests/test_ipmi.py (+23/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 1.9.0 |