[2.4, 2.5] Cannot delete a resource-pool using its name

Bug #1785721 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Andres Rodriguez
2.4
Fix Released
High
Andres Rodriguez

Bug Description

You cannot delete a resource pool using its name like it is supported for zone:

ubuntu@maas00:~$ maas admin zone delete --help
usage: maas admin zone delete [--help] [-d] [-k] name [data [data ...]]

DELETE request. Delete zone.

Positional arguments:
 name

Returns 404 if the zone is not found.
Returns 204 if the zone is successfully deleted.

ubuntu@maas00:~$ maas admin resource-pool delete --help
usage: maas admin resource-pool delete [--help] [-d] [-k] id [data [data ...]]

DELETE request. Delete resource pool.

Positional arguments:
 id

Returns 404 if the resource pool is not found.
Returns 204 if the resource pool is successfully deleted.

Tags: track

Related branches

Changed in maas:
assignee: nobody → Andres Rodriguez (andreserl)
milestone: none → 2.5.0alpha2
importance: Undecided → High
status: New → Triaged
tags: added: track
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
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.