Comment 5 for bug 1820118

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

Reviewed: https://review.openstack.org/644905
Committed: https://git.openstack.org/cgit/openstack/manila-tempest-plugin/commit/?id=9743939c6cd1ac48efe705388abf30165718f27e
Submitter: Zuul
Branch: master

commit 9743939c6cd1ac48efe705388abf30165718f27e
Author: Lucio Seki <email address hidden>
Date: Tue Mar 19 18:05:35 2019 -0300

    Delete servers before deleting its share network

    When deleting a share network, the belonging share servers were being
    deleted automatically. However, any possible errors were being ignored,
    possibly leaving share servers in the backend.

    The patch https://review.openstack.org/644560 avoids this by making the
    Manila API to return an error if the share network about to be deleted
    still has any share server, which in turn has `is_auto_deletable=True`
    or contains any share.

    This patch modifies the base test class tearDown method, to delete the
    share servers before the share network they belong to.

    Change-Id: I7d330b8b5fb3f08d3cbdae2c1735e266e75a70d3
    Depends-On: I4144a532d5827b929a1dce0d4d642e6d1cee47b1
    Related-Bug: #1820118