"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/volume/drivers/pure.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).

pure.py  (cinder-15.5.0):pure.py  (cinder-15.6.0)
skipping to change at line 887 skipping to change at line 887
tmp_pgsnap_name = '%(pgroup_name)s.%(pgsnap_suffix)s' % { tmp_pgsnap_name = '%(pgroup_name)s.%(pgsnap_suffix)s' % {
'pgroup_name': pgroup_name, 'pgroup_name': pgroup_name,
'pgsnap_suffix': tmp_suffix, 'pgsnap_suffix': tmp_suffix,
} }
LOG.debug('Creating temporary Protection Group snapshot %(snap_name)s ' LOG.debug('Creating temporary Protection Group snapshot %(snap_name)s '
'while cloning Consistency Group %(source_group)s.', 'while cloning Consistency Group %(source_group)s.',
{'snap_name': tmp_pgsnap_name, {'snap_name': tmp_pgsnap_name,
'source_group': source_group.id}) 'source_group': source_group.id})
current_array = self._get_current_array() current_array = self._get_current_array()
current_array.create_pgroup_snapshot(pgroup_name, suffix=tmp_suffix) current_array.create_pgroup_snapshot(pgroup_name, suffix=tmp_suffix)
volumes, _ = self.update_provider_info(volumes, None)
try: try:
for source_vol, cloned_vol in zip(source_vols, volumes): for source_vol, cloned_vol in zip(source_vols, volumes):
source_snap_name = self._get_pgroup_vol_snap_name( source_snap_name = self._get_pgroup_vol_snap_name(
pgroup_name, pgroup_name,
tmp_suffix, tmp_suffix,
self._get_vol_name(source_vol) self._get_vol_name(source_vol)
) )
cloned_vol_name = self._get_vol_name(cloned_vol) cloned_vol_name = self._get_vol_name(cloned_vol)
current_array.copy_volume(source_snap_name, cloned_vol_name) current_array.copy_volume(source_snap_name, cloned_vol_name)
self._add_volume_to_consistency_group( self._add_volume_to_consistency_group(
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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