machine.action clone does not accept filter

Bug #1991792 reported by Peter Makowski
6
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":"machine.action","type":0,"params":{"action":"clone", "system_id":"tw8pfr", "extra":{"interfaces":true,"storage":false},
"filter":{"id":"t7ht7q"}},"request_id":26}

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

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.