9639e72692
At Austin 2016 summit there were several improvements to Share migration feature discussed. This patch implements these changes. Changes are: - Added 'Writable' API parameter: user chooses whether share must remain writable during migration. - Added 'Preserve Metadata' API parameter: user chooses whether share must preserve all file metadata on migration. - Added 'Non-disruptive' API parameter: user chooses whether migration of share must be performed non-disruptively. - Removed existing 'Notify', thus removing 1-phase migration possibility. - Renamed existing 'Force Host Copy' parameter to 'Force Host-assisted Migration'. - Renamed all 'migration_info' and 'migration_get_info' entries to 'connection_info' and 'connection_get_info'. - Updated driver interfaces with the new API parameters, drivers must respect them. - Changed share/api => scheduler RPCAPI back to asynchronous. - Added optional SHA-256 validation to perform additional check if bytes were corrupted during copying. - Added mount options configuration to Data Service so CIFS shares can be mounted. - Driver may override _get_access_mapping if supports a different access_type/protocol combination than what is defined by default. - Added CIFS share protocol support and 'user' access type support to Data Service. - Reset Task State API now allows task_state to be unset using 'None' value. - Added possibility to change share-network when migrating a share. - Bumped microversion to 2.22. - Removed support of all previous versions of Share Migration APIs. APIImpact DocImpact Implements: blueprint newton-migration-improvements Change-Id: Ief49a46c86ed3c22d3b31021aff86a9ce0ecbe3b |
||
---|---|---|
.. | ||
api | ||
cmd | ||
common | ||
compute | ||
consistency_group | ||
data | ||
db | ||
integrated | ||
monkey_patch_example | ||
network | ||
scheduler | ||
share | ||
var | ||
volume | ||
xenapi | ||
__init__.py | ||
conf_fixture.py | ||
db_utils.py | ||
declare_conf.py | ||
fake_client_exception_class.py | ||
fake_compute.py | ||
fake_driver.py | ||
fake_network.py | ||
fake_notifier.py | ||
fake_service_instance.py | ||
fake_share.py | ||
fake_utils.py | ||
fake_volume.py | ||
fake_zfssa.py | ||
policy.json | ||
runtime_conf.py | ||
test_api.py | ||
test_conf.py | ||
test_context.py | ||
test_exception.py | ||
test_hacking.py | ||
test_manager.py | ||
test_misc.py | ||
test_network.py | ||
test_policy.py | ||
test_quota.py | ||
test_service.py | ||
test_test_utils.py | ||
test_test.py | ||
test_utils.py | ||
test_wsgi.py | ||
utils.py |