manila/manila/policies
Douglas Viroel 39efc2bde8 Add share server migration
This patch adds support for migration of share servers. This
migration is performed using a two-phase approach. Administrators
are now able to request the migration of a share server within and
across backends, with the possibility of chooosing a different share
network for the destination share server.

- A new field called `task_state` was added to the share server
  model in order to help the administrator to track the share server
  migration steps. A new field called `source_share_server_id` was
  added to link destination and source share servers.

- A new periodic task was added to track migration of share servers
  and its resources.

- Two new states were added: `server_migrating` and
  `server_migrating_to` to represent that share migration is in
  progress.

- When performing the server migration, manila will not go to the
  scheduler, instead it will provide a request spec to drivers
  during migration check driver call. It'll be up to the driver
  validate if there is free space to handle the share server.

- A new API called `share-server-migration-check' was added to
  check the feasibility of a migration, before actually triggering
  the start operation.

APIImpact
DocImpact
Partially Implements: bp share-server-migration

Co-Authored-By: Andre Beltrami <debeltrami@gmail.com>
Co-Authored-By: Carlos Eduardo <ces.eduardo98@gmail.com>
Co-Authored-By: Felipe Rodrigues <felipefuty01@gmail.com>

Change-Id: Ic0751027d2c3f1ef7ab0f7836baff3070a230cfd
Signed-off-by: Douglas Viroel <viroel@gmail.com>
2020-09-10 08:52:08 -03:00
..
__init__.py Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
availability_zone.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
base.py [policy in code] Add support for share type resource [2/10] 2017-12-11 01:07:39 +00:00
message.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
quota_class_set.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
quota_set.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
scheduler_stats.py [policy in code] Add support for AZ, scheduler and message resource [9/10] 2017-12-20 06:22:02 +00:00
security_service.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
service.py [policy in code] Add support for service and quota resource [5/10] 2017-12-14 01:37:19 +00:00
share_access.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
share_access_metadata.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
share_export_location.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
share_group.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_snapshot.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_type.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_group_types_spec.py [policy in code] Add support for group resource [6/10] 2017-12-19 11:59:59 +00:00
share_instance.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
share_instance_export_location.py [policy in code] Add support for share instance export location resource 2017-11-16 04:39:00 +00:00
share_network.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
share_network_subnet.py Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
share_replica.py [policy in code] Add support for replicas, networks and security services [7/10] 2017-12-19 12:22:18 +00:00
share_replica_export_location.py Separate APIs for share & replica export locations 2019-01-07 01:51:16 -08:00
share_server.py Add share server migration 2020-09-10 08:52:08 -03:00
share_snapshot.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_export_location.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_instance.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_snapshot_instance_export_location.py [policy in code] Add support for snapshot resource [4/10] 2017-12-13 06:56:11 +00:00
share_type.py Add update share-type API to Share Types 2019-09-10 14:43:07 -07:00
share_types_extra_spec.py [policy in code] Add support for share and type extra resource [8/10] 2017-12-20 01:34:28 +00:00
shares.py Add policy to create/update public shares 2019-02-18 12:56:12 -08:00