Comment 12 for bug 1924643

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

Reviewed: https://review.opendev.org/c/openstack/cinder/+/821890
Committed: https://opendev.org/openstack/cinder/commit/344f3e8b098ff52c137ece8a28b3b40a5893e30e
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 344f3e8b098ff52c137ece8a28b3b40a5893e30e
Author: Felipe Rodrigues <email address hidden>
Date: Fri Apr 16 10:05:40 2021 -0300

    NetApp ONTAP: Fix sub-clone zapi call

    The ONTAP documentation states that the `clone-create` ZAPI call
    fails with `block-ranges` and `space-reserve` parameters sent
    together. The sub-clone uses the `block-ranges` and is failing
    because of that restriction.

    This patch fixes the `clone-create` operation by using exactly one
    of `block-ranges` or `space-reserve`.

    Change-Id: I05d83d73de69c57d885e0c417e8a376f7cfb1e4f
    Closes-Bug: #1924643
    (cherry picked from commit dd0b1076df936b9cb1111567f6b4c3b747744b72)