[OSTF] Sometimes instance fails to be deleted

Bug #1285094 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Tatyanka

Bug Description

Sometimes instance deletion fails in tests volume.
More often it is happens during system tests execution on CI
Next error in the nova

api send next message to the rabbit
http://paste.openstack.org/show/69799/

and then
http://paste.openstack.org/show/69798/

http://paste.openstack.org/show/69796/

OSTf make some retries to delete instance, and when it does not help, call instance power-off that lead to next exception

http://paste.openstack.org/show/69795/

There is no 100% steps to reproduce it, but at the last 3 runs of system tests on CI it is reproduced on deploying of deploy_simple_cinder.deploy_simple_cinder on Centos

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Tatyana (tatyana-leontovich)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/79995
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=12aec4d6669b04353ee4b9caa0c429be823a488c
Submitter: Jenkins
Branch: master

commit 12aec4d6669b04353ee4b9caa0c429be823a488c
Author: Tatyana Leontovich <email address hidden>
Date: Wed Mar 12 18:37:51 2014 +0000

    Remove instance power-off in delete function

    In case if instance deleteion fails we try
    to reset instance state, nova power-off action
    was invokes, that leads to the raise of
    UnexpectedTaskStateError_Remote

    In this patch invocation of power-off was deleted
    Now, we do several retries for deleteion and
    if instance fails to be deleted - fail the test

    Change-Id: Ic059d976a6a312fa32a90fa24b439e133031780e
    Closes-bug: #1285094

Changed in fuel:
status: In Progress → Fix Committed
tags: added: backports-4.1.1
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

need to be back-ported in 4.1.1

Changed in fuel:
milestone: 5.0 → 4.1.1
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/83091

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (stable/4.1)

Reviewed: https://review.openstack.org/83091
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=65c875f62fa55657b875c09236f1dd8a40769816
Submitter: Jenkins
Branch: stable/4.1

commit 65c875f62fa55657b875c09236f1dd8a40769816
Author: Tatyana Leontovich <email address hidden>
Date: Wed Mar 12 18:37:51 2014 +0000

    4.1.1 Remove instance power-off in delete function

    In case if instance deleteion fails we try
    to reset instance state, nova power-off action
    was invokes, that leads to the raise of
    UnexpectedTaskStateError_Remote

    In this patch invocation of power-off was deleted
    Now, we do several retries for deleteion and
    if instance fails to be deleted - fail the test

    Change-Id: Ic059d976a6a312fa32a90fa24b439e133031780e
    Closes-bug: #1285094

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified 127 iso

Changed in fuel:
status: Fix Committed → Fix Released
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.