← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1677452] Re: api-ref: wrong response code in servers.inc and servers-actions.inc

 

Reviewed:  https://review.openstack.org/451645
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=47bd7be88252e6fcff68b329d5506004c53c2188
Submitter: Jenkins
Branch:    master

commit 47bd7be88252e6fcff68b329d5506004c53c2188
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date:   Thu Mar 30 13:16:02 2017 +0900

    api-ref: Fix wrong HTTP response codes
    
    * POST /servers
    
      The 413 response code has not been expected
      since I470b53af45ff47c1dec98d09d7a426a29ca1efc6.
      So remove 413.
    
    * POST /server/{server_id}/action
    
      In 'Rebuild' action, the 413 response code has not been expected
      since I470b53af45ff47c1dec98d09d7a426a29ca1efc6.
      So remove 413.
    
      In 'Rescue' action, the normal response code is actually 200
      instead of 202.
      So fix it.
    
    Change-Id: I6e91d3ac751777f48ab084395a66cb3f83bfcca2
    Implements: blueprint api-ref-in-rst-pike
    Closes-Bug: #1677452


** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1677452

Title:
  api-ref: wrong response code in servers.inc and servers-actions.inc

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  There are some response codes that are not expected in servers.inc and
  servers-actions.inc.

  * POST /servers

    The 413 response code has not been expected
    since I470b53af45ff47c1dec98d09d7a426a29ca1efc6
    (https://review.openstack.org/#/c/329402/).
      
  * POST /server/{server_id}/action

    In 'Rebuild' action, the 413 response code has not been expected
    since I470b53af45ff47c1dec98d09d7a426a29ca1efc6
    (https://review.openstack.org/#/c/329402/).
      
    In 'Rescue' action, the normal response code is actually 200
    instead of 202.

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


References