quota-delete should error out if input provided is wrong tenant id
Bug #1307506 reported by
Tushar Bankar
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Unassigned |
Bug Description
neutron quota-delete --tenant-id wrong-id
Deleted quota: wrong-id
And neutron is returning with status 204 (No Content)
But it is expected to return with 404 with message. eg.- No tenant ID found
Changed in neutron: | |
assignee: | nobody → Tushar Bankar (tushar-bankar) |
tags: | added: izeltech |
tags: | removed: izeltech |
Changed in neutron: | |
status: | New → Incomplete |
Changed in neutron: | |
assignee: | Salvatore Orlando (salvatore-orlando) → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
assignee: | Armando Migliaccio (armando-migliaccio) → Salvatore Orlando (salvatore-orlando) |
Changed in neutron: | |
assignee: | Salvatore Orlando (salvatore-orlando) → nobody |
status: | In Progress → New |
Changed in neutron: | |
assignee: | nobody → Deep Shikha (d-shikha) |
tags: | added: api |
Changed in neutron: | |
status: | New → Confirmed |
tags: | added: neutron-proactive-backport-potential |
To post a comment you must log in.
It's expected behavior from Neutron, which should not validate tenant ID. In case an object is not found, 404 is not returned, because operation has succeeded - no object with such properties exists anymore.
However I think something could be done on python- neutronclient side