"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "manila/share/manager.py" between
manila-8.1.2.tar.gz and manila-8.1.3.tar.gz

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

manager.py  (manila-8.1.2):manager.py  (manila-8.1.3)
skipping to change at line 3800 skipping to change at line 3800
user_id = share['user_id'] user_id = share['user_id']
self._notify_about_share_usage(context, share, self._notify_about_share_usage(context, share,
share_instance, "extend.start") share_instance, "extend.start")
try: try:
self.driver.extend_share( self.driver.extend_share(
share_instance, new_size, share_server=share_server) share_instance, new_size, share_server=share_server)
except Exception as e: except Exception as e:
LOG.exception("Extend share failed.", resource=share) LOG.exception("Extend share failed.", resource=share)
try: try:
self.db.share_update( self.db.share_update(
context, share['id'], context, share['id'],
{'status': constants.STATUS_EXTENDING_ERROR} {'status': constants.STATUS_EXTENDING_ERROR}
) )
raise exception.ShareExtendingError( raise exception.ShareExtendingError(
reason=six.text_type(e), share_id=share_id) reason=six.text_type(e), share_id=share_id)
finally: finally:
QUOTAS.rollback( QUOTAS.rollback(
context, reservations, project_id=project_id, context, reservations, project_id=project_id,
 End of changes. 1 change blocks. 
1 lines changed or deleted 7 lines changed or added

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