machine.action clone does not accept filter
Bug #1991792 reported by
Peter Makowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Adam Collard |
Bug Description
Attempting to pass the filter parameter to machine.action clone results in an error being thrown.
request:
{"method"
"filter"
response:
{"type": 1, "request_id": 30, "rtype": 1, "error": "Clone._execute() got an unexpected keyword argument 'system_id'"}
Why is this an issue:
We need to be able to use a filter as a destination for server-side machine listing (e.g. groups of machines where we don't have a complete list of all system_ids for each group).
Related branches
~adam-collard/maas:clone-websocket-server-side
Merged
into
maas:master
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 248 lines (+144/-35)3 files modifiedsrc/maasserver/models/tests/test_interface.py (+28/-35)
src/maasserver/websockets/handlers/machine.py (+14/-0)
src/maasserver/websockets/handlers/tests/test_machine.py (+102/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Alexsander de Souza (alexsander-souza) |
milestone: | none → 3.3.0 |
description: | updated |
description: | updated |
description: | updated |
Changed in maas: | |
assignee: | Alexsander de Souza (alexsander-souza) → Adam Collard (adam-collard) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.