"Fossies" - the Fresh Open Source Software Archive  

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

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

layout_volume.py  (manila-11.0.0):layout_volume.py  (manila-11.0.1)
skipping to change at line 435 skipping to change at line 435
# 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') 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:
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. 
2 lines changed or deleted 1 lines changed or added

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