← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1759473] Re: Avoid InstanceNotRunning reporting

 

Reviewed:  https://review.opendev.org/541152
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ad78f24812df8e83c188b100d05b1c5a577c8f84
Submitter: Zuul
Branch:    master

commit ad78f24812df8e83c188b100d05b1c5a577c8f84
Author: jichenjc <jichenjc@xxxxxxxxxx>
Date:   Fri Feb 2 21:29:02 2018 +0800

    Avoid raise InstanceNotRunning exception
    
    when instance is being snapshot, it's possible that the instance
    is deleted by another thread concurrently, libvirt driver translate
    this InstanceNotFound exception into InstanceNotRunning and we didn't
    catch and handle the exception and it leads to backtrace in compute log.
    
    Also, fixes to catch the Exception and return a debug info
    as the instance is anyway deleted already.
    
    Change-Id: Ic6d0ac894fbbbf03fe967ee4f9ec93b2491cf073
    Closes-Bug: 1759473


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1759473

Title:
  Avoid InstanceNotRunning reporting

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  This is found during bug analysis  1737024 and discussion on 
  https://review.openstack.org/#/c/541152/
  and it turn out InstanceNotRunning 
  is not handled in current implementation and can lead to potential back trace 

  so better to handle it

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1759473/+subscriptions


References