yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #49707
[Bug 1307506] Re: quota-delete should error out if input provided is wrong tenant id
Reviewed: https://review.openstack.org/276096
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=915352725296de45a74ffd2ea1edc4c498eb4a8f
Submitter: Jenkins
Branch: master
commit 915352725296de45a74ffd2ea1edc4c498eb4a8f
Author: reedip <reedip.banerjee@xxxxxxxxxxxxxxxxxx>
Date: Thu Feb 4 17:36:32 2016 +0900
Return a 404 on quota delete if entry not found
If a tenant quota is not found, the delete operation should fail
with a 404 error. It currently returns 204 even if the delete
operation actually does not delete anything which is inconsistent
with other delete operations in the Neutron API.
APIImpact
Change-Id: I1cd91b5e06bd17f9aac97bba71228f2e5c48879b
Closes-Bug: 1307506
Co-Authored-By: Salvatore Orlando <salv.orlando@xxxxxxxxx>
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1307506
Title:
quota-delete should error out if input provided is wrong tenant id
Status in neutron:
Fix Released
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1307506/+subscriptions
References