← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579876] Re: os-resetState should return a 204 rather than a 202

 

** Changed in: nova
       Status: Triaged => Opinion

** Changed in: nova
   Importance: Low => Wishlist

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1579876

Title:
  os-resetState should return a 204 rather than a 202

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  I noticed this while reviewing the api-ref docs updates. The os-
  resetState action returns a 202, but it's literally updating the
  database from the REST API and doesn't return a body, so it should be
  a 204:

  https://github.com/openstack/nova/blob/7529b94f4a0be17fb3988362619f83b404ccad86/nova/api/openstack/compute/admin_actions.py#L71

  Changing this would require a microversion, so we should probably see
  how many others are like this and do them in a batch update.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1579876/+subscriptions


References