[LVM,Generic drivers] Fix relationships between parent and child shares
Reportedly [1], the kernel-nfs-server has a bug where we have overlap of
filesystem identifiers using LVM volumes and their snapshots.
We face this bug in manila LVM driver and Generic driver when we use
cinder LVM driver. So, fix it generating unique UUID for all
snapshots (only for LVM, because we cannot do it in Generic driver
while we do not have "mount-snapshot" feature support there) and
child volumes that will be exported as child shares.
Reviewed: https:/ /review. openstack. org/407468 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=c93e812a588 9cf812d8b339ae4 e588a6596e6d95
Committed: https:/
Submitter: Jenkins
Branch: master
commit c93e812a5889cf8 12d8b339ae4e588 a6596e6d95
Author: Valeriy Ponomaryov <email address hidden>
Date: Tue Dec 6 14:32:26 2016 +0300
[LVM,Generic drivers] Fix relationships between parent and child shares
Reportedly [1], the kernel-nfs-server has a bug where we have overlap of
filesystem identifiers using LVM volumes and their snapshots.
We face this bug in manila LVM driver and Generic driver when we use
cinder LVM driver. So, fix it generating unique UUID for all
snapshots (only for LVM, because we cannot do it in Generic driver
while we do not have "mount-snapshot" feature support there) and
child volumes that will be exported as child shares.
[1] https:/ /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1071733
Change-Id: Ib93bfb0d4184da 1e70ecece6fde69 31e44d05a30
Closes-Bug: #1645751