Instance disappeared during wait for destroy should be a warning not an error

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

Bug Description

Currently Nova logs an error if a libvirt domain disappears during while waiting for it to be destroyed, but the code actually treats this (correctly) as a recoverable situation since the end result is the required one. Hence this should be logged as a warning not an error.

This may help wit some of the gate failures: https://bugs.launchpad.net/nova/+bug/1300279

Phil Day (philip-day)
Changed in nova:
assignee: nobody → Phil Day (philip-day)
Tracy Jones (tjones-i)
tags: added: libvirt low-hanging-fruit
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/104192
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2fee082e9267c75a1e676361d975e52ac9ad86f8
Submitter: Jenkins
Branch: master

commit 2fee082e9267c75a1e676361d975e52ac9ad86f8
Author: Phil Day <email address hidden>
Date: Wed Jul 2 13:22:13 2014 +0000

    Change instance disappeared during destroy from Error to Warning

    Currently Nova logs an error if a libvirt domain disappears during
    while waiting for it to be destroyed, but the code actually treats
    this (correctly) as a recoverable situation since the end result
    is the required one. Hence this should be logged as a warning not
    an error.

    Change-Id: Ie72cd11e22c5f049d3263e58bec286914798147a
    Closes-bug: #1336767

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