Nova api doesn't handle InstanceUnknownCell when doing live-migration

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

Bug Description

compute_api.live_migrate may raise InstanceUnknownCell exception when doing check_instance_cell.
see https://github.com/openstack/nova/blob/master/nova/compute/api.py#L316 for reference.

Eli Qiao (taget-9)
Changed in nova:
assignee: nobody → Eli Qiao (taget-9)
tags: added: api live-migration
Eli Qiao (taget-9)
description: updated
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/212965

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/212965
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cbcf5932be3d65b77bed92c70e32579a13b9115f
Submitter: Jenkins
Branch: master

commit cbcf5932be3d65b77bed92c70e32579a13b9115f
Author: Eli Qiao <email address hidden>
Date: Fri Aug 14 11:56:00 2015 +0800

    API: Handle InstanceUnknownCell exceptions

    There are some methods in Nova compute api and cell api would call the
    decorator `check_instance_cell`, and that decorator may raise
    InstanceUnknownCell, there isn't any exception handler in REST api layer.

    This patch adds handlers for those methods.

    Closes-bug: #1484776
    Change-Id: I753a81f093ec5fdf000841949e52fca6f2662aa8

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-rc1 → 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.