Nova API returning HTTP response code 202 instead the response 204 for keypair-delete

Solution In Progress - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content