Reviewed: https://review.opendev.org/c/openstack/manila/+/901283 Committed: https://opendev.org/openstack/manila/commit/823e1b416910c41d45551fe345e12f321bae3ca8 Submitter: "Zuul (22348)" Branch: stable/xena
commit 823e1b416910c41d45551fe345e12f321bae3ca8 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) (cherry picked from commit 3be5df4e1fe5feac43c3c1524eb00c4441eec476) (cherry picked from commit 569a30df0533fe1bd0b53d5111d801353a1dc126) (cherry picked from commit 67187c28fae622d679362adf4c68f968ce33473e)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/901283 /opendev. org/openstack/ manila/ commit/ 823e1b416910c41 d45551fe345e12f 321bae3ca8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 823e1b416910c41 d45551fe345e12f 321bae3ca8
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 1e03fb29f4c0c71 b67cf18205) 1cb089fa8b415c8 354874e3a7) c43c3c1524eb00c 4441eec476) bd0b53d5111d801 353a1dc126) 679362adf4c68f9 68ce33473e)
(cherry picked from commit c86523d5909a2d6
(cherry picked from commit 4d4d4bdb118968b
(cherry picked from commit 3be5df4e1fe5fea
(cherry picked from commit 569a30df0533fe1
(cherry picked from commit 67187c28fae622d