Comment 8 for bug 1794956

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

Reviewed: https://review.opendev.org/606038
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=394fbd7e20dbd8fb8cc58510657753432c43fa9b
Submitter: Zuul
Branch: master

commit 394fbd7e20dbd8fb8cc58510657753432c43fa9b
Author: zhu.boxiang <zhu.boxiang@99cloud.net>
Date: Fri Sep 28 19:07:12 2018 +0800

    RBD: fix volume reference handling in clone logic

    This patch fixes a bug in volume cloning where the source volume is
    prematurely closed. If the destination volume requires flattening and
    an exception occurs during flattening, the code attempts to perform
    cleanup operations on an already closed volume. This resulted in a
    segmentation fault which causes cinder to restart.

    Co-authored-by: Jon Bernard <email address hidden>

    Change-Id: Ib713aa91b775d8ec07ffdb24dfe1db1b6ecf2921
    Closes-Bug: #1794956