"test_create_manage_and_write" is failed with "Target share type is still in use."

Bug #1862001 reported by Liron Kuchlani on 2020-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manila
Medium
Liron Kuchlani

Bug Description

Description of problem:
When running "test_create_manage_and_write" test with
default share type (i.e. set default_share_type_name
= default in tempest.conf) it passed, however, when
there is no default share type it failed with
"Target share type is still in use."
This is because the failed managed share is not deleted
before the share type it is based on.

How reproducible:
100%

Steps to Reproduce:
1. stestr run manila_tempest_tests.tests.scenario.test_share_manage_unmanage.ShareManageUnmanageNFS.test_create_manage_and_write

Changed in manila:
assignee: nobody → Liron Kuchlani (lkuchlan)

Reviewed: https://review.opendev.org/705917
Committed: https://git.openstack.org/cgit/openstack/manila-tempest-plugin/commit/?id=820064b6d7c4a39a39400c11a3c138d6bf4d9074
Submitter: Zuul
Branch: master

commit 820064b6d7c4a39a39400c11a3c138d6bf4d9074
Author: lkuchlan <email address hidden>
Date: Wed Feb 5 12:07:52 2020 +0200

    Fix resources cleanup

    When running "test_create_manage_and_write" test with
    default share type (i.e. set default_share_type_name
    = default in tempest.conf) it passed, however, when
    there is no default share type it failed with
    "Target share type is still in use."
    This is because the failed managed share is not deleted
    before the share type it is based on.
    This patch makes sure the manila share is deleted before
    its share type.

    Change-Id: I1ba4ae3dcc274bf5e6dee5320e52117f440ebb5d
    Related-bug: #1862001

Vida Haririan (vhariria) on 2020-02-06
tags: added: tempest
Changed in manila:
status: New → In Progress
Changed in manila:
status: In Progress → Fix Committed
importance: Undecided → Medium
milestone: none → ussuri-2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers