"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/backup/manager.py" between
cinder-15.5.0.tar.gz and cinder-15.6.0.tar.gz

About: OpenStack Cinder (Core Service: Block Storage) provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.
The "Train" series (maintained release).

manager.py  (cinder-15.5.0):manager.py  (cinder-15.6.0)
skipping to change at line 1076 skipping to change at line 1076
ignore_errors=False): ignore_errors=False):
"""Disconnect the volume or snapshot from the host. """ """Disconnect the volume or snapshot from the host. """
connector = attach_info['connector'] connector = attach_info['connector']
connector.disconnect_volume(attach_info['conn']['data'], connector.disconnect_volume(attach_info['conn']['data'],
attach_info['device'], attach_info['device'],
force=force, ignore_errors=ignore_errors) force=force, ignore_errors=ignore_errors)
rpcapi = self.volume_rpcapi rpcapi = self.volume_rpcapi
if not is_snapshot: if not is_snapshot:
rpcapi.terminate_connection(ctxt, device, properties, rpcapi.terminate_connection(ctxt, device, properties,
force=force) force=force)
rpcapi.remove_export(ctxt, device) rpcapi.remove_export(ctxt, device, sync=True)
else: else:
rpcapi.terminate_connection_snapshot(ctxt, device, rpcapi.terminate_connection_snapshot(ctxt, device,
properties, force=force) properties, force=force)
rpcapi.remove_export_snapshot(ctxt, device) rpcapi.remove_export_snapshot(ctxt, device)
def is_working(self): def is_working(self):
return self.is_initialized return self.is_initialized
@periodic_task.periodic_task( @periodic_task.periodic_task(
spacing=CONF.backup_driver_status_check_interval) spacing=CONF.backup_driver_status_check_interval)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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