"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/share/drivers/glusterfs/layout_volume.py" between
manila-8.1.3.tar.gz and manila-8.1.4.tar.gz

About: OpenStack Manila provides “Shared Filesystems as a service”.
The "Stein" series (maintained release).

layout_volume.py  (manila-8.1.3):layout_volume.py  (manila-8.1.4)
skipping to change at line 433 skipping to change at line 433
if UUID_RE.search(clone_of): if UUID_RE.search(clone_of):
# We take responsibility for the lifecycle # We take responsibility for the lifecycle
# management of those volumes which were # management of those volumes which were
# created by us (as snapshot clones) ... # created by us (as snapshot clones) ...
gmgr.gluster_call('volume', 'delete', gmgr.volume) gmgr.gluster_call('volume', 'delete', gmgr.volume)
else: else:
# ... for volumes that come from the pool, we return # ... for volumes that come from the pool, we return
# them to the pool (after some purification rituals) # them to the pool (after some purification rituals)
self._wipe_gluster_vol(gmgr) self._wipe_gluster_vol(gmgr)
gmgr.set_vol_option(USER_MANILA_SHARE, 'NONE') gmgr.set_vol_option(USER_MANILA_SHARE, 'NONE')
gmgr.set_vol_option('nfs.disable', 'on')
# When deleting the share instance, we need to
# update'self.gluster_used_vols' again
self.gluster_used_vols = set()
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:
msg = ("Error during delete_share request for " msg = ("Error during delete_share request for "
"share %(share_id)s", {'share_id': share['id']}) "share %(share_id)s", {'share_id': share['id']})
LOG.error(msg) LOG.error(msg)
raise raise
self.private_storage.delete(share['id']) self.private_storage.delete(share['id'])
# TODO(deepakcs): Disable quota. # TODO(deepakcs): Disable quota.
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)