manila/devstack
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
..
files Allow devstack plugin to work without Cinder 2016-03-04 15:33:34 -05:00
upgrade Zuulv3 native grenade job 2020-07-28 01:07:00 +00:00
README.rst Fix URLs in code and documentation 2020-03-18 18:59:27 -07:00
apache-manila.template Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
plugin.sh Add share server migration 2020-09-10 08:52:08 -03:00
settings Add plugin name to devstack/settings 2020-07-16 15:43:04 -07:00

README.rst

Enabling in Devstack

We can enable the manila service in DevStack. For details, please refer to development-environment-devstack, the following steps can be used as a quickstart reference:

  1. Download DevStack

  2. Add this repo as an external repository:

    > cat local.conf
    [[local|localrc]]
    # Enable manila
    enable_plugin manila https://opendev.org/openstack/manila
    
    # Enable manila ui in the dashboard
    enable_plugin manila-ui https://opendev.org/openstack/manila-ui
  3. run stack.sh