← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1514360] Re: Deleting a rebuilding instance tries to set it to ERROR

 

Reviewed:  https://review.openstack.org/243005
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9ae822d412885c33a6d2a801be40c5787e64306d
Submitter: Jenkins
Branch:    master

commit 9ae822d412885c33a6d2a801be40c5787e64306d
Author: Hans Lindgren <hanlind@xxxxxx>
Date:   Mon Nov 9 09:53:19 2015 +0100

    Gracefully handle a deleting instance during rebuild
    
    When rebuilding an instance, if the instance is deleted while in the
    middle of such operation, do not log the exception or try to set to
    ERROR since this is an expected event that should be handled gracefully.
    
    Change-Id: I9d78455dfd9537998833a5ff0ba5f39f241c3740
    Closes-Bug: #1514360


** 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/1514360

Title:
  Deleting a rebuilding instance tries to set it to ERROR

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  As can be seen in the logs[1], this happens quite frequently in
  tempest runs. Although this is not causing any errors, it fill logs
  with stack traces and will unnecessarily save an instance fault in the
  db before the instance itself is deleted.

  [1]
  http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22Setting%20instance%20vm_state%20to%20ERROR%5C%22%20AND%20message:%5C%22Expected:%20%7B'task_state':%20%5Bu'rebuilding'%5D%7D.%20Actual:%20%7B'task_state':%20u'deleting'%7D%5C%22&from=86400s

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


References