nova should raise http 409 instead of 500 when get a error instance diagnostics

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

Bug Description

When retrieving server diagnostics, nova should raise 409 instead of 500 in case the instance has no host yet.

Tags: api
Eli Qiao (taget-9)
Changed in nova:
assignee: nobody → Eli Qiao (taget-9)
importance: Undecided → Low
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/338034

Changed in nova:
status: New → In Progress
Changed in nova:
assignee: Eli Qiao (taget-9) → Alex Xu (xuhj)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 16b092d9cf3e7a641940543bbf5dd4937ac643c9
Author: Eli Qiao <email address hidden>
Date: Wed Jul 6 14:35:42 2016 +0800

    API: catch InstanceNotReady exception.

    When retrieving server diagnostics, nova should raise 409 instead of 500
    in case the instance has no host yet.

    Closes-Bug: #1599377
    Change-Id: I3748978d9faf8adc8ca7d1d1d3f02128aa22cf3f

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 14.0.0.0b3

This issue was fixed in the openstack/nova 14.0.0.0b3 development milestone.

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.