Nova API returning HTTP response code 202 instead the response 204 for keypair-delete
Issue
Upon deletion of a key-pair with nova API, the API returns a 202 status code as below:
nova --debug keypair-delete test
(...)
DEBUG (session:224) RESP: [202] date: Fri, 29 Jul 2016 23:41:58 GMT content-length: 0 content-type: text/html; charset=UTF-8 x-compute-request-id: req-2221a072-c0d7-48f9-8881-423cb88819f6
However, according to standard usage, instead of a HTTP 202 Accepted, nova ideally should return a HTTP 204 No Content.
Environment
Red Hat Enterprise Linux OpenStack Platform 7.0
Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
