manila/manila/db/migrations/alembic/versions
Douglas Viroel 6c47b193b0 Create share from snapshot in another pool or backend
This patch enables the creation of a share from snapshot
specifying another pool or backend. In the scheduler, a
new filter and weigher were implemented in order to consider
this operation if the backend supports it. Also, a new
field called 'progress' was added in the share and share
instance. The 'progress' field indicates the status
of the operation create share from snapshot (in percentage).
Finally, a new periodic task was added in order to constantly
check the share status.

Partially-implements: bp create-share-from-snapshot-in-another-pool-or-backend

DOCImpact
Change-Id: Iab13a0961eb4a387a502246e5d4b79bc9046e04b
Co-authored-by: carloss <ces.eduardo98@gmail.com>
Co-authored-by: dviroel <viroel@gmail.com>
2020-04-09 11:15:22 -03:00
..
1f0bd302c1a6_add_availability_zones_table.py Hacking: Fix E731 2020-04-01 14:11:10 +02:00
3a482171410f_add_drivers_private_data_table.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
03da71c0e321_convert_cgs_to_share_groups.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
3db9992c30f3_transform_statuses_to_lowercase.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
3e7d62517afa_add_create_share_from_snapshot_support.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
4a482571410f_add_backends_info_table.py Change ensure share to make startup faster 2017-12-15 08:48:42 +00:00
4ee2cf4be19a_remove_share_snapshots_export_location.py Remove copypasted export_location field from snapshots 2015-03-03 10:46:48 +00:00
6a3fd2984bc31_add_is_auto_deletable_and_identifier_fields_for_share_servers.py [pylint] Fix Manage-Unmanage with DHSS=True pylint issues 2019-03-05 21:09:51 -03:00
7d142971c4ef_add_reservation_expire_index.py Add quotas per share type 2017-07-19 17:29:04 +03:00
11ee96se625f3_add_metadata_for_access.py Support metadata for access rule resource 2018-07-20 23:31:48 +08:00
27cb96d991fa_add_description_for_share_type.py Add 'description' in share type APIs 2017-11-22 13:28:41 -05:00
30cb96d995fa_add_is_public_column_for_share.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
38e632621e5a_change_volume_type_to_share_type.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
48a7beae3117_move_share_type_id_to_instances.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
56cdbe267881_add_share_export_locations_table.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
59eb64046740_add_required_extra_spec.py Use parenthesis instead of backslashes in db folder 2017-06-15 19:42:07 +08:00
87ce15c59bbe_add_revert_to_snapshot_support.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
95e3cf760840_remove_nova_net_id_column_from_share_.py Remove NovaNetworkPlugin 2017-01-13 08:11:16 -05:00
097fad24d2fc_add_share_instances_share_id_index.py Add share instance index on share_id 2018-06-28 15:59:45 +02:00
162a3e673105_manila_init.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
221a83cfd85b_change_user_project_id_length.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
0274d20c560f_add_ou_to_security_service.py Add ou to security service 2018-04-24 15:04:40 -07:00
293fac1130ca_add_replication_attrs.py Share Replication API and Scheduler Support 2016-02-11 19:45:37 +00:00
344c1ac4747f_add_share_instance_access_rules_status.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
493eaffd79e1_add_mtu_network_allocations_share_networks.py Add MTU information in DB and API 2016-08-12 15:14:14 +02:00
579c267fbb4d_add_share_instances_access_map.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
829a09b0ddd4_fix_project_share_type_quotas_unique_constraint.py Fix 'project_share_type_quotas' DB table unique constraint 2017-10-14 23:22:10 +03:00
3651e16d7c43_add_consistency_groups.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
5077ffcc5f1c_add_share_instances.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
5155c7077f99_add_more_network_info_attributes_to_network_allocations_table.py Add admin network for DHSS=True share drivers 2016-02-16 20:57:03 +02:00
5237b6625330_add_availability_zone_id_field_to_share_groups.py [Share Groups] Add availability zone support 2017-06-06 10:13:00 +00:00
54667b9cade7_restore_share_instance_access_map_state.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
55761e5f59c5_add_snapshot_support_extra_spec_to_share_types.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
63809d875e32_add_access_key.py add access_key to share_access_map 2016-08-22 20:41:19 +05:30
211836bf835c_add_access_level.py Add access levels for shares 2015-01-29 10:56:15 +03:00
323840a08dc4_add_shares_task_state.py Add Share Migration feature 2015-09-06 22:52:41 -03:00
533646c7af38_remove_unused_attr_status.py Remove log translations in cmd,common,data,db and network 2/5 2017-03-30 10:09:18 +08:00
927920b37453_add_provider_location_for_share_group_snapshot_members_model.py Fix default approach for share group snapshot creation 2017-02-07 15:04:36 +00:00
17115072e1c3_add_nova_net_id_column_to_share_networks.py Add support of nova network for share-networks API and DB 2015-02-16 14:41:00 +02:00
238720805ce1_add_messages_table.py User Messages 2017-07-13 13:05:57 +02:00
805685098bd2_add_share_network_subnets_table_and_modify_share_servers_table.py Add share network with multiple subnets 2019-09-13 11:27:18 -03:00
a77e2ad5012d_add_share_snapshot_access.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
b10fb432c042_squash_share_group_snapshot_members_and_share_snapshot_instance_models.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
b516de97bfee_add_quota_per_share_type_model.py Add quotas per share type 2017-07-19 17:29:04 +03:00
d5db24264f5c_add_consistent_snapshot_support_attr_to_share_group_model.py Add 'consistent_snapshot_support' attr to 'share_groups' DB model 2017-02-07 17:14:42 +00:00
dda6de06349_add_export_locations_metadata.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
e6d88547b381_add_progress_field_to_share_instance.py Create share from snapshot in another pool or backend 2020-04-09 11:15:22 -03:00
e8ea58723178_remove_host_from_driver_private_data.py Fix db migration for mariadb >= 10.2.8 2018-02-14 10:57:14 +01:00
e9f79621d83f_add_cast_rules_to_readonly_to_share_instances.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
e1949a93157a_add_share_group_types_table.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
eb6d5544cbbd_add_provider_location_to_share_snapshot_instances.py Manage and unmanage snapshot 2016-02-18 04:09:05 -05:00
ef0c02b4366_add_share_type_projects.py [pylint] Fix/ignore pylint errors in non-test modules 2019-02-25 17:23:15 +00:00
fdfb668d19e1_add_gateway_to_network_allocations_table.py Add gateway in network_info and share network API 2016-06-30 12:08:12 -04:00