3375 Commits

Author SHA1 Message Date
Goutham Pacha Ravi
20e89b9691 NetApp cDOT: Add Intra-Vserver migration support
Add migration support in the cDOT driver.

Change-Id: I72e045b1c978b752f38cc3018cb2a7084e3f3e36
Implements: blueprint netapp-cdot-driver-optimized-migration
2017-01-21 13:06:30 -05:00
Jenkins
e8caebb457 Merge "Fix column name error in migration script" 2017-01-16 18:06:17 +00:00
zhongjun2
1c3e93ca08 Fix column name error in migration script
Change column 'snapshot_instance_id' to 'share_instance_id',
also add migration checks for '5077ffcc5f1c_add_share_
instances' script.

Closes-Bug: #1655216

Change-Id: Idfa9a12e101e64a6aaabb2e96b965a4609df4745
2017-01-16 18:44:04 +08:00
Goutham Pacha Ravi
ba747463a7 Fix error message in Share Networks API
Remove back-ticks in the user facing string.
Add translation marker.
Capitalize release name.

TrivialFix

Change-Id: Ifdeb66ce95bf98d3378ac95c8e0bc25140166885
2017-01-15 19:29:35 +00:00
Jenkins
a3237dd817 Merge "Remove NovaNetworkPlugin" 2017-01-15 19:03:08 +00:00
Jenkins
26e567701a Merge "[TrivialFix] Add negative test in quota detail" 2017-01-13 14:49:27 +00:00
Tom Barron
b213a25c44 Remove NovaNetworkPlugin
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
2017-01-13 08:11:16 -05:00
Jenkins
2455c2ef60 Merge "Allow skipping manila tempest tests." 2017-01-13 12:37:58 +00:00
zhongjun2
e7af46c979 [TrivialFix] Add negative test in quota detail
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
2017-01-13 11:41:06 +08:00
Daniel Mellado
5dc5ecf392 Allow skipping manila tempest tests.
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
2017-01-12 13:59:18 +00:00
Tom Barron
75e685d40d Properly deprecate service_instance_network_helper_type
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
2017-01-10 18:09:57 +00:00
Jenkins
966b1621d3 Merge "Unity/VNX Driver: Rename driver options" 2017-01-10 10:35:37 +00:00
Jenkins
ba798707d9 Merge "Report create_share_from_snapshot_support" 2017-01-09 11:15:41 +00:00
Jenkins
600f9d5f8e Merge "Add the ability to check the tenant quota in detail" 2017-01-07 06:35:45 +00:00
Jenkins
36c5e35f2a Merge "remove devref jenkins doc" 2017-01-06 17:32:22 +00:00
Jenkins
d50abc43e2 Merge "Support python 3.5 in tox" 2017-01-06 11:02:27 +00:00
Jenkins
c8df031ea4 Merge "Fix test variable injection in CI" 2017-01-06 02:28:21 +00:00
Tom Barron
ed82d4da79 remove devref jenkins doc
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
2017-01-05 19:02:13 -05:00
Tom Barron
d08713c1a3 Support python 3.5 in tox
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
2017-01-05 18:29:24 -05:00
Jenkins
860bf20430 Merge "[api-ref] Refactor share instance export locations API documentation" 2017-01-05 22:47:02 +00:00
Jenkins
7bbfcbaedf Merge "NetApp: set proper broadcast domain for IPspace" 2017-01-05 22:08:48 +00:00
Jenkins
d1ef0f2ce7 Merge "Trivial fix LOG.exception issues" 2017-01-05 17:07:57 +00:00
Jenkins
3b540f0807 Merge "Migration Data Check fixes" 2017-01-05 06:13:54 +00:00
Ryan Liang
01391527ed Unity/VNX Driver: Rename driver options
- 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
2017-01-05 10:42:29 +08:00
Jenkins
5365a26e44 Merge "NetApp cDOT controller utilization metrics" 2017-01-04 22:33:53 +00:00
Tom Barron
be21713715 Migration Data Check fixes
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
2017-01-04 12:53:24 -05:00
Jenkins
bf5f184e2d Merge "Remove trailing backtick" 2017-01-04 16:22:11 +00:00
Jenkins
23809ce15a Merge "Updated from global requirements" 2017-01-04 13:32:09 +00:00
Cao Xuan Hoang
a4c2cad1d4 Remove trailing backtick
This patch is removing a trailing backtick (`) from the
api-ref/source/services.inc document.

Change-Id: Ibb02536e02703e2463e0475c5c13e431e1ec048f
2017-01-04 13:40:52 +07:00
OpenStack Proposal Bot
dd7717e6a8 Updated from global requirements
Change-Id: If10e1d00ef6d8f2f43db79872dc2606a88115a02
2017-01-03 20:23:10 +00:00
Tom Barron
0f33dcf62b Remove nova net support from service_instance
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
2017-01-03 13:35:58 -05:00
Ha Van Tu
4fc3524bf8 [api-ref] Refactor share instance export locations API documentation
This patch makes share instance export locations API documentation
more readable and maintainable.

Change-Id: I4b4771bbe9f2689162c84f085cae159f364ecb20
2017-01-03 09:11:39 +07:00
Mark Sturdevant
cbda16bc57 GPFS: Add update_access()
Add update_access() implementation to replace the deprecated
allow_access() and deny_access().

Change-Id: I206f1284bddc02452087e24061619ca3c04395a4
Implements: blueprint gpfs-update-access
2016-12-30 13:16:07 -08:00
Jenkins
ba8e8d1ada Merge "Allow share status reset to migration status" 2016-12-29 23:14:04 +00:00
Jenkins
3fa64b76ab Merge "Add support for manage/unmanage in GPFS driver" 2016-12-29 20:17:52 +00:00
Jenkins
122446d63b Merge "[api-ref] Refactor share actions API documentation" 2016-12-29 17:47:25 +00:00
Peter Wang
c341e52b5e Report create_share_from_snapshot_support
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
2016-12-29 01:03:48 +08:00
yanjun.fu
6965a73ab2 Allow share status reset to migration status
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
2016-12-28 20:26:00 +08:00
digvijay2016
fb4b0b86e9 Add support for manage/unmanage in GPFS driver
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
2016-12-28 15:06:42 +05:30
Ha Van Tu
46584eeec9 [api-ref] Refactor share actions API documentation
This patch makes share actions API documentation be more readable
and maintainable.

Change-Id: I388bdc4d9f22eda50fbede1106afebba6ceb355f
2016-12-28 14:24:16 +07:00
Ha Van Tu
a42c08e797 [api-ref] Refactor share export location API documentation
This patch make share export location documentation be readable
and maintainable.

Change-Id: I9a43ef525b8c16941df99fe54c0d5483dcb2ed4b
2016-12-28 12:18:24 +07:00
zhongjun
7275aafc9e Add the ability to check the tenant quota in detail
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
2016-12-28 10:32:24 +08:00
Goutham Pacha Ravi
733fcfe0fb Fix test variable injection in CI
* 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
2016-12-27 16:39:27 -08:00
Jenkins
f427dfe00b Merge "GPFS KNFS: Fix deny access to succeed when possible" 2016-12-27 22:41:15 +00:00
Jenkins
685cb1da81 Merge "[Dell EMC Unity] Support create share smaller than 3 GB" 2016-12-23 19:55:41 +00:00
Jenkins
7d024ecb2c Merge "Updated from global requirements" 2016-12-23 19:55:34 +00:00
Jenkins
72fc6f41d0 Merge "Add create_share_from_snapshot_support extra spec" 2016-12-23 19:25:06 +00:00
vponomaryov
10b14bb50e [Devstack] Workaround osclient breakage
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
2016-12-23 17:33:20 +02:00
OpenStack Proposal Bot
78844fd038 Updated from global requirements
Change-Id: I67c5dfed6a869d77ab4c9857a66953128b0529e9
2016-12-23 03:12:51 +00:00
Mark Sturdevant
9157b8afb2 GPFS KNFS: Fix deny access to succeed when possible
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
2016-12-23 01:17:20 +00:00