manila/manila
Rodrigo Barbieri 9639e72692 Share migration Newton improvements
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
2016-08-31 12:38:14 -03:00
..
api Share migration Newton improvements 2016-08-31 12:38:14 -03:00
cmd Detect addition of executable files 2016-04-08 14:28:42 +00:00
common Share migration Newton improvements 2016-08-31 12:38:14 -03:00
compute Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Share migration Newton improvements 2016-08-31 12:38:14 -03:00
db Share migration Newton improvements 2016-08-31 12:38:14 -03:00
hacking Do not supply logging arguments as tuple. 2016-06-09 17:22:36 -04:00
network Merge "Add neutron driver for binding" 2016-08-27 00:07:10 +00:00
scheduler Share migration Newton improvements 2016-08-31 12:38:14 -03:00
share Share migration Newton improvements 2016-08-31 12:38:14 -03:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Share migration Newton improvements 2016-08-31 12:38:14 -03:00
volume Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Fix context warning spam of scheduler and share logs 2016-05-17 05:35:09 -04:00
exception.py Fix Share Migration improper behavior for drivers 2016-08-30 08:30:21 -03:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Merge "Add neutron driver for binding" 2016-08-27 00:07:10 +00:00
policy.py Fix docstring for policy.enforce method 2016-05-02 08:28:13 -04:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Trivial Fix: fix missing import 2016-01-21 19:36:47 +08:00
test.py Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
utils.py Use is_valid_ipv4 and is_valid_ipv6 from oslo.utils 2016-06-10 22:53:25 +08:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Merge "Set TCP keepalive options" 2016-03-11 18:43:44 +00:00