[2.x, API] interface update will return successful with invalid params
Bug #1680266 reported by
Seth Tanner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned | ||
maas (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 16.04.2 LTS
Release: 16.04
maas:
Installed: 2.1.3+bzr5573-
the interface update command appears to always return success as long as the system_id and nic_id are valid
example of a valid command
maas <profile> interface update <system_id> <nic_id> vlan=<vlan id>
to replicate just throw in an unsupported param
maas <profile> interface update <system_id> <nic_id> vlan_id=<vlan id>
maas <profile> interface update <system_id> <nic_id> fabric=<fabric id>
this will result in
Success.
Machine-readable output follows:
{ . . .
Ideally the request should fail with a response stating that the param specified is unsupported
Changed in maas (Ubuntu): | |
importance: | Undecided → High |
Changed in maas: | |
importance: | Undecided → High |
milestone: | none → 2.2.0rc2 |
Changed in maas: | |
importance: | High → Medium |
Changed in maas (Ubuntu): | |
importance: | High → Medium |
Changed in maas: | |
milestone: | 2.2.0rc2 → 2.2.1 |
Changed in maas: | |
status: | New → Triaged |
milestone: | 2.2.1 → 2.3.0 |
summary: |
- interface update will return successful with invalid params + [2.x, API] interface update will return successful with invalid params |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
To post a comment you must log in.
I think this should be targeted for a later MAAS release. To do this correctly and consistently would mean re-examining the entire MAAS API.