3352 Commits

Author SHA1 Message Date
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
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
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
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
Mark Sturdevant
b76a2af237 GPFS KNFS: Do not reuse ssh prefix in loop
Fix GPFS KNFS allow/deny access so that it does not reuse
the ssh prefix when looping through NFS server commands for
allow and deny access.

This fixes GPFS KNFS allow/deny access incorrect behavior
when multiple NFS servers are configured (gpfs_nfs_server_list)
and any of the servers are remote (except the last one).

Change-Id: I8c182eed386e8325b087c3192d363502bb848633
Closes-Bug: #1651578
2016-12-21 15:33:48 -08:00
Clinton Knight
0d6db3588c Add create_share_from_snapshot_support extra spec
The snapshot_support extra spec has always meant two
things: a driver can take snapshots and create shares
from snapshots. As we add alternate snapshot semantics,
it is likely that some drivers will want to support
snapshots and some of the new semantics while being
unable to create new shares from snapshots.

This work adds a new extra spec,
create_share_from_snapshot_support, that removes the
overloading on snapshot_support. It also makes the
existing snapshot_support extra spec optional,
allowing admins to create types without setting
snapshot_support; shares created with such types
will not support snapshots.

APIImpact
DocImpact

Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com>
Implements: blueprint add-create-share-from-snapshot-extra-spec
Change-Id: Ib0ad5fbfdf6297665c208149b08c8d21b3c232be
2016-12-21 09:57:08 -05:00
zhongjun2
f775c81c89 Trivial fix LOG.exception issues
Remove redundant 'error' parameter in LOG.exception,
and replace some LOG.error with LOG.exception.

Change-Id: I46c14014c9dc38da9ea3b8ae98c9bd2aafe478d7
2016-12-21 20:49:51 +08:00
vponomaryov
3ede2d1c48 [Grenade] Do not run tempest tests
Since tempest is not used in manila grenade logic skip run of its
tests.

Change-Id: I6c45448ec286fe6c365b4e9edcce56501e5c87bd
Closes-Bug: #1650482
2016-12-21 11:16:22 +02:00
Jenkins
f9705f8509 Merge "use six.StringIO for compatibility with io.StringIO in python3" 2016-12-20 14:50:03 +00:00
Jenkins
faaab6851c Merge "Fix typo in rootwrap.conf" 2016-12-20 13:49:00 +00:00
Jenkins
ababa6eb08 Merge "[TrivialFix] Move share type filter tempest to test_scheduler_stats.py" 2016-12-20 11:01:24 +00:00
Jenkins
9e147e0a23 Merge "GPFS CES: Fix bugs related to access rules not found" 2016-12-20 11:00:36 +00:00
Ha Van Tu
dfd92fc390 Fix typo in rootwrap.conf
This patch replaces a typo "explicitely" by "explicitly".
TrivialFix

Change-Id: I81b5c41ea015609dfbcb6d6adcb79ad1e005191a
2016-12-20 10:06:44 +00:00
gengchc2
40e073a8a1 use six.StringIO for compatibility with io.StringIO in python3
The newer version of six (1.4.1) provides six.StringIO
which is a fake file object for textual data. It's an
alias for cStringIO.StringIO, in python2 and io.StringIO
in Python3

Change-Id: I5f4af05eb0754d85a73068d5f6b285d4be07cdfc
2016-12-20 11:43:19 +08:00
Jenkins
533d19df4a Merge "Trivial fix translate issues" 2016-12-19 23:30:40 +00:00
Jenkins
c884f16b62 Merge "Updated from global requirements" 2016-12-19 17:09:45 +00:00
Jenkins
d0a775a9a7 Merge "Enable scenario tests for LVM and ZFSonLinux drivers" 2016-12-19 16:22:37 +00:00
Jenkins
aa1c468139 Merge "Add Apache 2.0 license to source file" 2016-12-19 14:47:52 +00:00
Jenkins
2ea3c0c1f3 Merge "[Tempest] Add scenario test creating share from snapshot" 2016-12-19 14:28:49 +00:00
zhongjun2
a9cf8adfbf Trivial fix translate issues
Fix some translate issues according to oslo.i18n guideline [1].

[1] http://docs.openstack.org/developer/oslo.i18n/guidelines.html

Change-Id: I93da3f1f834fb193bd2253208f689cc112baddd1
2016-12-19 22:04:40 +08:00
Tom Barron
fa32c3787e NetApp: set proper broadcast domain for IPspace
When DHSS=True, the cDOT driver creates vservers to act as
manila share servers and sets up LIFs within the vservers
as export locations using physical ports.  The LIFs in the
NetApp cluster may use overlapping addresses provided that
they are put in separate IPspaces and the physical ports
underneath them are put in corresponding broadcast domains.

Fix the cDOT driver to maintain a proper 1-1 relation between
IPSpaces and broadcast domains as documented here [1].

[1] https://library.netapp.com/ecmdocs/ECMP1636021/html/GUID-CB9BD2E2-D085-446E-8EB2-6BF609E42ABA.html

Change-Id: I32968e82cc679bb7efe492f3ca980e16e5e29c83
Closes-bug: #1646603
2016-12-19 07:06:53 -05:00
jeckxie
687b6aa535 Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]:
[H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: Ib3cb284f5232b4641058d262160d4204566e1904
2016-12-19 19:45:43 +08:00
Tina Tang
bf9adef776 [Dell EMC Unity] Support create share smaller than 3 GB
The minimum file system on Unity is 3 GB. This patch changes
driver to create 3 GB underlying file system for shares
smaller than 3 GB.

DocImpact
Change-Id: Ida6ad9ad7e752c25b53390f0fee327c594e03f9f
Closes-Bug: 1648316
2016-12-19 09:39:28 +00:00
OpenStack Proposal Bot
a40c3a0597 Updated from global requirements
Change-Id: I27bb842debc9d4fb777ec1041bc87dba2b126827
2016-12-19 09:00:36 +00:00
zhongjun2
d85df8ab6c [TrivialFix] Move share type filter tempest to test_scheduler_stats.py
Commit [1] does not cover last comments.

Tempest tests should have been in
"manila_tempest_tests/tests/api/admin/test_scheduler_stats.py".

Also, fix the validation if API returns empty list and the py3
compatibility issue.

[1] Ifd64bb84d03a02aa0a118cc42e1d1b373c439884

Change-Id: I62a7bf7fcffcab990b19812cd677a0d51088ae0e
2016-12-19 11:03:35 +08:00
Tom Barron
ad2ce70233 [devref] copy samples/local.conf correctly
Fix the command cited in the devref devstack doc to copy
samples/local.conf up one directory for use as basis for
a local.conf with manila plugin added.

TrivialFix

Change-Id: Iab4d35d41444a05757a3f2a5552e7b4939007327
2016-12-18 14:57:00 -05:00
Jenkins
cc19d7b4a7 Merge "Add DriverFilter and GoodnessWeigher documentation" 2016-12-16 20:00:06 +00:00