39efc2bde8
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> |
||
---|---|---|
.. | ||
api | ||
cmd | ||
common | ||
compute | ||
data | ||
db | ||
hacking | ||
image | ||
integrated | ||
message | ||
monkey_patch_example | ||
network | ||
scheduler | ||
share | ||
share_group | ||
var | ||
volume | ||
wsgi | ||
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_coordination.py | ||
test_exception.py | ||
test_hacking.py | ||
test_manager.py | ||
test_misc.py | ||
test_network.py | ||
test_policy.py | ||
test_quota.py | ||
test_rpc.py | ||
test_service.py | ||
test_test_utils.py | ||
test_test.py | ||
test_utils.py | ||
utils.py |