Comment 3 for bug 1823880

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

Reviewed: https://review.openstack.org/651238
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=be64e1ae7cfaea2a208ba42bbbf66fe4a5dee0e9
Submitter: Zuul
Branch: master

commit be64e1ae7cfaea2a208ba42bbbf66fe4a5dee0e9
Author: Lee Yarwood <email address hidden>
Date: Tue Apr 9 14:02:12 2019 +0100

    Ensure all image cache volumes are removed before removing the volume type

    Previously the only clean up action registered when creating a new
    volume type was the direct removal of that type. However this request would
    silently fail in the attached volume migration scenario tests if the
    backends being used had their image volume cache enabled.

    This was due to the image volume cache still containing volumes
    associated to the given volume type when attempts were made to delete
    the volume type. To avoid this these image volume cache volumes must be
    manually removed by an admin user before deleting the volume type.

    Closes-Bug: #1823880
    Change-Id: Ib4d82586e91037729f9e846a6f0fac6d393ca475