Manage and unmanage snapshot
Add APIs to support manage and unmanage share snapshots.
Also add support in the Generic driver.
This only supports for DHSS=False driver mode.
Add provider_location column to the share_snapshots table
to save data used to identify the snapshot on the backend.
Also need to bump microversion.
APIImpact
DocImpact
Change-Id: I87a066173c85d969607d132accd9f0e9bd49c235
Implements: blueprint manage-unmanage-snapshot
diff --git a/manila_tempest_tests/config.py b/manila_tempest_tests/config.py
index 8183d1c..3f8c08a 100644
--- a/manila_tempest_tests/config.py
+++ b/manila_tempest_tests/config.py
@@ -36,7 +36,7 @@
help="The minimum api microversion is configured to be the "
"value of the minimum microversion supported by Manila."),
cfg.StrOpt("max_api_microversion",
- default="2.11",
+ default="2.12",
help="The maximum api microversion is configured to be the "
"value of the latest microversion supported by Manila."),
cfg.StrOpt("region",
@@ -128,11 +128,6 @@
help="Whether to suppress errors with clean up operation "
"or not. There are cases when we may want to skip "
"such errors and catch only test errors."),
- cfg.BoolOpt("run_manage_unmanage_tests",
- default=False,
- help="Defines whether to run manage/unmanage tests or not. "
- "These test may leave orphaned resources, so be careful "
- "enabling this opt."),
# Switching ON/OFF test suites filtered by features
cfg.BoolOpt("run_quota_tests",
@@ -161,6 +156,16 @@
cfg.BoolOpt("run_migration_tests",
default=False,
help="Enable or disable migration tests."),
+ cfg.BoolOpt("run_manage_unmanage_tests",
+ default=False,
+ help="Defines whether to run manage/unmanage tests or not. "
+ "These test may leave orphaned resources, so be careful "
+ "enabling this opt."),
+ cfg.BoolOpt("run_manage_unmanage_snapshot_tests",
+ default=False,
+ help="Defines whether to run manage/unmanage snapshot tests "
+ "or not. These tests may leave orphaned resources, so be "
+ "careful enabling this opt."),
cfg.StrOpt("image_with_share_tools",
default="manila-service-image",