Add migration support in the cDOT driver.
Change-Id: I72e045b1c978b752f38cc3018cb2a7084e3f3e36
Implements: blueprint netapp-cdot-driver-optimized-migration
Nova network was deprecated in Newton and is no longer supported for
regular deployments in Ocata [1].
Complete the removal of nova network support from manila begun in [2]
by removing support for ''nova_net_id`` in the share networks API,
by removing the corresponding column from the share networks DB model,
and by removing the nova network plugins themselves. Unit tests for
share network api views were refactored to remove redundancy while
extending coverage to the new microversion introduced with this patch
and maintaining full coverage of earlier microversions.
APIImpact
DocImpact
UpgradeImpact
Partially-implements: bp remove-nova-net-plugin
[1] http://docs.openstack.org/releasenotes/nova/unreleased.html
[2] I846b760fa7c01f7f86768399a2bfad9ced7e57cd
Change-Id: I8b9a559fbea61979f01737ed1dc272276c4f1269
Commit [1] does not cover last comments.
Need to add negative test to test new API that should be
available only starting with 2.25 microversion.
And, combine some duplicated code in
manila_tempest_tests/tests/api/test_quotas.py.
[1] I499b099a3ba7704a2108cd15f80ff507e24b7cd0
Change-Id: I8963ad3092e3a78df94c19ea405d48178abef36e
This commit allows to skip manila tempest tests when manila is set to
false in tempest.CONF service_available. This would allow to disable
manila testing in an environment where all the plugins are installed
(i.e. a package-based installation).
Change-Id: I75dd2fd86df7500ad0bc4f633ed39f7595e9dc8c
Change [1] removed the ``service_instance_network_helper_type``
option as part of the removal of nova network helper support
for the service instance module.
Put the option back in but deprecate it so that operators with
this configuration can see that it is no longer used.
TrivialFix
[1] I846b760fa7c01f7f86768399a2bfad9ced7e57cd
Change-Id: I14768a237b9d7ebc5aa55733bc6bc0531ec3fbb4
It is redundant with non-manila specific OpenStack documentation
except in that it is so out-of-date as to be quite misleading.
Almost all the links in the doc are obsolete.
Change-Id: I23aa9b307d9bd43f828e2b4b9361511dded2449f
Our current tox configuration provides no support for python 3.5
even though it is the version that ships with current ubuntu
(xenial) and Fedora (25) systems, and even though in gate the
python3 jobs run on xenial with python 3.5.
Add py35 env to tox.ini alongside py34, py27, and pep8.
TrivialFix
Change-Id: Ib32069f9185c5233c8f96164781ec66c56db33bd
- Never initialize the log by passing it in to `load_plugin`. Unity and VNX
driver plugins initialize it in their implementation.
- Move plugins specific options from framework to Unity and VNX plugins.
- Rename driver options for Unity/VNX, the old ones are deprecated:
emc_nas_pool_names -> unity_share_data_pools/vnx_share_data_pools,
emc_nas_server_pool -> unity_server_meta_pool,
emc_interface_ports -> unity_ethernet_ports/vnx_ethernet_ports,
emc_nas_server_container -> unity_server_container/vnx_server_container.
DocImpact
Closes-Bug: 1652710
Change-Id: I8f1404de8dea9eeb09f1e5f6fc2538cefb0d63d9
Fix misspelling in 'ShareNetwoksFieldLengthChecks' class name.
Indent CreateFromSnapshotExtraSpecAndShareColumn so that it
is a standalone class rather than a subclass of
MoveShareTypeIdToInstancesCheck.
TrivialFix
Change-Id: I169bb22c1dc3078e187b94f9f8df69e9615daec5
Nova network was deprecated in Newton and is no longer supported for
regular deployments in Ocata [1].
As a first step towards removal and cleanup of nova network plugin
from manila, remove support for it from the service instance module.
[1] http://docs.openstack.org/releasenotes/nova/unreleased.html
Partially-implements: bp remove-nova-net-plugin
Change-Id: I846b760fa7c01f7f86768399a2bfad9ced7e57cd
This patch makes share instance export locations API documentation
more readable and maintainable.
Change-Id: I4b4771bbe9f2689162c84f085cae159f364ecb20
Add update_access() implementation to replace the deprecated
allow_access() and deny_access().
Change-Id: I206f1284bddc02452087e24061619ca3c04395a4
Implements: blueprint gpfs-update-access
Set create_share_from_snapshot_support as True in order to
be able to create share from snapshot.
This fixes all Dell EMC drivers issue like below:
Share cannot be created from snapshot
Change-Id: If43d9b15b21a2ae74c6872726e9e537501697405
Closes-Bug: #1652911
Fix the status of the share instances cannot be reset to "migrating"
and "migrating_to" in server
APIImpact
Add two status "migrating" and "migrating_to" in share status.
Change-Id: Ia23c13f62997d99495d9ecca066475565d9bfc87
Closes-Bug: #1650774
Added support for manage/unmanage in GPFS NFS driver.
This patch added functions that allow share on Spectrum Scale
node to be managed by OpenStack if existing fileset is an
independent fileset and doesn't have any NFS export
over the fileset path. Also, share can be unmanaged from
OpenStack but still left in Spectrum Scale cluster.
Implements: blueprint gpfs-manage-support
Change-Id: I9134408b59c30ac4bc593f287294741f6e996136
Now the quota-set API only returned single attribute
'limit', this change intends to add a new API
'quota-sets/{project_id}/detail' to retrieve more info
with attributes 'in_use', 'limit', 'reserved'.
APIImpact
Implements: blueprint admin-check-tenant-quota-usage
Depends-On: Ie0eb7d32b7b032ffdb7f7dd47f68841211e7d7a6
Change-Id: I499b099a3ba7704a2108cd15f80ff507e24b7cd0
* Migration is not a multi-backend only feature.
* Snapshot tests, Shrink tests and Quota test flags
should have appropriate devstack variables.
Closes-Bug: 1652150
Change-Id: I7a83981045c03bcc605ec0119a4b425fb5f9e987
Creation of security group using openstack client is broken. So,
use nova client for it temporary while 'related' bug is not fixed.
Change-Id: I51b5be5157bd49d5835b30eaa8b6b0e7185cabdf
Related-Bug: #1652317
Use looser error code checking and add a verify
after deny access so that the call will succeed
whenever it can be confirmed that the access no
longer exists.
This fixes a variety of situations where previously
a return code of 1 while attempting to remove access
would cause the manila access rule to get stuck while
the actual client access export was removed or never
existed.
Change-Id: Ie058a6185e3f5d91fb1cf232301eb0ac6ddcea7e
Closes-Bug: #1651587