[2.5, API] API returns success when trying to delete a zone with id

Bug #1785724 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

ubuntu@maas00:~$ maas admin zone delete 4
Success.
Machine-readable output follows:

But the positional argument is actually the name.

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.

Tags: api
Changed in maas:
importance: Undecided → High
status: New → Triaged
summary: - [2.5] API returns success when trying to delete a zone with id
+ [2.5, API] API returns success when trying to delete a zone with id
Changed in maas:
milestone: none → 2.5.0alpha2
Changed in maas:
milestone: 2.5.0alpha2 → 2.5.0beta1
tags: added: api
Changed in maas:
milestone: 2.5.0beta1 → 2.5.0beta2
Changed in maas:
milestone: 2.5.0beta2 → 2.5.0rc1
Changed in maas:
milestone: 2.5.0rc1 → 2.5.x
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
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.