wrong expected code for os-resetState action

Bug #1476490 reported by Eli Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Eli Qiao

Bug Description

os-resetState action have no 400(BadRequest Error) comes out, we need to remove it.

Tags: api
Eli Qiao (taget-9)
Changed in nova:
assignee: nobody → Eli Qiao (taget-9)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/203930

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit df5a276643dd1c19db7b8e865bcff63cda35d363
Author: Eli Qiao <email address hidden>
Date: Tue Jul 21 13:55:26 2015 +0800

    Correct expected error code for os-resetState action

    extensions.expected_errors will handle all error codes when a REST api method
    is decorated by it. If the REST api method has any error code which are not in
    the list of extensions.expected_errors, nova-api will return an 500 to client.

    So the list will indicate all possible return codes of this method.
    os-resetState action have no 400(BadRequest Error) comes out, remove it.

    Closes-Bug: #1476490
    Change-Id: Ia1c3da57c4e129dcbf22ca3d69e2a482222a26b9

Changed in nova:
status: In Progress → Fix Committed
Eli Qiao (taget-9)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-3 → 12.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.