Merge "[glusterfs] don't reinit volume list on deletion" into stable/ussuri
This commit is contained in:
commit
969ff055f6
|
@ -435,9 +435,8 @@ class GlusterfsVolumeMappedLayout(layout.GlusterfsShareLayoutBase):
|
||||||
gmgr.set_vol_option(USER_MANILA_SHARE, 'NONE')
|
gmgr.set_vol_option(USER_MANILA_SHARE, 'NONE')
|
||||||
gmgr.set_vol_option('nfs.disable', 'on')
|
gmgr.set_vol_option('nfs.disable', 'on')
|
||||||
|
|
||||||
# When deleting the share instance, we need to
|
# When deleting the share instance, we may need to
|
||||||
# update'self.gluster_used_vols' again
|
# update'self.gluster_used_vols' again
|
||||||
self.gluster_used_vols = set()
|
|
||||||
self.gluster_used_vols.add(gmgr.qualified)
|
self.gluster_used_vols.add(gmgr.qualified)
|
||||||
self._push_gluster_vol(gmgr.qualified)
|
self._push_gluster_vol(gmgr.qualified)
|
||||||
except exception.GlusterfsException:
|
except exception.GlusterfsException:
|
||||||
|
|
Loading…
Reference in New Issue