Reviewed: https://review.opendev.org/c/openstack/manila/+/862348 Committed: https://opendev.org/openstack/manila/commit/c86523d5909a2d61e03fb29f4c0c71b67cf18205 Submitter: "Zuul (22348)" Branch: master
commit c86523d5909a2d61e03fb29f4c0c71b67cf18205 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
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/862348 /opendev. org/openstack/ manila/ commit/ c86523d5909a2d6 1e03fb29f4c0c71 b67cf18205
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c86523d5909a2d6 1e03fb29f4c0c71 b67cf18205
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: Ifab3ec9de2abeb 1af8e6499feca02 36e1ee22fcf