Tempest test test_unmanage_replicated_share_snapshot_with_no_replica does not release real snapshot resource

Bug #1599165 reported by Valeriy Ponomaryov
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Valeriy Ponomaryov

Bug Description

Test with name "test_unmanage_replicated_share_snapshot_with_no_replica" located at "manila_tempest_tests/tests/api/admin/test_replication_actions.py:ReplicationAdminTest" creates share, creates snapshot of it, then unmanages snapshot and that's all. But real snapshot resource exists after test finishes. It leads to 2 problems: resource orphanage and failure of cleanup method.

Changed in manila:
importance: Undecided → High
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
milestone: none → newton-2
status: New → In Progress
tags: added: tempest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/337670
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=1b8a2e0f8746d43d812b9b611067882a8e956c41
Submitter: Jenkins
Branch: master

commit 1b8a2e0f8746d43d812b9b611067882a8e956c41
Author: vponomaryov <email address hidden>
Date: Tue Jul 5 16:43:31 2016 +0300

    Delete duplicated broken tempest test

    Test "test_unmanage_replicated_share_snapshot_with_no_replica" is
    located in "replication" test suite. But, it does only
    "snapshot unmanage" actions without any relations to "replication".
    Also, it does not delete real snapshot resource, because
    "manila snapshot" gets only unmanaged.
    So, just remove above mentioned test as duplication that, moreover,
    leads to resources orphanage and cleanup errors.

    Change-Id: Ifc762a882a78159adacfe168a4edbe824178301a
    Closes-Bug: #1599165

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/manila

This issue was fixed in the openstack/manila development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers