Comment 9 for bug 1967760

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

Reviewed: https://review.opendev.org/c/openstack/manila/+/897969
Committed: https://opendev.org/openstack/manila/commit/3be5df4e1fe5feac43c3c1524eb00c4441eec476
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 3be5df4e1fe5feac43c3c1524eb00c4441eec476
Author: Victoria Martinez de la Cruz <email address hidden>
Date: Mon Sep 19 08:31:13 2022 +0000

    Shorten snapshots names in CephFS drivers

    The name set to snapshots in the CephFS drivers
    is generated appending the snapshot id with the
    snapshot instance id.

    This is a problem because Ceph has a limitation
    in the name of the subvolumes (shares) being created.

    What happens then is, when trying to create a snapshot,
    the snapshot gets created with a truncated name and it cannot
    be accessed later.

    This change drops the snapshot instance id from the
    assigned name in order to avoid this limitation.

    Closes-Bug: #1967760

    Change-Id: Ifab3ec9de2abeb1af8e6499feca0236e1ee22fcf
    (cherry picked from commit c86523d5909a2d61e03fb29f4c0c71b67cf18205)
    (cherry picked from commit 4d4d4bdb118968b1cb089fa8b415c8354874e3a7)