Allocate using subnets params gives unhelpful errors
Bug #1637203 reported by
Martin Packman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Calling `machines allocate` with 'subnets' or 'not_subnets' params, or for MAAS 1.9 calling 'nodes acquire' with 'networks' or 'not_networks' params, unhelpfully only ever returns the same error:
$ maas env21 machines allocate subnets=bogus verbose=true dry_run=true
{"subnets": ["No matching subnets found."]}
This means slight mistakes in the under-documented mini-language give no feedback as to what is actually wrong.
Changed in maas: | |
importance: | Undecided → Low |
status: | New → Triaged |
milestone: | none → 2.1.1 |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
I think this is a more widespread problem:
roaksoax@ unleashed: ~/Desktop/ project/ maas$ maas admin vlans create names=1
Not Found
'names' doesn't exist