Handle UnexpectedTaskState and InstanceNotFound exceptions in run_instance and snapshot

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

Bug Description

The two exceptions UnexpectedTaskState and InstanceNotFound are thrown when a delete of the instance happens before the ongoing action
is completed. These are to be handled gracefully.
These exceptions have to be logged and not reraised, as they are false alarms.

summary: - if we get InstanceNotFound error on create, ignore
+ Handle UnexpectedTaskState and InstanceNotFound exceptions in
+ run_instance and snapshot
Changed in nova:
assignee: nobody → Sridevi Koushik (sridevik)
status: New → In Progress
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/32463

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/31302
Committed: http://github.com/openstack/nova/commit/b5ee31f52f9110e3e00423e609626ce854ef874e
Submitter: Jenkins
Branch: master

commit b5ee31f52f9110e3e00423e609626ce854ef874e
Author: sridevik <email address hidden>
Date: Fri Jun 14 13:46:24 2013 -0500

    Handle UnexpectedTaskState and InstanceNotFound exceptions

    UnexpectedTaskState and InstanceNotFound are thrown when a delete
    of the instance happens before the ongoing action is completed.
    These are to be handled gracefully.
    These exceptions have to be logged and not reraised, as they are false
    alarms.

    Fixes: bug #1186447

    Change-Id: I0647935c4452d4294f49a4c0d08e480584ebec7c

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