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

Bug #1862001 reported by Liron Kuchlani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
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

Tags: tempest
Changed in manila:
assignee: nobody → Liron Kuchlani (lkuchlan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to manila-tempest-plugin (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/705917

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila-tempest-plugin (master)

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)
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
Changed in manila:
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.