NetApp: move split job to end
Volumes may be busy during split operation, so other actions would fail, e.g. applying snapdir visibility, setting volume size .. Closes-Bug: #2007970 Change-Id: I3e36f77f4e46c90af8445601e10eadf9c55ed5f6
This commit is contained in:
parent
cf86b23896
commit
dd13d5ae39
@ -1564,8 +1564,6 @@ class NetAppCmodeFileStorageLibrary(object):
|
||||
share, vserver, vserver_client=vserver_client)
|
||||
|
||||
hide_snapdir = provisioning_options.pop('hide_snapdir')
|
||||
if split is not None:
|
||||
provisioning_options['split'] = split
|
||||
|
||||
LOG.debug('Creating share from snapshot %s', snapshot['id'])
|
||||
vserver_client.create_volume_clone(
|
||||
@ -1588,6 +1586,10 @@ class NetAppCmodeFileStorageLibrary(object):
|
||||
self._create_fpolicy_for_share(share, vserver, vserver_client,
|
||||
**provisioning_options)
|
||||
|
||||
# split at the end: not be blocked by a busy volume
|
||||
if split is not None:
|
||||
vserver_client.split_volume_clone(share_name)
|
||||
|
||||
@na_utils.trace
|
||||
def _share_exists(self, share_name, vserver_client):
|
||||
return vserver_client.volume_exists(share_name)
|
||||
|
Loading…
Reference in New Issue
Block a user